Failed to introspect Class [xxx.xxx] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]

错误提示

Error creating bean with name ‘xxx.xxx’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [xxx.xxx] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
Failed to introspect Class [xxx.xxx] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]_第1张图片

查找过程

1、点击蓝色路径,可以跟到类里
2、切换到其他没引入这个包的分支,可以启动。确定是包的问题
3、利用Maven Helper解决jar包冲突,未能解决
4、进入类中发现RedisTools类可以跟进去,AuthorityAggregateRootApi跟不进去。确定是缺少AuthorityAggregateRootApi所依赖的包导致
Failed to introspect Class [xxx.xxx] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]_第2张图片
5、剩下方法很多了,问问同事这个包在哪里。如果不是自定义类可以搜索所属的包。我是打开其他可以启动项目的AuthorityTools类跟进去查找所属包的位置

结论

缺少引入必要的包


csdn说篇幅太短,推荐受影响,我决定加一些字,下面的字都是没用的。
啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦

你可能感兴趣的:(ERROR,java,jar,开发语言)