You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, I just downloaded a sample app from spring starter io with spring-boot-starter-webflux as a dependency. When I attach special agent and try to instrument. App crashes while starting the application server with below error. Dependency:
Error:
_main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
Application runs fine without agent. I tried to debug a lot but could not find right solution.
When I add below dependency special agent works fine.
org.springframework.boot
spring-boot-starter-web
But my question is, why spring web-flux project requires spring mvc. We cannot demand applicaiton team to include additional dependency right. Agent should able to instrument the code without any changes in app source.
Your help is greatly appreciated.
Regards,
Rajiv
The text was updated successfully, but these errors were encountered:
Hi Team, I just downloaded a sample app from spring starter io with spring-boot-starter-webflux as a dependency. When I attach special agent and try to instrument. App crashes while starting the application server with below error.
Dependency:
org.springframework.boot
spring-boot-starter-webflux
Error:
_main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
Application runs fine without agent. I tried to debug a lot but could not find right solution.
When I add below dependency special agent works fine.
org.springframework.boot
spring-boot-starter-web
But my question is, why spring web-flux project requires spring mvc. We cannot demand applicaiton team to include additional dependency right. Agent should able to instrument the code without any changes in app source.
Your help is greatly appreciated.
Regards,
Rajiv
The text was updated successfully, but these errors were encountered: