新建maven項目 src/test/java文件夾顯示灰色,且junit/testng JAR包也顯示灰色

解決辦法: build path->configure build path->source,雙擊「conntains test source:yes」 變爲「conntains test source:yes」 pom文件裏面去掉或註釋掉test
相關文章
相關標籤/搜索