Exception starting filter struts2 Line: 209 -com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1

启动服务器时出现异常:

警告: Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@1242b11{/,E:/workspace/uploadPhoto/war}

Class: com.opensymphony.xwork2.spring.SpringObjectFactory
File: SpringObjectFactory.java
Method: getClassInstance
Line: 209 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1
Caused by: java.lang.NullPointerException  at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:209)

 

因为配置了


      struts2
     
          org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
     

 

 
      struts2
      /*
 

去掉就没错了 但是不知道为什么。。。 看到的希望大家帮忙解释一下。。

你可能感兴趣的:(Exception starting filter struts2 Line: 209 -com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1)