-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graalvm can compile and package normally, but cannot load the data source after startup #535
Comments
17:17:24.209 [main] INFO com.example.springboot3demo.Springboot3DemoApplication -- 111 . ____ _ __ _ _ 2023-07-19T17:17:24.234+08:00 INFO 9172 --- [ main] c.e.s.Springboot3DemoApplication : Starting AOT-processed Springboot3DemoApplication using Java 17.0.7 with PID 9172 (D:\IdeaProjects\springboot3-demo\target\springboot3-demo.exe started by administered in D:\IdeaProjects\springboot3-demo) org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'echoServiceController': Unsatisfied dependency expressed through field 'sysApplogOperationService': Error creating bean with name 'sysApplogOperationServiceImpl': Unsatisfied dependency expressed through field 'baseMapper': Error creating bean with name 'sysApplogOperationMapper': Cannot resolve reference to bean 'sqlSessionTemplate' while setting bean property 'sqlSessionTemplate' |
作者表示学了一下午还不会native,请在https://github.com/dynamic-datasource/dynamic-datasource-samples/tree/master/springboot3-sample 提交PR并补充打包过程和复现过程..... |
等待有缘人吧, 我跑起来错误不一样 |
Please fill it out carefully, or it will be closed.
请认真填写,不然会直接关闭。
Enviroment
Window10
JDK Version(required):
java version "17.0.7" 2023-04-18 LTS
SpringBoot Version(required):
3.1.1
dynamic-datasource-spring-boot-starter Version(required):
4.1.1
druid Version(optional):
java version "17.0.7" 2023-04-18 LTS
Describe what happened
graalvm可正常编译打包,启动后加载不到数据源
Expected Result:
Actual Result:
If there is an exception,or aop invalid,please attach the exception trace:
Steps to reproduce
Step 1
Step 2
Step 3
The text was updated successfully, but these errors were encountered: