4
votes

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?

2
Been experiencing the same thing with Jboss Developer Studio - Paul Samsotha
I'm using Jboss Developer Studio too... - Gatschet

2 Answers

10
votes

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

hf

1
votes

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.