Unable to load configuration. - bean - jar:file:/E:/tomcat-7.0.11/webapps/struts/WEB-INF/lib/struts

Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/E:/tomcat-7.0.11/webapps/struts/WEB-INF/lib/struts2-core-2.2.3.jar!/struts-default.xml:29:72
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:98)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4542)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5220)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5215)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: Unable to load configuration. - bean - jar:file:/E:/tomcat-7.0.11/webapps/struts/WEB-INF/lib/struts2-core-2.2.3.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
... 13 more
Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/E:/tomcat-7.0.11/webapps/struts/WEB-INF/lib/struts2-core-2.2.3.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
... 15 more
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/E:/tomcat-7.0.11/lib/struts2-core-2.2.3.jar!/struts-default.xml:29:72 - bean - jar:file:/E:/tomcat-7.0.11/webapps/struts/WEB-INF/lib/struts2-core-2.2.3.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:216)
... 18 more
2011-6-10 13:15:53 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart

第1个回答  2011-06-10
11追问

不懂

第2个回答  2011-06-10
Some of our clients:,犀利士

- HOWARD & LISA BATTYE
Outdoor Furniture Online
- SALLY HEALEY
Managing Director
Jigsaw Medical
- DON JENKINS
Director
Granicrete Australia PtyLtd.
- Philip K. Bonser
Goulburn Offroad Carts.
- DON JENKINS
Director
Enhanced Business Systems追问

不懂

...我电脑上有两个tomcat:\/7.0.14\/和\/7.0.11\/。14版是netBeans自带的...
建议你重新上装一下,可能是你的端口设置的有问题 建议你不要用80端口,因为有很多程序都会占用的到比如迅雷、IIS等

...cause is available in the Apache Tomcat\/7.0.42 logs.
出现该错误是由于class编译器的JDK版本高于运行期的JDK版本。比如我在运行Tomcat servlet时出现该错误,是由于tomcat运行时是1.6的JDK,Eclipse编译时则是1.7 修改方法:保证编译器和运行期的JDK版本一致。Eclipse修改:Windows Window -> Preferences->Java -> Compiler 设置 "Compiler compliance level" ...

我用MyEclipse启动或关闭Tomcat服务是会提示:could not find the main...
2. Double click on the “Tomcat6″ entry to see the configuration.3. Then click on the “Open launch configuration” link in the “General information” block.4. In the dialog, select the “Classpath” tab.5. Click the “Add external jar” button.6. Select the file “\/usr...

linux ln -s 用ln -s 链接 根目录到 \/home\/good怎么做啊。
1、软链接就是:“ln –s 源文件 目标文件”,只会在选定的位置上生成一个文件的镜像,不会占用磁盘空间,类似与windows的快捷方式。2、硬链接ln源文件目标文件,没有参数-s, 会在选定的位置上生成一个和源文件大小相同的文件,无论是软链接还是硬链接,文件都保持同步变化。

相似回答