maven项目在打包编译时提示:
解决办法:
将pom中junit依赖中的scope给注释掉
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <!-- 表示开发的时候引入,发布的时候不会加载此包 <scope>test</scope>
-->
</dependency>
maven项目在打包编译时提示:
解决办法:
将pom中junit依赖中的scope给注释掉
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <!-- 表示开发的时候引入,发布的时候不会加载此包 <scope>test</scope>
-->
</dependency>
如果还不行,尝试一下File->Invalidate Caches,再返回第二步操作。目录,确保其已正确标记为"Test Sources"或"Tests"类
更改.xml文件的配置原来的配置文件内容:junitjunit4.12test更改为:New: <
启动项目报错java程序包org.apache.poi.ss.usermodel不存在。
类里提示爆红import org.apache.http.HttpEntity;import org.apache.http.HttpR
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M