facebook

compilation failure. maven-compiler-plugin:2.0.2:compile

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #306871 Reply

    gopinathjava
    Member

    I am using trial version of MyEclipse 8

    I am facing problems while compilation

    Build errors for xxx org.apache.maven.ProjectBuildFailureException: Build for project: prj1:prj1:war:0.0.1-SNAPSHOT failed during execution of mojo: org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

    My project has jre pointing to jdk 1.5
    myeclipse.ini has the below
    -vm
    C:/Devtools/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    Please let em know if anyone knows the solution.

    Gopi

    #307650 Reply

    Hi Gopi,

    Can you try changing the jre version of your project to point to jre1.6. You can do so by going into project context menu, properties–>Java Compiler. Please let me know whether that worked for you.

    Thanks,
    Chakri.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: compilation failure. maven-compiler-plugin:2.0.2:compile

You must be logged in to post in the forum log in