我在一个名为PointCP2
的文件中调用了一个类,design2
并且我
package design;
在我的类的顶部PointCP2
。PC2Test
在我的测试类import design2.*;
(
我怎么可能解决这个问题?
PointCP2Test.java:5: error: package design2 does not exist
import design2.*;
^
PointCP2Test.java:85: error: cannot access PointCP2
private static PointCP2 getInput() throws IOException
^
bad class file: ./PointCP2.class
class file contains wrong class: design2.PointCP2
Please remove or make sure it appears in the correct subdirectory of the classpath.