Test source folder 'src/test/java' in project 'o2o' m...
来源:1-2 开发准备
Jarvis丶丶丶
2019-07-16
老师你好,我原本有这3个包的
src/main/java,
src/main/resources,
src/test/java
但是要添加第四个包src/test/resources中java build path配置Output folder时候添加target/test-classes,就会提示Test source folder ‘src/test/java’ in project ‘o2o’ m… output folder that is not also used for main sources,
如果按了确定 apply and close 按钮会暗掉
写回答
1回答
-
DreamWarrior
2019-07-17
项目右键->buildPath configure Build Path->点击选项卡Libraries->选中JRE System Library->
点击edit->选中Alternate JRE->选择jdk
点击finish,点击ok,自动出现src/main/java和src/test/javaConfigure BuildPath 选择Source 双击Contains test source:yes 将其变成Contains test source:no
012019-07-17
相似问题