Caused by: java.lang.NoSuchMethodException: com.bjpowernode.test.Test011.() Class.forName(“类名路径”)出现上述的问题: 解决方法: 类路径中所指明的类没有无参构造方法,加一个无参构造方法就行了