错误信息
严重: Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/F:/apache-tomcat-6.0.18/webapps/StrutsSpringDemo/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:47:178
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
工程中的jar包
commons-logging.jar
freemarker-2.3.15.jar
struts2-core-2.1.8.jar
ognl-2.7.3.jar
xwork-core-2.1.6.jar
spring.jar
struts2-spring-plugin-2.1.8.jar
本工程为struts2+spring的整合
解决方法:
缺少jar包:commons-fileupload.jar
相关推荐
Unable to load configuration. - [unknown location] ``` 该错误提示通常伴随着一系列的堆栈跟踪信息,指向了问题的具体原因。例如,在提供的部分内容中可以看到以下堆栈跟踪: ``` Caused by: Unable to load ...
部署struts web项目到Tomcat,出错Unable to load configuration. - action,部署另外的web项目依然出错,甚至错误中的提示还是上一个项目名,愕然!!不过解决了
如果出现如`Unable to load configuration.`之类的错误,通常是由于某些JAR包存在问题或版本不兼容导致的。解决方法之一是检查并确保所有库版本兼容,并且正确地配置了项目路径。 3. **配置Struts2 Filter**:接...
5. **Struts配置错误**: "Unable to load configuration"表示Struts配置文件存在问题,检查类、包、JSP页面的路径是否正确。 6. **SQL语句错误**: "Position beyond number of declared ordinal parameters"提示SQL...
* Unable to load configuration. - bean -jar:file:/D:/Tomcat/tomcat/apache-tomcat-6.0.30/webapps/test + 解决方案:检查配置文件的加载过程,是否存在语法错误或格式不正确的问题,尝试使用配置文件的调试工具...
- **启动失败**:如文章中的例子,出现“Unable to load configuration”错误。这通常是由于配置文件缺失或错误导致的。检查Struts.xml和web.xml等配置文件是否正确配置。 - **库文件冲突**:如果有多个版本的同一库...
Unable to load configuration: -bean-jar: file path...** - **异常描述**:无法加载配置文件。 - **原因分析**:Struts2无法找到指定的配置文件。 - **解决方案**: - 检查配置文件的路径是否正确。 - 确保...
这种异常通常表现为在操作SVN项目时,系统弹出错误提示"Failed to load JavaHL Library"或"Unable to load default SVN Client",导致所有SVN命令无法正常使用。为了解决这个问题,我们可以按照以下步骤进行处理: ...
DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN" "http://struts.apache.org/dtds/struts-2.5.dtd"> <!-- 全局允许的方法 --> <global-allowed-methods>regex:....
will need to be sent to Microsoft as per the normal process. However, a log entry will be added to the normal BurnInTest log. - Changes to trace logging to reduce activity when trace logging is not...
1. Unable load/create dialog item of type 'HTML'报错对话框弹出。WordProcessor根本无法使用。 2. 使用Microstation自带的RSC字体时,空格处会显示为‘1/64’ 这类问题主要是旧版软件的WordProcessor构件与系统的...
#### ORA-00069: Unable to connect to network - **解释**: 无法连接到网络。 - **解决方案**: 检查网络配置和连接。 #### ORA-00070: Checksum error - **解释**: 校验和错误。 - **解决方案**: 检查文件完整性...
- The field "Default Gateway" has been added to the NetLink's configuration property page - The string write from the OPC Server sometimes failed . This bug has been fixed - After driver uninstall...
首先,`WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...` 这个警告意味着Hadoop无法加载本地库。这可能是因为缺少对应操作系统的Hadoop本地库,或者是环境变量没有正确设置...
This will save the configuration settings and from next time onwards user can directly run ‘minicom’ command without the option ‘–s’ and it will load settings from the saved file. 【技术】Ubuntu...
- ADD: Add TFlexPanel.InvalidateControl virtual method which calls from TFlexControl.Invalidate and can be overriden (it is possible now to catch all object invalidation calls). - FIX: The TFlexPanel....
unable to process your letter. 4. If you have an urgent problem that cannot wait and you have sent in the license agreement from the front of your manual, you may call the Borland Technical ...
UIDE caches 5 Megabytes to 4 GIGABYTES of data It can set up to four separate caches of its own "Common" User 1" "User 2" and "CD DVD" and it also permits ...