一、该问题的重现步骤是什么?
1. 导入项目后按文档加了key
2. jdk版本已设为1.8
3. 运行报错
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
bladex 3.1.1 boot版 macos m2
四、请提供详细的错误堆栈信息,这很重要。
2023-07-10 16:49:11.035 INFO 69395 --- [ main] o.f.idm.engine.impl.IdmEngineImpl : IdmEngine default created
2023-07-10 16:49:11.042 INFO 69395 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
2023-07-10 16:49:11.252 INFO 69395 --- [ main] o.f.dmn.engine.impl.DmnEngineImpl : DmnEngine default created
2023-07-10 16:49:11.257 INFO 69395 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
2023-07-10 16:49:11.505 INFO 69395 --- [ main] o.f.form.engine.impl.FormEngineImpl : FormEngine default created
2023-07-10 16:49:11.510 INFO 69395 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
2023-07-10 16:49:11.515 INFO 69395 --- [ main] o.f.c.s.SpringContentEngineConfiguration : Content file system root : /Users/qiyu/content
2023-07-10 16:49:11.683 INFO 69395 --- [ main] o.f.c.engine.impl.ContentEngineImpl : ContentEngine default created
2023-07-10 16:49:11.686 INFO 69395 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
2023-07-10 16:49:11.932 INFO 69395 --- [ main] o.f.cmmn.engine.impl.CmmnEngineImpl : CmmnEngine default created
2023-07-10 16:49:12.105 INFO 69395 --- [ main] o.f.app.engine.impl.AppEngineImpl : AppEngine default created
2023-07-10 16:49:17.884 WARN 69395 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: 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]
2023-07-10 16:49:18.401 INFO 69395 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ...
2023-07-10 16:49:18.448 INFO 69395 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2023-07-10 16:49:18.479 INFO 69395 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-07-10 16:49:18.522 ERROR 69395 --- [ main] o.s.boot.SpringApplication : Application run failed
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:289)
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)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:50)
at org.springblade.Application.main(Application.java:34)
看一下是否依赖都下载完毕,看这个报错像是缺少依赖,没有构建成功
依赖都加载了呀
依赖都下载了
https://sns.bladex.cn/q-9702.html
跟他的问题一样,但是我都设置为1.8了,还是报这个错
扫一扫访问 Blade技术社区 移动端