Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
pthomas
Contributor III
Contributor III

Build issue, MojoExecutionHelper issue

I have a project that was fine.  Until...

I was entering a 300+ column json file in Metadata, I clicked the Next button and the project froze.  I left for a couple hours thinking it would catch up and that the file was too large.  Finally, with Talend not responding, I closed it via the terminal.  Now no matter what I run, however basic the project won't build.  I'm getting the error below.

The Talend server is behind firewalls with no internet connectivity and prior to crashing was working fine.

Any suggestions would be appreciated.

org.talend.designer.runprocess.ProcessorException: java.lang.Exception: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project Write_Some_Data: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile failed: Unable to provision, see the following errors:
[ERROR]
[ERROR] 1) [Guice/ErrorCusomtProvider]: TypeNotPresentException: Type MojoExecutionHelper not present
[ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.11.0, parent: Launch$AppClassLoader@785e922]
[ERROR] \_ installed by: WireModule -> PlexusBindingModule
[ERROR] while locating MojoExecutionHelper annotated with @Named(value=helper)
[ERROR]
[ERROR] Learn more:
[ERROR] https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
[ERROR]
[ERROR] 1 execute
[ERROR]
[ERROR] =================
[ERROR] Full classname legend:
[ERROR] =================
[ERROR] Launcher$AppClassLoader: "sun.misc.Launcher$AppClassLoader"
[ERROR] MojoExecutionHelper: "org.eclipse.tycho.helper.MojoExecutionHelper"
[ERROR] MojoExecutionListener: "org.apache.maven.executtion.MojoExecutionListener"
[ERROR] Named: "com.google.inject.name.Named"
[ERROR] PlexusBindingModule" "org.eclipse.sisu.plexus.PlexusBindingModule"
[ERROR] WireModule: "org.execute.sisu.WireModule"
[ERROR] =================
[ERROR] End of classname legend:
[ERROR] =================: Type org.eclipse.tycho.helper.MojoExecutionHelper not present: org/eclipse/tycho/helper/MojoExecutionHelper has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[ERROR] -> [Help 1]
[ERROR]

 

 

 

Labels (5)
4 Replies
Denis_Segard
Support
Support

Hello,

The error: has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
means the java version used to "run" Talend Studio is Java 8 (52.0) and the class is Java 17 (61.0) 

Could you check you have 2 lines like the one below at the beginning of the file Talend-Studio-win-x86_64.ini

-vm
c:\talend\zulu17\bin

Kind regards
Denis

pthomas
Contributor III
Contributor III
Author

I have a -vmargs on the 2nd line.

Further below that I do have a line for Java version.

-Dosgi.requiredJavaVersion=17 

 

 

Denis_Segard
Support
Support

Hello
The Talend Studio ini file should look like :

Denis_Segard_0-1762176549675.png

Kind regards
Denis

pthomas
Contributor III
Contributor III
Author

That's the way the beginning of the file looks.  I'm on Linux not Window and I am comparing a working server to the broken one but the files match each other and what you posted.