-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Non-static method is being referenced from a static context in generate __BeanDefinitions.java while processing AOT #44916
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
Comments
The method must be static, yet and Whoever is generating that code should take that into account. Considering we're not the ones generating this code, I am going to close this. Please report that to them. |
Thanks for your comments. I noticed that the code was generated by spring-boot-maven-plugin. Could you please tell me which team I should report this to? |
It does not. The plugin invokes Spring AOT and components are contributing code. As I've mentioned before, we're not contributing that code. I don't know what |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ugh. I just saw something that Spring Framework does that could be related only if the map is a @woderchen sorry about that and please subscribe to spring-projects/spring-framework#34659 |
No worries, thanks for looking into it! |
Uh oh!
There was an error while loading. Please reload this page.
Hi, I encountered an issue with Spring AOT. Please help me confirm if this is a bug. Thanks.
【what to do】
generate native file based on Springboot and GraalVM
【issue】:
Once running "mvn -Pnative native:compile",the message appears:
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.4.3:process-aot (process-aot) ...
non-static method getMqMap() cannot be referenced from a static context MqConfig__BeanDefinitions.java
open MqConfig__BeanDefinitions.java in target/spring-aot:
------------refre to my codes and environment as below-------------
env: macos 14.1, springboot(spring-boot-maven-plugin) 3.4.3,Liberica-NIK-23.1.6-1,maven 3.6.3
3.AksoMqConfiguration.java
The text was updated successfully, but these errors were encountered: