For java. lang. NoClassDefFoundError: org/apache/commons/collections/FastHashMap
During Java EE development, when data in the configuration file or user form submitted data is encapsulated in the corresponding attributes of the corresponding JavaBean object: in actual development, use the third method toolkit BeanUtils (the commons-beanutils-xxx.jar depends on the commons-logging-xx.jar ).
For example, in the Java Web project, the imported jar package: commons-beanutils-1.9.3.jar and commons-logging-1.2.jar
This error is reported during running: eption in thread "main" java. lang. NoClassDefFoundError: org/apache/commons/collections/FastHashMap
It seems that you need to import the commons-collections-xx.jar package
Then Bo leads into the commens-collections4-4.1.jar and does not solve the problem
Finally, the problem is solved after the commens-collections-3.2.2.jar is imported.