We are integrating perf4j and javasimon Code When I found some problems, that is, I was running good things in my own test code. When I put it in the project code, I always reported the following error :... caused by: Java. lang. illegalargumentexception: superclass has no null constructors but no arguments were given... compared with the code, spring beans with constructor parameters are not found in your own test code in the past half a day. Many classes in the project code are created by using parameter constructor. Spring does not process the parameter constructor when creating the target object subclass with cglib. Instead, it uses the default parameter constructor, which causes the above exceptions. To solve this problem, you can simply add a default constructor, provided that your class is allowed to be modified, however, it is troublesome for classes that do not have Default constructors, such as third-party classes. Here is a very detailed Article A description of this problem, http://netfork.javaeye.com/blog/286215