一、该问题的重现步骤是什么?
1. boot单机版本启动有问题
2. 命令行太长
3.Error creating bean with name 'modelController': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springblade.modules.develop.controller.ModelController] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
二、你期待的结果是什么?实际看到的又是什么?
能用idea 2022.2版本正常启动boot单机版本
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
1:boot单机商业版本。
2:win11电脑
3:idea版本 2022.2
四、请提供详细的错误堆栈信息,这很重要。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'modelController': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springblade.modules.develop.controller.ModelController] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:298)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1302)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
五、若有更多详细信息,请在下面提供。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'modelController': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springblade.modules.develop.controller.ModelController] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:298)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1302)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
扫一扫访问 Blade技术社区 移动端