idea整合struts和spring和hibernate时候的导jar错误:Unable to load configuration. - action -

  1. org.apache.struts2.dispatcher.Dispatcher.error Dispatcher initialization failed
  2. Unable to load configuration. - action - file:/F:/Documents/MyJava/SSH001/out/artifacts/SSH001_war_exploded/WEB-INF/classes/struts.xml:11:66

  1. Caused by: Action class [employeeAction] not found - action - file:/F:/Documents/MyJava/SSH001/out/artifacts/SSH001_war_exploded/WEB-INF/classes/struts.xml:11:66
虽然在libraries中加入了struts2-spring-2.3.24.1的jar包,不过好像编辑器没有引用到,所以看到Problems这里出错,修复则是引用了。

问题根本上就是没有导入struts2-spring这个jar包...


修复问题:





posted @ 2016-03-20 14:49  奔跑吧_兄弟!  阅读(790)  评论(0编辑  收藏  举报