严重: Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/E:/Users/lvgl/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Lyglxt/WEB-INF/lib/struts2-core-2.3.1.2.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:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1568)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1558)
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:662)
Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/E:/Users/lvgl/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Lyglxt/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:235)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
... 17 more
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72 - bean - jar:file:/E:/Users/lvgl/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Lyglxt/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:219)
... 20 more
2012-4-25 21:17:01 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
原因:在工程中和tomcat中存在了两个struts2-core-2.3.1.2.jar。所以加载出错。解决方法就是删除其中的一个。
分享到:
相关推荐
Java 1.8.0 OpenJDK 1.8.0.402.b06-1.el7_9.x86_64.rpm 是一个针对Linux系统的Java开发工具包的离线升级版本。这个包特别适用于那些无法或不便在线更新Java环境的系统,比如在没有互联网连接或者网络环境受限的...
**Nexus概述** Nexus是Sonatype公司推出的一款开源软件仓库管理器,广泛应用于Java开发领域,特别是Maven项目的依赖管理。Nexus作为Maven私服,可以作为一个内部的、受控的存储库,用于存储、管理和分发组织的构建...
glog.overlay-x64_v120_Debug_dynamic -Version 0.3.3.0 OpenCV.overlay-x64_v120_Debug -Version 2.4.10 OpenCV.overlay-x64_v120 -Version 2.4.10 glog.overlay-x64_v120_dynamic -Version 0.3.3.0
./code --install-extension MS-CEINTL.vscode-language-pack-zh-hans-1.41.1.vsix
标题中的"frida-server-16.0.13-android-arm64"指的是Frida Server的一个特定版本,这是用于Android设备的动态代码插桩工具。Frida是由 Ole André Vadla Rønning 开发的一款强大的开源软件,它允许开发者在运行时...
赠送jar包:spring-boot-2.3.12.RELEASE.jar; 赠送原API文档:spring-boot-2.3.12.RELEASE-javadoc.jar; 赠送源代码:spring-boot-2.3.12.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-boot-2.3.12....
ubuntu-22.04-preinstalled-server-arm64+raspi.img.xz http://cdimages.ubuntu.com/ubuntu/releases/22.04/release/
解决Sublime TEXT 3 安装 Markdown Editing 插件 出现错误 "Error loading syntax file "Packages/Markdown/Markdown.sublime-syntax":Unable to read Packages/Markdown/Markdown.sublime-syntax
libaio1_0.3.112-3_arm64.deb版本,此版本需要dpkg安装,或者图形化界面点击安装。
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder! 问题的缺失文件 eclipse.buildId=M20100211-1343 java.version=1.6.0_10-rc2 java.vendor=Sun Microsystems Inc. ...
glog.overlay-x64_v120_dynamic glog.overlay-x64_v120_Debug_dynamic -Version 0.3.3.0 OpenCV.overlay-x64_v120_Debug -Version 2.4.10 OpenCV.overlay-x64_v120 -Version 2.4.10
Free Spire.Doc for Java 是一款免费、专业的Java Word组件,开发人员使用它可以轻松地将Word文档创建、读取、编辑、转换和打印等功能集成到自己的Java应用程序中。作为一款完全独立的组件,Free Spire.Doc for Java...
在Android Studio中遇到"Unable to load class ‘javax.xml.bind.JAXBException‘"的错误,通常是由于Java运行时环境(JRE)或开发工具包(JDK)与项目的兼容性问题导致的。`javax.xml.bind.JAXBException`是Java的...
解决 ERROR s.d.s.web.plugins.... - Unable to scan documentation context default java.lang.NullPointerException: null at springfox.documentation.schema.Example.equals(Example.java:131)
在api 23中,不提供org.apache.http.*(只保留几个类)的解决方法的jar包。 对应具体方法的解决blog:http://blog.csdn.net/yy1300326388/article/details/48784475
CentOS6.5安装Oracle11g时所需要的所有系统安装依赖包,包含以下rpm包 pdksh-5.2.14-37.el5_8.1.x86_64.rpm compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm elfutils-libelf-devel-0.152-1.el6.x86_64.rpm ...
ECC 加密工具jar包 bcprov-jdk15on-1.64.jarbcprov-jdk15on-1.64.jarbcprov-jdk15on-1.64.jarbcprov-jdk15on-1.64.jarbcprov-jdk15on-1.64.jar
官方离线安装包,亲测可用
c3p0连接mysql8.0.11需要外加mchange-commons-java-0.2.15.jar,maven的pom.xml 中配置了,但是项目中报找不到mchange-commons-java-0.2.15.jar这个文件,可以把此文件下载后,然后解压后把对应的jar包放到maven 库...
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...