开发者

JDeveloper: AnnotatedNoClassDefFoundError

开发者 https://www.devze.com 2023-01-22 06:45 出处:网络
I have created a new Java Application in JDeveloper. That application only uses the Java application. No Swing and no ADF technologies are used.

I have created a new Java Application in JDeveloper. That application only uses the Java application. No Swing and no ADF technologies are used.

I have created a new class with a static main method.

When I'm 开发者_如何学Ctrying to compile the project, this error is shown:

Error: Exception thrown during compilation: oracle/classloader/util/AnnotatedNoClassDefFoundError

I'm trying to find on Google any reference of this, but each page that I see talks about ADF.

Anybody knows how to fix that issue?

Edit: the class code:

package wewe;

public class Class1 {
    public Class1() {
    }

    public static void main(String[] args) {
        Class1 class1 = new Class1();
    }
}


It seems that I didn't installed correctly the JDK, and JDeveloper didn't reported. Now all works.

0

精彩评论

暂无评论...
验证码 换一张
取 消