今天下午研究了一下午报错
结果就是好多最新版的依赖版本不兼容的问题,换了这套直接就跑起来了
烦的很
1 <dependencies> 2 <!-- Spring Framework --> 3 <dependency> 4 <groupId>org.springframework</groupId> 5 <artifactId>spring-context</artifactId> 6 <version>5.3.10</version> 7 </dependency> 8 <!-- Spring MVC --> 9 <dependency> 10 <groupId>org.springframework</groupId> 11 <artifactId>spring-webmvc</artifactId> 12 <version>5.3.10</version> 13 </dependency> 14 <!-- MyBatis --> 15 <dependency> 16 <groupId>org.mybatis</groupId> 17 <artifactId>mybatis</artifactId> 18 <version>3.5.6</version> 19 </dependency> 20 <dependency> 21 <groupId>org.mybatis</groupId> 22 <artifactId>mybatis-spring</artifactId> 23 <version>2.0.6</version> 24 </dependency> 25 <!-- MySQL JDBC Driver --> 26 <dependency> 27 <groupId>mysql</groupId> 28 <artifactId>mysql-connector-java</artifactId> 29 <version>8.0.26</version> 30 </dependency> 31 <!-- JSTL --> 32 <dependency> 33 <groupId>javax.servlet.jsp.jstl</groupId> 34 <artifactId>jstl-api</artifactId> 35 <version>1.2</version> 36 </dependency> 37 <!-- Jackson JSON --> 38 <dependency> 39 <groupId>com.fasterxml.jackson.core</groupId> 40 <artifactId>jackson-databind</artifactId> 41 <version>2.12.3</version> 42 </dependency> 43 <!-- JUnit Test --> 44 <dependency> 45 <groupId>junit</groupId> 46 <artifactId>junit</artifactId> 47 <version>4.13.2</version> 48 <scope>test</scope> 49 </dependency> 50 <!-- PageHelper 分页插件 --> 51 <dependency> 52 <groupId>com.github.pagehelper</groupId> 53 <artifactId>pagehelper</artifactId> 54 <version>5.1.10</version> 55 </dependency> 56 <!-- Other common libraries --> 57 <dependency> 58 <groupId>commons-io</groupId> 59 <artifactId>commons-io</artifactId> 60 <version>2.8.0</version> 61 </dependency> 62 <!-- Servlet API provided by the container --> 63 <dependency> 64 <groupId>javax.servlet</groupId> 65 <artifactId>javax.servlet-api</artifactId> 66 <version>4.0.1</version> 67 <scope>provided</scope> 68 </dependency> 69 </dependencies>
标签:ssm,10,spring,包能,2023,mybatis,org,servlet,javax From: https://www.cnblogs.com/cxyo/p/18171371