Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings,
I was able to successfully build a java Web app in Eclipse that calls Talend jobs.
Here is the long thread with solution:
Because of our java development standards and need for user form validation, error checking, etc, I built a Web app using Spring Maven MVC framework. The use case and requirements are the same as the previous Web app (build a Web app for users to call a Master Talend job that calls 4 child jobs on an adhoc basis). Everything worked - validation/error checking of user input from the form page, embedded Tomcat server, etc.
I then loaded all the required Talend jars into the webapp\WEB-INF\lib folder (exactly like I did with the previous Web app).
I ran ran a successful Maven clean install. But running the embedded Tomcat (version 7.2.2) produced this error:
[ERROR] COMPILATION ERROR :
C:\Documents\TalendAdHoc\src\main\java\com\validator\UserValidator.java:[13] error: package talenddev1.job_gl_master_ad_hoc_0_3 does not exist
[ERROR] C:\Documents\TalendAdHoc\src\main\java\com\validator\UserValidator.java:[141,7] error: cannot find symbol.
Googling the issue did not help. I then then experimented and loaded the jars into other folders, but still got the same error.
I realize this issue may not be related to Talend, but has anyone built a Web app using Maven/Spring and encountered this type of error? I'm not sure if it is related to Maven/Spring or not. I do know I was successful building the Web app outside of Maven/Spring.
Is it necessary to include Talend ESB as a possible solution?
Thanks
Hi @elkhounds,
Sorry about the delay in getting back to you, I was out of the office last week. The first thing that comes to mind here is, are you using a maven repository to store your artefacts (jobs)? If not, that is likely the reason for this problem. If this is to follow your company's development standards, I imagine that they have an artefact repository for artefacts that they build themselves.
This is almost certainly not an issue with Talend, so I would recommend speaking with one of your colleagues who is maybe a little bit more familiar with the process that is required. I imagine they will be able to see what is missing if they can actually have a look at what you have and what you are trying to do
Regards
Richard