我执行....
在ant的view窗口可以看到很多的任务,选择compile运行   报如下错误...............Buildfile: D:\MarS\myapp\build.xml
Trying to override old definition of datatype resources
init:
prepare:
     [echo] Preparing target directory 'D:\MarS\myapp/build/myapp'
    [mkdir] Created dir: D:\MarS\myapp\build\myapp
    [mkdir] Created dir: D:\MarS\myapp\build\myapp\WEB-INF
    [mkdir] Created dir: D:\MarS\myapp\dist\webapps
hibernatedoclet:
[hibernatedoclet] (XDocletMain.start                   48  ) Running <hibernate/>
[hibernatedoclet] (TemplateSubTask.engineStarted       829 ) Generating output 'appfuse\model\User.hbm.xml' using template file 'jar:file:/D:/MarS/myapp/lib/xdoclet-1.3-SNAPSHOT/xdoclet-hibernate-module-1.3-SNAPSHOT.jar!/xdoclet/modules/hibernate/resources/hibernate.xdt'.
[hibernatedoclet]    appfuse.model.User
[hibernatedoclet] (TemplateSubTask.engineStarted       829 ) Generating output 'appfuse\model\Role.hbm.xml' using template file 'jar:file:/D:/MarS/myapp/lib/xdoclet-1.3-SNAPSHOT/xdoclet-hibernate-module-1.3-SNAPSHOT.jar!/xdoclet/modules/hibernate/resources/hibernate.xdt'.
[hibernatedoclet]    appfuse.model.Role
compile-dao:
     [echo] Compiling dao...
    [mkdir] Created dir: D:\MarS\myapp\build\dao\classes
    [mkdir] Created dir: D:\MarS\myapp\build\test\dao\classes
    [javac] Compiling 14 source files to D:\MarS\myapp\build\dao\classesBUILD FAILED
D:\MarS\myapp\build.xml:239: The following error occurred while executing this line:
D:\MarS\myapp\build.xml:450: Error starting modern compilerTotal time: 2 seconds