首页
技术
登录
6mi
u
盘
搜
搜 索
技术
SpringBoot中单元测试@Test注解失效
SpringBoot中单元测试@Test注解失效
技术
2023-11-13
114
在网上看到了好多,都是说将以下代码进行注释。
<!-- <scope>test</scope>-->
但是我这边测试还是不可以,然后我试着切换了一下版本就可以了。
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.9</version> <!-- <scope>test</scope>--> </dependency>
转载请注明原文地址:https://ipadbbs.8miu.com/read-46028.html
最新回复
(
0
)