public InvocationTargetException(Throwable target) {
super((Throwable)null); // Disallow initCause
this.target = target;
}
super((Throwable)null); // Disallow initCause
this.target = target;
}
解决方法 就是检查spring配置
https://blog.csdn.net/enterys/article/details/7554395 这个网址讲的很详细 谢谢博主