ant

Caught an exception while logging the end of the build.  Exception was:
java.lang.NoSuchMethodError
        at org.apache.tools.ant.DefaultLogger.throwableMessage(DefaultLogger.
a:135)
        at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.jav
73)
        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2041)
        at org.apache.tools.ant.Main.runBuild(Main.java:822)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
There has been an error prior to that:
Ant cannot work on Java prior to 1.4
        at org.apache.tools.ant.Project.setJavaVersionProperty(Project.java:9

        at org.apache.tools.ant.Project.initProperties(Project.java:310)
        at org.apache.tools.ant.Project.init(Project.java:299)
        at org.apache.tools.ant.Main.runBuild(Main.java:764)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
java.lang.NoSuchMethodError
        at org.apache.tools.ant.BuildException.<init>(BuildException.java:84)
        at org.apache.tools.ant.Main.runBuild(Main.java:834)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
BS编译错误

你可能感兴趣的:(java,apache,ant)