Gatschet
Gatschet

Reputation: 1537

Getting JAX-RS java.lang.NullPointerException when changes in file

Every time i change a code line in my java project in eclipse i get the error:

Failed to build or refresh the JAX-RS metamodel while processing a change in the Java Model
java.lang.NullPointerException

I don't use JAX-RS in my java project! I disabled JAX-RS validator in my preferences but the error is still there!

My eclipse version is:

Eclipse Java EE IDE for Web Developers.

Version: Luna Service Release 1 (4.4.1)

Build id: 20140925-1800

Any ideas why?

Upvotes: 4

Views: 3913

Answers (2)

Rotunda
Rotunda

Reputation: 11

For me disabling JAX-RS in project properties wasn't enough. Uninstalling JAX-RS solved the problem though. Go to Help > About Eclipse, click Installation Details, find JAX-RS and uninstall. No side-effects so far.

Upvotes: 1

Karlson
Karlson

Reputation: 111

right click on your project > Properties > JAX-RS and disable JAX-RS support.

hf

Upvotes: 11

Related Questions