MUSKAN GURJAR
MUSKAN GURJAR

Reputation: 15

Activemq unable to send JMS message due to NoClassDefFoundError

I am having problems with my activemq application. After starting it if I send a dummy JMS message to queue it throws below error:

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter

I have added javax.xml.bind dependency too, but no luck

Upvotes: -3

Views: 56

Answers (1)

MUSKAN GURJAR
MUSKAN GURJAR

Reputation: 15

After a lot of trial & error, i found that my env variable was set to jdk 11 which doesn't support javax/xml/bind , i switched it to jdk8 ( organization std ) and it worked.

Upvotes: -1

Related Questions