JUNIT Test class in Eclipse - java.lang.ClassNotFoundException

后端 未结 26 1957
栀梦
栀梦 2020-12-14 13:55

I\'m trying to run my junit test (to verify that a properties file loads correctly) but I get ClassNotFoundException although the class is there and all requir

26条回答
  •  执念已碎
    2020-12-14 14:40

    If you have a maven project try to run:

    mvn clean compile
    

    and then in eclipse clean & build your project.

提交回复
热议问题