Ant部署出错,求解决啊,用的是JDK1.5

qq_16909565 四川科技大学 2015-12-10 10:38:02
webdoclet:
[echo] creating the configure files of web(struts and others)...
[webdoclet] (XDocletMain.start 47 ) Running <deploymentdescriptor/>
[webdoclet] Generating web.xml.
[webdoclet] xjavadoc.ParseException: Parse error at line 124, column 25. Encountered: @
[webdoclet] at xjavadoc.SimpleParser.generateParseException(SimpleParser.java:6742)
[webdoclet] at xjavadoc.SimpleParser.jj_consume_token(SimpleParser.java:6702)
[webdoclet] at xjavadoc.SimpleParser.Block(SimpleParser.java:2802)
[webdoclet] at xjavadoc.SimpleParser.Statement(SimpleParser.java:2659)
[webdoclet] at xjavadoc.SimpleParser.IfStatement(SimpleParser.java:3064)
[webdoclet] at xjavadoc.SimpleParser.Statement(SimpleParser.java:2694)
[webdoclet] at xjavadoc.SimpleParser.BlockStatement(SimpleParser.java:2848)
[webdoclet] at xjavadoc.SimpleParser.Block(SimpleParser.java:2800)
[webdoclet] at xjavadoc.SimpleParser.MethodDeclaration(SimpleParser.java:1178)
[webdoclet] at xjavadoc.SimpleParser.ClassOrInterfaceBodyDeclaration(SimpleParser.java:904)
[webdoclet] at xjavadoc.SimpleParser.ClassOrInterfaceBody(SimpleParser.java:838)
[webdoclet] at xjavadoc.SimpleParser.ClassOrInterfaceDeclaration(SimpleParser.java:567)
[webdoclet] at xjavadoc.SimpleParser.TypeDeclaration(SimpleParser.java:481)
[webdoclet] at xjavadoc.SimpleParser.CompilationUnit(SimpleParser.java:331)
[webdoclet] at xjavadoc.SimpleParser.populate(SimpleParser.java:273)
[webdoclet] at xjavadoc.SourceClass.parse(SourceClass.java:758)
[webdoclet] at xjavadoc.SourceClass.<init>(SourceClass.java:124)
[webdoclet] at xjavadoc.XJavaDoc.scanAndPut(XJavaDoc.java:885)
[webdoclet] at xjavadoc.XJavaDoc.getXClass(XJavaDoc.java:406)
[webdoclet] at xjavadoc.XJavaDoc.getOuterSourceClasses(XJavaDoc.java:760)
[webdoclet] at xjavadoc.XJavaDoc.getSourceClasses(XJavaDoc.java:323)
[webdoclet] at xdoclet.tagshandler.AbstractProgramElementTagsHandler.getAllClasses(AbstractProgramElementTagsHandler.java:95)
[webdoclet] at xdoclet.tagshandler.ClassTagsHandler.forAllClasses(ClassTagsHandler.java:339)
[webdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] at java.lang.reflect.Method.invoke(Method.java:585)
[webdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:742)
[webdoclet] at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java:297)
[webdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] at java.lang.reflect.Method.invoke(Method.java:585)
[webdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:415)
[webdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:562)
[webdoclet] at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:618)
[webdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:599)
[webdoclet] at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:227)
[webdoclet] at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java:390)
[webdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
[webdoclet] at xdoclet.DocletTask.start(DocletTask.java:468)
[webdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
[webdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[webdoclet] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[webdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] at java.lang.reflect.Method.invoke(Method.java:585)
[webdoclet] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[webdoclet] at org.apache.tools.ant.Task.perform(Task.java:348)
[webdoclet] at org.apache.tools.ant.Target.execute(Target.java:357)
[webdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[webdoclet] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[webdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[webdoclet] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[webdoclet] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[webdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[webdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[webdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[webdoclet] Error parsing File C:\Users\Administrator\workspace\esoaisapp\src\web\cn\flyingsoft\oais\webapp\action\manage\compile\ViewResearchAction.java:Parse error at line 124, column 25. Encountered: @
[webdoclet] xjavadoc.ParseException: Parse error at line 3222, column 33. Encountered: @
[webdoclet] at xjavadoc.SimpleParser.generateParseException(SimpleParser.java:6742)
[webdoclet] at xjavadoc.SimpleParser.jj_consume_token(SimpleParser.java:6702)
[webdoclet] at xjavadoc.SimpleParser.Block(SimpleParser.java:2802)
[webdoclet] at xjavadoc.SimpleParser.Statement(SimpleParser.java:2659)
[webdoclet] at xjavadoc.SimpleParser.IfStatement(SimpleParser.java:3064)
[webdoclet] at xjavadoc.SimpleParser.Statement(SimpleParser.java:2694)
[webdoclet] at xjavadoc.SimpleParser.BlockStatement(SimpleParser.java:2848)
[webdoclet] at xjavadoc.SimpleParser.Block(SimpleParser.java:2800)
[webdoclet] at xjavadoc.SimpleParser.Statement(SimpleParser.java:2659)
[webdoclet] at xjavadoc.SimpleParser.IfStatement(SimpleParser.java:3064)
[webdoclet] at xjavadoc.SimpleParser.Statement(SimpleParser.java:2694)
[webdoclet] at xjavadoc.SimpleParser.BlockStatement(SimpleParser.java:2848)
[webdoclet] at xjavadoc.SimpleParser.Block(SimpleParser.java:2800)
[webdoclet] at xjavadoc.SimpleParser.MethodDeclaration(SimpleParser.java:1178)
[webdoclet] at xjavadoc.SimpleParser.ClassOrInterfaceBodyDeclaration(SimpleParser.java:904)
[webdoclet] at xjavadoc.SimpleParser.ClassOrInterfaceBody(SimpleParser.java:838)
[webdoclet] at xjavadoc.SimpleParser.ClassOrInterfaceDeclaration(SimpleParser.java:567)
[webdoclet] at xjavadoc.SimpleParser.TypeDeclaration(SimpleParser.java:481)
[webdoclet] at xjavadoc.SimpleParser.CompilationUnit(SimpleParser.java:331)
[webdoclet] at xjavadoc.SimpleParser.populate(SimpleParser.java:273)
[webdoclet] at xjavadoc.SourceClass.parse(SourceClass.java:758)
[webdoclet] at xjavadoc.SourceClass.<init>(SourceClass.java:124)
[webdoclet] at xjavadoc.XJavaDoc.scanAndPut(XJavaDoc.java:885)
[webdoclet] at xjavadoc.XJavaDoc.getXClass(XJavaDoc.java:406)
[webdoclet] at xjavadoc.XJavaDoc.getOuterSourceClasses(XJavaDoc.java:760)
[webdoclet] Error parsing File C:\Users\Administrator\workspace\esoaisapp\src\web\cn\flyingsoft\oais\webapp\action\manage\using\FulltextForwordAction.java:Parse error at line 50, column 17. Encountered: @
[webdoclet] (XDocletMain.start 47 ) Running <strutsconfigxml/>
[webdoclet] (TemplateSubTask.engineStarted 806 ) Generating output 'struts-config.xml' using template file 'jar:file:/C:/Users/Administrator/workspace/esoaisapp/lib/xdoclet-1.2.3/lib/xdoclet-apache-module-1.2.3.jar!/xdoclet/modules/apache/struts/resources/struts_config_xml.xdt'.
[webdoclet] (XDocletMain.start 47 ) Running <strutsvalidationxml/>
[webdoclet] (TemplateSubTask.engineStarted 806 ) Generating output 'validation.xml' using template file 'jar:file:/C:/Users/Administrator/workspace/esoaisapp/lib/xdoclet-1.2.3/lib/xdoclet-apache-module-1.2.3.jar!/xdoclet/modules/apache/struts/resources/validation_xml.xdt'.
[webdoclet] INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
[webdoclet] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
[webdoclet] The referring classes do not import any fully qualified classes matching these classes.
[webdoclet] However, since no packages are imported, xjavadoc has assumed that the referred classes
[webdoclet] belong to the same package as the referring class. The classes are:
[webdoclet] C:\Users\Administrator\workspace\esoaisapp\src\web\cn\flyingsoft\oais\webapp\action\EssResourceWarningAction.java --> Comparator qualified to cn.flyingsoft.oais.webapp.action.Comparator
...全文
110 1 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
君莫傲 2015-12-10
参考:http://jingyan.baidu.com/article/90808022c5eed8fd91c80f90.html
回复
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2015-12-10 10:38
社区公告
暂无公告