run maven 后出現(xiàn)MojoFailureException問(wèn)題
?Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-cli) on project test: No tests were executed!? (Set -DfailIfNoTests=false to ignore this error.)
?Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-cli) on project test: No tests were executed!? (Set -DfailIfNoTests=false to ignore this error.)
舉報(bào)
2019-07-05
工程右鍵Maven---------》Update Project
工程右鍵Run As ---------》Maven clean?
工程右鍵Run As ---------》Maven install