錯誤:E:\test>javac -d . MathToolUnitTest.java
MathToolUnitTest.java:4: cannot access junit.framework.TestCase
bad class file: E:\Java\junit4.0\junit-4.0.jar(junit/framework/TestCase.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import junit.framework.TestCase;
^
1 errorE:\test> 我試過用4.2和4.3的版本都試過,也一樣.不知是何原因?
MathToolUnitTest.java:4: cannot access junit.framework.TestCase
bad class file: E:\Java\junit4.0\junit-4.0.jar(junit/framework/TestCase.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import junit.framework.TestCase;
^
1 errorE:\test> 我試過用4.2和4.3的版本都試過,也一樣.不知是何原因?
怎么回事??