如果将全部jar包引入。启动tomcat时就会出错。
严重: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/C:/Tomcat6/webapps/EJBBookStoreWebModule/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar!/struts-plugin.xml:30:119
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
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.check(HostConfig.java:1217)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.Cont
解决办法:只要引入如下包即可
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
分享到:
相关推荐
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: -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 ...