2013-09-23 92 views
0

我試圖在jtidy源文件中運行單元測試,但我得到了這個異常。有誰知道如何解決這一問題?我猜測包文件夾設置不正確。運行jtidy測試

java.lang.Error: java.util.MissingResourceException: Can't find bundle for base name org/w3c/tidy/TidyMessages, locale en_US at org.w3c.tidy.Report.(Report.java:649) at org.w3c.tidy.Tidy.(Tidy.java:135) at org.w3c.tidy.TidyTestCase.setUp(TidyTestCase.java:153) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

回答

0

加入創建的\ src \測試\資源SRCC文件夾固定它