Jar包和XML应该都是正常的
<?xml version="1.0" encoding="UTF-8"?>
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
index.jsp
struts2
org.apache.struts2.dispatcher.FilterDispatcher
struts2
/*
struts2
org.apache.struts2.dispatcher.FilterDispatcher
struts2
/*
从报错内容来看是spring的一个jar包没有引入吧
我把所有包引入还是会报错
严重: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/web/WEB-INF/lib/struts2-codebehind-plugin-2.3.30.jar!/struts-plugin.xml:29:122
貌似是导入的包和Struts当前版本不匹配
报错显示的是spring-context包未找到或者冲突