java 重复的类定义错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7176829/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Duplicate class definition error
提问by Mark W
Can anyone help resolve this?
任何人都可以帮助解决这个问题吗?
15:02:06,698 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.LinkageError: loader (instance of org/apache/jasper/servlet/JasperLoader): attempted duplicate class definition for name: "org/apache/jsp/tag/web/divBox_tag"
[geronimo 2.1, struts 1.2 ]
[geronimo 2.1,struts 1.2]
回答by karla
Try cleaning the deploy directory of whatever server you're using.
尝试清理您正在使用的任何服务器的部署目录。
Try cleaning your project/s in the IDE you're using (try F5 the project/s, restart the IDE).
尝试在您使用的 IDE 中清理您的项目(尝试 F5 项目,重新启动 IDE)。
Try cleaning the project/s with the build tool you're using.
尝试使用您正在使用的构建工具清理项目。