您的位置:首页 > 编程语言 > Java开发

使用JBOSS IDE的xdoclet来generate struts and spring xdoclet的问题

2007-11-22 18:45 513 查看
使用JBOSS IDE的xdoclet来generate struts xdoclet时,可能会出现以下error:

Can't create a strutsconfigxml element under webdoclet. Make sure the jar file containing the corresponding subtask class is on the classpath specified in the <taskdef> that defined {2}.

出现error的原因是:eclipse的xdoclet plugin里并没有包含与struts相关的xdoclet jar: xdoclet-apache-module-XXX.jar。

解决方法是:从xdoclet web site download the latest xdoclet package,然后把其中的xdoclet-apache-module-XXX.jar copy to ECLIPSE_HOME/plugins/org.jboss.ide.eclipse.xdoclet.core_XXX目录下即可。

类似的,如果你要使用spring xdoclet,那么应该把xdoclet-spring-module-XXX.jar copy to ECLIPSE_HOME/plugins/org.jboss.ide.eclipse.xdoclet.core_XXX目录下
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐