2

when I try to save a java file in my project the following error occurs.

Failed to (re)build the JAX-RS metamodel for projet TestApp java.lang.NullPointerException

It only occurs when I create the default constructor so

public class Account {
    public Account () {}
}

gets the error, while

 public class Account {
 }

does not get it.

I was using the jboss-javaee6-webapp-blank-archetype to create my project

4

1 回答 1

0

我自己发现了失败,没有创建 src/main/java 文件夹(我的文件在资源文件夹中),我重新安装了 Eclipse,现在创建了文件夹,当我在那里有我的 java 文件时,我没有再报错。

于 2013-10-21T10:06:59.743 回答