NoClassDefFoundError on an interface, not a class

前端 未结 6 766
-上瘾入骨i
-上瘾入骨i 2020-12-21 00:05

I have an issue with NoClassDefFoundError. I am using interfaces, and no class definition should be available:

package code;
public interface Co         


        
6条回答
  •  粉色の甜心
    2020-12-21 01:06

    You might have it in your CLASSPATH when compiling but this does not guarantee that it is in the CLASSPATH when you run it. How do you run it?

提交回复
热议问题