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

Miroslav Novak (JIRA) issues at jboss.org
Mon Jan 18 10:39:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-5898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150087#comment-13150087 ] 

Miroslav Novak commented on WFLY-5898:
--------------------------------------

[~juraci.costa] I've manged to run the test suite and verified that:
{code}
<dependency>
            <groupId>org.jboss.eap</groupId>
            <artifactId>wildfly-jms-client-bom</artifactId>
            <version>7.0.0.ER4-redhat-1</version>
            <type>pom</type>
        </dependency>
{code}

does not cause java.lang.NoClassDefFoundError any longer. Thanks for reporting this issue.

> JMS client BOM needs to include Apache Commons BeanUtils
> --------------------------------------------------------
>
>                 Key: WFLY-5898
>                 URL: https://issues.jboss.org/browse/WFLY-5898
>             Project: WildFly
>          Issue Type: Bug
>          Components: Application Client, JMS
>    Affects Versions: 10.0.0.CR4
>         Environment: Wildfly 10.0.0.CR4
>            Reporter: Juraci Paixão Kröhling
>            Assignee: Jeff Mesnil
>             Fix For: 10.0.0.CR5
>
>
> 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