`

Unable to load configuration. - bean jar:file.../lib/struts2-core-2.1.6.jar

阅读更多

Struts2(使用2.1.6版本)工程部署后,启动tomcat时,出现:

Unable to load configuration. - bean - jar:file:/D:/Program%20Files/tomcat-6.0.10/webapps/S2Demo/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)

.

.

.

查了资料,更换struts2版本为2.1.4(struts2-core-2.0.14.jar),同时将xwork-2.1.2.jar更换为xwork-2.0.7.jar便解决了

3
0
分享到:
评论
1 楼 Lorraine 2011-09-14  
同问……哎……

相关推荐

    struts2-core.jar

    struts2-core-2.1.6.jar, struts2-core-2.1.8.1-sources.jar, struts2-core-2.1.8.1.jar, struts2-core-2.1.8.jar, struts2-core-2.2.1.1.jar, struts2-core-2.2.1.jar, struts2-core-2.2.3.1.jar, struts2-core-...

    struts2-core-2.1.6.jar

    struts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jarstruts2-core-2.1.6.jar...

    json-lib-2.1.jar和struts2-json-plugin-2.1.8.1.jar

    `struts2-json-plugin-2.1.8.1.jar` 则是Struts 2框架的一个插件,主要用于增强Struts 2对JSON的支持。Struts 2是一款非常流行的MVC(Model-View-Controller)框架,用于构建企业级的Java Web应用程序。这个插件允许...

    struts2-struts1-plugin-2.1.6.jar

    struts2-struts1-plugin-2.1.6.jar

    struts2-convention-plugin-2.1.6.jar

    struts2-convention-plugin-2.1.6.jar

    struts2-convention-plugin-2.1.6.jar 和struts2-core-2.1.6.jar

    不论高低版本,要使用struts2-core这个jar包,当又需struts2-convention-plugin.jar时勿必要使两者版本一致哦,否则会有DefError、Unable to read class诸等错误

    ide-eval-resetter-2.1.6.zip

    标题中的“ide-eval-resetter-2.1.6.zip”是一个特定版本的插件,主要用于IDE(集成开发环境)的评估期重置。这个插件的版本号是2.1.6,通常版本号的更新意味着修复了之前版本的问题或增加了新功能。 描述中提到的...

    struts2.1.6+spring2.0+hibernate3.2常用配置包

    struts2-core-2.1.6.jar //2 struts2-convention-plugin-2.1.6.jar //2* struts2-spring-plugin-2.1.6.jar //1 xwork-2.1.2.jar //2 xerces-2.6.2.jar //3 xml-apis.jar //3 注:以下包为数据源连接池 相关 用到...

    struts2版本 2.1.6 必须的jar包 和 web.xml 文件的修改

    在本文中,我们将深入探讨Struts2版本2.1.6中的核心jar包以及如何调整`web.xml`配置文件以实现正确部署。 首先,Struts2的核心jar包是框架运行的基础,它们提供了Action映射、拦截器、结果类型和其他关键功能。对于...

    struts-2.1.6_jar包(全)

    1. **Struts 2核心库**:struts2-core.jar包含了框架的基本组件,如Action、Result、Interceptor等。这些组件负责处理HTTP请求,执行业务逻辑,并将结果呈现给用户。 2. **插件**:Struts 2支持许多插件来扩展其...

    struts2-rest-plugin-2.1.6.jar

    struts2-rest-plugin-2.1.6.jar

    spring-boot-starter-websocket-2.1.6.RELEASE.jar

    java运行依赖jar包

    xwork各版本的jar包

    xwork-core-2.1.6.jar, xwork-core-2.2.1.1.jar, xwork-core-2.2.1.jar, xwork-core-2.2.3.1.jar, xwork-jar.jar, xwork-src-1.2.1.jar, xwork-tiger-1.2.1.jar, xwork-tiger-1.2.3.jar, xwork-tiger-src-1.2.1.jar,...

    struts2所需jar包

    struts2-core-2.1.6.jar freemarker-2.3.13.jar commons-logging-1.0.4.jar ognl-2.6.11.jar xwork-2.1.2.jar commons-fileupload-1.2.1.jar

    struts2-demo

    struts2-core-2.x.x.jar : Struts2 框架的核心类库 b. xwork-core-2.x.x.jar: XWork类库,Struts2在其上构建 c. ognl-2.6.x.jar: 对象图导航语言(Object Graph Navigation Language),Struts2框架通过其读写对象的...

    struts2-jfreechart-plugin-2.1.6.jar

    struts2-jfreechart-plugin-2.1.6.jar

    struts2-junit-plugin-2.1.6.jar

    struts2-junit-plugin-2.1.6.jar

    ide-eval-resetter-2.1.6

    标题 "ide-eval-resetter-2.1.6" 暗示这是一款针对IDE的插件,主要用于IDE的评估期重置。在IT行业中,尤其是软件开发领域,开发人员经常使用集成开发环境(IDE)如IntelliJ IDEA来编写代码。IntelliJ IDEA是一款非常...

    struts2-spring-plugin-2.1.6.jar

    使用struts2+spring方式开发,就必须要struts2-spring-plugin-2.1.6.jar这个包,因为它是两者融合的插件,如果没有肯定不会出错

Global site tag (gtag.js) - Google Analytics