Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Sudhee_Maximus
Creator
Creator

TalendJavaSourceViewer318.java:[31] [ERROR] if( [ERROR] ^ [ERROR] Syntax error on token "(",

Hi There,

 

Having below error on Talend while running the job (if I check code tab there is nothing) , this job was perfectly fine till yesterday and I am not sure why this error cropped up ... 

could someone help me in this  ?

 

 

[ERROR] C:\Talend-Studio-20190620_1446-V7.2.1\Talend-Studio-20190620_1446-V7.2.1\workspace\Maximus_EB\.repositories\388634009\branches\develop\ENROLLMENTBROKER\poms\jobs\process\providerjob\laodproviderfiletodb_0.1\src\main\java\internal\TalendJavaSourceViewer319.java:[31]
[ERROR] C:\Talend-Studio-20190620_1446-V7.2.1\Talend-Studio-20190620_1446-V7.2.1\workspace\Maximus_EB\.repositories\388634009\branches\develop\ENROLLMENTBROKER\poms\jobs\process\providerjob\laodproviderfiletodb_0.1\src\main\java\internal\TalendJavaSourceViewer318.java:[31]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project laodProviderFileToDB: Compilation failure: Compilation failure:
[ERROR] C:\Talend-Studio-20190620_1446-V7.2.1\Talend-Studio-20190620_1446-V7.2.1\workspace\Maximus_EB\.repositories\388634009\branches\develop\ENROLLMENTBROKER\poms\jobs\process\providerjob\laodproviderfiletodb_0.1\src\main\java\internal\TalendJavaSourceViewer319.java:[31]
[ERROR] if(
[ERROR] ^
[ERROR] Syntax error on token "(", Expression expected after this token
[ERROR] C:\Talend-Studio-20190620_1446-V7.2.1\Talend-Studio-20190620_1446-V7.2.1\workspace\Maximus_EB\.repositories\388634009\branches\develop\ENROLLMENTBROKER\poms\jobs\process\providerjob\laodproviderfiletodb_0.1\src\main\java\internal\TalendJavaSourceViewer318.java:[31]
[ERROR] if(
[ERROR] ^
[ERROR] Syntax error on token "(", Expression expected after this token
[ERROR] 2 problems (2 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Labels (2)
3 Replies
Anonymous
Not applicable

Hello,

Could you please give us a bit more information about your job? Are you trying to use Apache Maven commands to build your job?

In case of job generation failure, you can see detailed logs and java stack trace here.

<TalendInstallationPath>\workspace\.metadata\.log

Best regards

Sabrina

Sudhee_Maximus
Creator
Creator
Author

Hey thanks for your reply , I figured out the issue & its resolved now ... 

Anonymous
Not applicable

Hello,

Great it is fixed. We will appreciate it a lot if you could share your solution here.

Best regards

Sabrina