在eclipse 使用maven项目,通过 junit进行测试时,一直报class not found,原因是:maven在clean后 class文件没有。通过
runas> maven test 就可以获得编译后的文件了,然后通过 eclipse中进行run as >junit test 就可以了。
在eclipse 使用maven项目,通过 junit进行测试时,一直报class not found,原因是:maven在clean后 class文件没有。通过
runas> maven test 就可以获得编译后的文件了,然后通过 eclipse中进行run as >junit test 就可以了。