Amit Porje February 2016

While updating my maven project, I get the following error "Failed while installing JAX-RS"

I get the following error:

Failed while installing JAX-RS (REST Web Services) 1.1.
org.osgi.service.prefs.BackingStoreException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

Also, while running the project on apache server, a classnotfound exception is thrown by the jersey servlet.

Answers


Sneha February 2016

This exception is mostly caused due to a typo in XML element. Can you please paste the part of your dependency for JAX-RS (Jersey) in pom.xml.

Post Status

Asked in February 2016
Viewed 3,137 times
Voted 12
Answered 1 times

Search




Leave an answer