Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.

前端 未结 28 1600
予麋鹿
予麋鹿 2020-12-03 06:41

I have been trying from a couple of days to resolve the following error but I am unable to resolve it :(

My module\'s pom.xml file is:



        
28条回答
  •  鱼传尺愫
    2020-12-03 07:18

    Make sure the name of the class created in the package is something like somethingTest.java Maven only picks the java files ending with Test notation.

    I was getting the same error and resolving the names of all my classes by adding 'Test' at the end made it work.

提交回复
热议问题