]
Miroslav Novak commented on WFLY-5898:
--------------------------------------
It would be great, I don't know how to run this test suite.
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}