新建maven项目 src/test/java文件夹显示灰色,且junit/testng JAR包也显示灰色

解决办法: build path->configure build path->source,双击“conntains test source:yes” 变为“conntains test source:yes” pom文件里面去掉或注释掉test
相关文章
相关标签/搜索