JUNIT Test class in Eclipse - java.lang.ClassNotFoundException

后端 未结 26 1939
栀梦
栀梦 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:44

    what worked for me is to remove the runconfiguration of the test. Then right click the testclass and click run as junit test.

    now it recreates a correct run config for me.

提交回复
热议问题