【发布时间】:2014-04-03 11:10:40
【问题描述】:
我已通过我的 Web 应用程序中的 http://mvnrepository.com/ 将 struts 2.0 升级到 2.3.16.1 一旦我部署在 tomcat 服务器中,它就会出现以下错误:
Unable to load configuration. - bean - jar:file:/C:/Projects/apache-tomcat-7.0.50/webapps/myweb/WEB-INF/lib/struts2-image-plugin-0.1.jar!/struts-plugin.xml:8:136
...
Caused by: Unable to load configuration. - bean - jar:file:/C:/Projects/apache-tomcat-7.0.50/webapps/myweb/WEB-INF/lib/struts2-image-plugin-0.1.jar!/struts-plugin.xml:8:136
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)
Caused by: Unable to load bean: type:org.apache.struts2.views.TagLibrary class:com.aurifa.struts2.plugin.image.views.ImageTagLibrary - bean - jar:file:/C:/Projects/apache-tomcat-7.0.50/webapps/myweb/WEB-INF/lib/struts2-image-plugin-0.1.jar!/struts-plugin.xml:8:136
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:224)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
我更新了所有struts相关的插件,但是我找不到任何版本来更新struts2-image-plugin
是否有任何 struts2-image-plugin 的替代品 来代替它或任何其他方式来解决此问题?
感谢任何人提供解决方案或想法。
【问题讨论】: