需要引入依赖坐标
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.2.4.RELEASE</version></dependency><dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version></dependency>
原文地址:https://www.cnblogs.com/wqy0314/p/12311884.html
时间: 2024-11-13 18:45:28