ssh配置错误,Unable to load configuration. - bean - jar:file:
严重:DispatcherinitializationfailedUnabletoloadconfiguration.-bean-jar:file:/home/devel...
严重: Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
Caused by: Unable to load bean: type:org.apache.struts2.views.TagLibrary class:common.tag.web.views.DefaultTagLibrary - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 22 more
Caused by: java.lang.ClassNotFoundException: common.tag.web.views.DefaultTagLibrary
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:146)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:192)
... 25 more
严重: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)
Caused by: Unable to load configuration. - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
Caused by: Unable to load bean: type:org.apache.struts2.views.TagLibrary class:common.tag.web.views.DefaultTagLibrary - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
Caused by: java.lang.ClassNotFoundException: common.tag.web.views.DefaultTagLibrary 展开
Unable to load configuration. - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
Caused by: Unable to load bean: type:org.apache.struts2.views.TagLibrary class:common.tag.web.views.DefaultTagLibrary - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 22 more
Caused by: java.lang.ClassNotFoundException: common.tag.web.views.DefaultTagLibrary
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:146)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:192)
... 25 more
严重: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)
Caused by: Unable to load configuration. - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
Caused by: Unable to load bean: type:org.apache.struts2.views.TagLibrary class:common.tag.web.views.DefaultTagLibrary - bean - jar:file:/home/develop/e-workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sshtest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:51:112
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
Caused by: java.lang.ClassNotFoundException: common.tag.web.views.DefaultTagLibrary 展开
佳达源
2024-10-28 广告
2024-10-28 广告
AR0144CSSM20SUKA0-CPBR这款产品,作为我司产品线中的重要一员,集成了高精度的传感器技术与先进的图像处理算法,广泛应用于安防监控、工业自动化及机器视觉等领域。其卓越的性能与稳定性,确保了在各种复杂环境下的精准数据采集与高效...
点击进入详情页
本回答由佳达源提供
展开全部
我最近也遇到这个问题,同样的错误,你的问题可能是版本不统一,导致包找不到,我使用的是最新版本struts-2.3.1.2-lib,你在网上搜索这个,在官网上下载下来,把以前的配置更新一下,应该就好了。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
从以信息可以获取:
发生原因:struts2-core-2.1.8.1.jar未导入
解决方案:导入struts2-core-2.1.8.1.jar
发生原因:struts2-core-2.1.8.1.jar未导入
解决方案:导入struts2-core-2.1.8.1.jar
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
检查jar文件 看看是不是登录者的权限问题 换个用户登录试试
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询