IIRC BeanUtils has a dependency on Collections 3, where FastHashMap lives.

In the CC4 release notes it states:

Removed features now supported by the JDK or other Apache Commons libraries

   - FastHashMap: use java.util.concurrent.ConcurrentHashMap, but beware of
   null keys and values


So I'd say they're not compatible, by design.

Dave


On Tue, Sep 30, 2014 at 10:32 AM, <[email protected]> wrote:

>
> Hi All
>
> We have tried to update our common libs. We have updated to
> Beanutils 1.9.2 and collection4 4.0.
> These packages are incompatible, or did i get something wrong.
>
> I always receive this error
> Stacktrace]
> java.lang.NoClassDefFoundError:
> org/apache/commons/collections/FastHashMap
>         at
> org.apache.commons.beanutils.PropertyUtilsBean.getMappedPropertyDescriptors
> (PropertyUtilsBean.java:723)
>         at
> org.apache.commons.beanutils.PropertyUtilsBean.getMappedPropertyDescriptors
> (PropertyUtilsBean.java:743)
>         at
> org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor
> (PropertyUtilsBean.java:956)
>         at
> org.apache.commons.beanutils.PropertyUtilsBean.isWriteable
> (PropertyUtilsBean.java:1466)
>         at
> org.apache.commons.beanutils.BeanUtilsBean.copyProperties
> (BeanUtilsBean.java:277)
>         at org.apache.commons.beanutils.BeanUtils.copyProperties
> (BeanUtils.java:135)
>
> Greetings
> Florian
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
e: [email protected]
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Reply via email to