bootstrap class path not set in conjunction with -source 1.6

后端 未结 2 1142
一向
一向 2021-01-12 01:35

I am upgrading my application from java 1.6 to 1.7. When I try to build using Maven 3.2.1, my build fails with below error msg:

[ERROR] Failed to execute goa         


        
2条回答
  •  难免孤独
    2021-01-12 02:01

    I solved it using below configuration in my compiler plugin:

    true
    ${JAVA_HOME}/bin/javac
    1.7
    1.7
    1.7  
    

    This will use the JDK which you have defined in your JAVA_HOME environment property.

提交回复
热议问题