摘要: 启动服务器时出现异常:Line: 209 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1原因两个:1.lib中多导入包的大原因:去掉struts2-spring-plugin-2.1.8包即可,因为没有用到spring。2.还有的原因是用spring了,却没加监听器,在web.xml里面加上contextConfigLocationclasspath:applicationContext*.xmlorg.springframework.web.context.ContextLoaderListener 阅读全文