Beanutils simplifies the Java code when writing reflections, using static methods SetProperty or Copyproperty directly. But it's worth noting that in addition to importing Beanutils.jar, you need to import Logging.jar, both of which are Commons projects of the Apache Foundation. Another more deceptive is that after the two packages are imported, beanutils is basically working, and there is nothing wrong with assigning a value to an object. However, if assigning a value to a property that does not exist in the object throws InvocationTargetException and suggests that Fashhashmap cannot be found, then another commons package needs to be imported. Collections.jar, if not solve the problem, try to import the older collections package, two projects internal call incredibly still have incompatibility problem, think is also drunk.
Beanutils Use note