Unable to load configuration.- action - |Caused by

发布时间:2021-02-24 06:55:42

Unable to load configuration.- action - |Caused by:Action class [login] not found - action -s2sh整合的时候出现如下错误:严重:Exception starting filter struts2Unable to load configuration.- action - file:/D:/workspa

网友回答

如果你的struts.xml和applicationContext.xml都配置正确,还报以上的错误,那么可以判断你的项目缺少jar包:
struts2-spring-plugin-2.0.11.1.jar、mons-fileupload-1.2.1.jar和mons-io-1.3.2.jar
导入这些jar包就行了,这些jar可以在struts-2.2.1的lib下找到.
在搭工程的时候,mons-fileupload-1.2.1.jar和mons-io-1.3.2.jar要是忘记了,报错很容易就看出来少哪些jar包,
但是struts2-spring-plugin-2.0.11.1.jar不太容易发现.
以上问题属网友观点,不代表本站立场,仅供参考!