[jboss-jira] [JBoss JIRA] (WFLY-5899) JMS client BOM needs to include Apache Commons BeanUtils

Jeff Mesnil (JIRA) issues at jboss.org
Tue Dec 22 10:05:00 EST 2015


Jeff Mesnil created WFLY-5899:
---------------------------------

             Summary: JMS client BOM needs to include Apache Commons BeanUtils
                 Key: WFLY-5899
                 URL: https://issues.jboss.org/browse/WFLY-5899
             Project: WildFly
          Issue Type: Bug
          Components: Application Client, JMS
    Affects Versions: 10.0.0.CR4
         Environment: Wildfly 10.0.0.CR4
            Reporter: Jeff Mesnil
            Assignee: Jeff Mesnil


When using the JMS client BOM, the following exception happens, due to the missing transitive dependency on Apache Commons BeanUtils

{code}
Exception in thread "naming-client-message-receiver-1-thread-1" java.lang.NoClassDefFoundError: org/apache/commons/beanutils/BeanIntrospector
	at org.apache.activemq.artemis.uri.ConnectionFactoryParser.<init>(ConnectionFactoryParser.java:26)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:173)
	at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:169)
...
{code}

As a workaround, the consumer of the BOM may to add the following dependency:
{code}
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.9.2</version>
      <scope>test</scope>
    </dependency>
{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list