场景
在SSM项目整合时引入spring-test单元测试时,
报错。
pom.xml中引入依赖如下
此依赖是从Maven中央仓库直接复制过来的
解决
将pom.xml中的spring-test的依赖中的<scope>去掉
在SSM项目整合时引入spring-test单元测试时,
报错。
pom.xml中引入依赖如下
此依赖是从Maven中央仓库直接复制过来的
将pom.xml中的spring-test的依赖中的<scope>去掉
1.打开maven项目中的pom.xml,添加JUnit 的jar包 2.在src/test/java下右键新建JUnit Test Cast
对于刚刚接触maven的朋友可能对其工作机制不够了解,尤其是多module项目中。本人在这样的背景下遇到了问题。多模块之
整合reid...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M