Application failed to run with the exception java.lang.ClassNotFoundException: javax.json.JsonValue
Issue
-
The application fails to start with the exception
java.lang.ClassNotFoundException: javax.json.JsonValue
and the exception stack trace looks like the following:Caused by: java.lang.NoClassDefFoundError: javax/json/JsonValue at org.apache.activemq.artemis.uri.schema.connector.TCPTransportConfigurationSchema.getTransportConfigurations(TCPTransportConfigurationSchema.java:68) at org.apache.activemq.artemis.uri.schema.serverLocator.TCPServerLocatorSchema.internalNewObject(TCPServerLocatorSchema.java:44) at org.apache.activemq.artemis.uri.schema.serverLocator.TCPServerLocatorSchema.internalNewObject(TCPServerLocatorSchema.java:33) at org.apache.activemq.artemis.utils.uri.URISchema.newObject(URISchema.java:86) at org.apache.activemq.artemis.utils.uri.URISchema.newObject(URISchema.java:30) at org.apache.activemq.artemis.utils.uri.URIFactory.newObject(URIFactory.java:59) at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.newLocator(ServerLocatorImpl.java:417) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.setBrokerURL(ActiveMQConnectionFactory.java:226) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:219) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:245) at org.apache.activemq.artemis.jms.client.ActiveMQJMSConnectionFactory.<init>(ActiveMQJMSConnectionFactory.java:42)
Environment
- Red Hat Fuse (Fuse) 7.4
- Maven Fuse Spring Boot BOM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.