Maven: javac: source release 1.6 requires target release 1.6

后端 未结 6 1060
说谎
说谎 2020-12-08 04:48

NOTE: This appears to be a limit in the \"javac\" program.

I have Java 6 code that needs to be built for a Java 5 JVM. My previous work with the javac ant target (

6条回答
  •  無奈伤痛
    2020-12-08 05:50

    The limitation is in javac. The solution is to tell maven to use another compiler. See question for details.

提交回复
热议问题