不可以啊!我在classpath中添加了D:\myjava\pkg1\pkg2; 还是通不过编译! cannot access Common bad class file:D:\myjava\pkg1\pkg2\Common.class class file contains wrong class:pkg1.pkg2.Common Please remove or make sure it appears in the correct subdirectory of the classpath
还是通不过编译!
cannot access Common
bad class file:D:\myjava\pkg1\pkg2\Common.class
class file contains wrong class:pkg1.pkg2.Common
Please remove or make sure it appears in the correct subdirectory of the
classpath