[jboss-jira] [JBoss JIRA] (WFLY-1749) Switch from commons-beanutils to commons-beanutils-core
Michael Vetter (JIRA)
jira-events at lists.jboss.org
Fri Sep 20 10:00:03 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806089#comment-12806089 ]
Michael Vetter commented on WFLY-1749:
--------------------------------------
The commons-beanutils-core jar still includes classes from commons-collections in the org.apache.commons.collections package (e.g FastHashMap). This leads to an error in my application that uses module dependencies in jboss-deployment-structure.xml:
IllegalAccessError: tried to access class org.apache.commons.collections.FastHashMap$Values from class org.apache.commons.collections.FastHashMap
When this package is deleted from commons-beanutils-core the application deploys and works without problems.
> Switch from commons-beanutils to commons-beanutils-core
> -------------------------------------------------------
>
> Key: WFLY-1749
> URL: https://issues.jboss.org/browse/WFLY-1749
> Project: WildFly
> Issue Type: Bug
> Components: Build System
> Affects Versions: 8.0.0.Alpha3
> Reporter: David Walluck
> Assignee: Paul Gier
> Priority: Minor
>
> The commons-beanutils jar includes classes from commons-collections which are not shaded, and should not be used, in any case.
> The dependency can be switched from commons-beanutils:commons-beanutils to commons-beanutils:commons-beanutils-core which does not contain the classes.
> Any module that actually needs the commons-collections classes should ensure that org.apache.commons.collections is also included as an import.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list