-
Notifications
You must be signed in to change notification settings - Fork 493
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
V2.0.0: Error on startup with Spring Boot 3 / Spring 6 application #581
Comments
It supports 1.x, 2.x, look at https://github.com/HotswapProjects/HotswapAgent/tree/master/plugin/hotswap-agent-spring-boot-plugin @cvictory could you help please? |
Could this also be the reason for those errors:
Followed by this NPE afterwards:
|
Are there any plans to support Spring 3 in the near future? Cause using the Sprinter IntelliJ plugin with the Hotswap agent speeds up local testing a lot... |
I use the Version 2.0.0 of the hotswap plugin with spring boot 3 / spring 6 and i get the following errors on startup:
HOTSWAP AGENT: 22:13:42.956 ERROR (org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent) - failed to convert filePath file:/D:/Pools/.m2/repository/org/springframework/security/spring-security-config/6.2.4/spring-security-config-6.2.4.jar!/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.class to classPath path
HOTSWAP AGENT: 22:13:42.957 ERROR (org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent) - failed to convert filePath file:/D:/Pools/.m2/repository/org/springframework/security/spring-security-config/6.2.4/spring-security-config-6.2.4.jar!/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.class to classPath path
HOTSWAP AGENT: 22:13:42.957 ERROR (org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent) - failed to convert filePath file:/D:/Pools/.m2/repository/org/springframework/security/spring-security-config/6.2.4/spring-security-config-6.2.4.jar!/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.class to classPath path
HOTSWAP AGENT: 22:13:42.957 ERROR (org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent) - failed to convert filePath file:/D:/Pools/.m2/repository/org/springframework/security/spring-security-config/6.2.4/spring-security-config-6.2.4.jar!/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.class to classPath path
HOTSWAP AGENT: 22:13:42.957 ERROR (org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent) - failed to convert filePath file:/D:/Pools/.m2/repository/org/springframework/security/spring-security-config/6.2.4/spring-security-config-6.2.4.jar!/org/springframework/security/config/annotation/method/configuration/SecuredMethodSecurityConfiguration.class to classPath path
HOTSWAP AGENT: 22:13:42.957 ERROR (org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent) - failed to convert filePath file:/D:/Pools/.m2/repository/org/springframework/security/spring-security-config/6.2.4/spring-security-config-6.2.4.jar!/org/springframework/security/config/annotation/method/configuration/Jsr250MethodSecurityConfiguration.class to classPath path
a short time later:
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.hotswap.agent.plugin.spring.files.XmlBeanDefinitionScannerAgent.registerXmlBeanDefinitionScannerAgent(XmlBeanDefinitionScannerAgent.java:99)
The following method did not exist:
'org.springframework.beans.factory.support.BeanDefinitionRegistry org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getBeanFactory()'
Is the spring plugin not compatible with spring boot 3 / spring 6? I also use Vaadin 24.
The text was updated successfully, but these errors were encountered: