Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.5.0 |
The TIBCO BusinessEvents(BE) maven compile/install is failing with the following error:
[INFO] --- be-maven-plugin:5.5.0:becompile (default-becompile-1) @ be_container_app --- Build project EAR file be_container_app-1.0.0.ear in progress.. Error: Could not find or load main class org.eclipse.equinox.launcher.Main exitValue() 1 java.lang.Exception: Error while building EAR at com.tibco.be.maven.plugin.BECompileMojo.runEARBuildProcess(BECompileMojo.java:144) at com.tibco.be.maven.plugin.BECompileMojo.execute(BECompileMojo.java:131) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
The error “Error: Could not find or load main class org.eclipse.equinox.launcher.Main” indicates the issue at Eclipse and the related plugins.
To determine further what is the cause to the issue, run the mvn command with -X and -e to enable full debug logging,
capture the full output and pom.xml file for further analysis.