百度了很久,都是要改 java compiler
但是试过没有用,后面找到是编译没有成功的问题,要运行Junit必须在target/test-classes找到编译类。
在pom.xml中run as maven test编译,在target文件夹下能够找到编译的文件就可以了
百度了很久,都是要改 java compiler
但是试过没有用,后面找到是编译没有成功的问题,要运行Junit必须在target/test-classes找到编译类。
在pom.xml中run as maven test编译,在target文件夹下能够找到编译的文件就可以了