- This topic has 2 replies, 2 voices, and was last updated 12 years, 4 months ago by support-swapna.
-
AuthorPosts
-
schanamoluMemberHi,
Iam try to Build using Maven project in my eclipse. It was working fine, DEPLOYED IN WAR IN Jboss sever and started working fine. Suddenly Myeclipse ran of JVM and my eclipse crashed. I restarted the whole system. when I try to build “mvn clean install”, Iam getting the following error. Please help me in resolving issue.
[INFO] Building xaas-entities 0.0.1-SNAPSHOT
[INFO] ————————————————————————
[INFO]
[INFO] — maven-dependency-plugin:2.1:copy (default) @ xaas-entities —
[INFO]
[INFO] — maven-apt-plugin:1.0:process (default) @ xaas-entities —
[ERROR] execute error
java.lang.NullPointerException
at com.mysema.maven.apt.AbstractProcessorMojo.execute(AbstractProcessorMojo.java:127)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
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:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] xaas-root ………………………………….. SUCCESS [0.624s]
[INFO] xaas-lib-seam ………………………………. SUCCESS [0.063s]
[INFO] xaas-lib-testing ……………………………. SUCCESS [0.093s]
[INFO] xaas-jboss-provided …………………………. SUCCESS [2.249s]
[INFO] xaas-parent-jar …………………………….. SUCCESS [1.186s]
[INFO] xaas-parent-war …………………………….. SUCCESS [0.094s]
[INFO] xaas-parent-ejb …………………………….. SUCCESS [0.062s]
[INFO] xaas-entities ………………………………. FAILURE [1.358s]
[INFO] xaas-reporting-ui …………………………… SKIPPED
[INFO] xaas-ui ……………………………………. SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 6.026s
[INFO] Finished at: Wed Jun 27 17:12:37 EDT 2012
[INFO] Final Memory: 10M/71M
[INFO] ————————————————————————
[ERROR] Failed to execute goal com.mysema.maven:maven-apt-plugin:1.0:process (default) on project xaas-entities: null: MojoExecutionException -> [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/MojoExecutionException[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :xaas-entities
schanamoluMemberCan some one from myeclipse teaming respond my previous message??
support-swapnaModeratorschanamolu ,
Sorry that you are seeing this issue.
Can you give us some more information?
1. Can you please copy paste the entire contents of the Installation Details from MyEclipse > Installation Summary > Installation Details ? Scroll down the Installation Details window, to see the entire contents.
2. Can you clarify if you can successfully build the project using Maven outside of MyEclipse ?
3. Can you do a clean on the project (Project > Clean) and check if it helps resolve the issue?
4. If the clean does not help, can you please switch to a new workspace, copy the project and check if the issue persists.
Let us know how it works for you.
-
AuthorPosts