Eclipse Ant packaged javac: invalid target release

    [javac] Compiling 1 source file to E:\mf\saas_20190906\build\dist\saasapi\WEB-INF\classes
    [javac] javac: 无效的目标发行版: 1.8
    [javac] 用法: javac <options> <source files>
    [javac] -help 用于列出可能的选项

Project using ant packaged. After importing a new branch, suggesting this package.

It is clear: java version is not a problem, because before branching configuration has not changed.

Compared the java project - Properties contents inside, we have no access. java Complier also jdk1.8, but as I recall, was set off. At last

On the build.xml Right, - Run as, - External Tools Configurations in the inside.

               

Published 29 original articles · won praise 3 · views 20000 +

Guess you like

Origin blog.csdn.net/yangleiGJ/article/details/100669446