编译播放! Mac OS Leopard 上预装“ant”的框架

发布于 2024-11-02 16:55:28 字数 2179 浏览 1 评论 0原文

当我开始“蚂蚁”游戏时!框架我收到此错误: 我做错了什么?

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

ETC....

When I start "ant" Play! framework I get this errors:
What am I doing wrong?

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

etc....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

煮酒 2024-11-09 16:55:28

作者回答了。需要 Java 6。

Answered by author. Java 6 is required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文