编译播放!预装“蚂蚁”的Mac OS Leopard框架

时间:2011-04-18 19:02:14

标签: macos ant playframework

当我开始“蚂蚁”玩!框架我得到这个错误: 我做错了什么?

iMac-ale:framework alliku$ ant
Buildfile: /Users/alliku/Documents/temp/play/play/framework/build.xml

clean:

clean-unittest:

version:
     [echo] Version master-61d6b44

compile:
    [mkdir] Created dir: /Users/alliku/Documents/temp/play/play/framework/classes
    [javac] /Users/alliku/Documents/temp/play/play/framework/build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 254 source files to /Users/alliku/Documents/temp/play/play/framework/classes
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/F.java:644: play.libs.F.None is already defined in play.libs.F
    [javac]     public static None<Object> None = new None<Object>();
    [javac]                                ^
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/XML.java:12: package javax.xml.crypto does not exist
    [javac] import javax.xml.crypto.KeySelector;
    [javac]                         ^
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/XML.java:13: package javax.xml.crypto.dsig does not exist
    [javac] import javax.xml.crypto.dsig.CanonicalizationMethod;
    [javac]                              ^
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/XML.java:14: package javax.xml.crypto.dsig does not exist
    [javac] import javax.xml.crypto.dsig.DigestMethod;
    [javac]                              ^
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/XML.java:15: package javax.xml.crypto.dsig does not exist
    [javac] import javax.xml.crypto.dsig.Reference;
    [javac]                              ^
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/XML.java:16: package javax.xml.crypto.dsig does not exist
    [javac] import javax.xml.crypto.dsig.SignatureMethod;
    [javac]                              ^
    [javac] /Users/alliku/Documents/temp/play/play/framework/src/play/libs/XML.java:17: package javax.xml.crypto.dsig does not exist

等...

1 个答案:

答案 0 :(得分:2)

作者回答。 Java 6是必需的。