pom.xml依赖如下
上述scope配置了hamcrest-all可用的位置,test表示只能在src下的test文件夹下面才可
如果在main 文件夹下使用,去掉scope 即可(去掉了默认的compile)
maven项目maven Dependencies下的jar包有的颜色变灰色了
最新推荐文章于 2023-11-17 16:14:45 发布
pom.xml依赖如下
上述scope配置了hamcrest-all可用的位置,test表示只能在src下的test文件夹下面才可
如果在main 文件夹下使用,去掉scope 即可(去掉了默认的compile)