Error java.lang.NoClassDefFoundError:

In one of my class iam using  BeanUtils.copyProperties(templateDetails,templateSettings);I have added commons-collections and commons-beanutils jar, but iam getting the following errorjava.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:959) 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) --------.....................Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap PluginClassLoader[fastcode, 1.0] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 102 moreCan anyone pls help

Please sign in to leave a comment.