Spring Boot : java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found

前端 未结 2 719
不知归路
不知归路 2021-01-27 06:55

I got this while deploying the spring boot war on tomcat 9.I have tried many solutions like cleaning project and every possible solution that i found in stackoverflow, But nothi

相关标签:
2条回答
  • 2021-01-27 07:34

    Finally i found some solution, it looks like there was some spring dependency conflicts was there.So what i was done is simple recreated the project with another name, then it started to work and the error also gone. Another possible solution is to clean your server in the right way(I haven't tried that, but i think it will work).

    0 讨论(0)
  • 2021-01-27 07:42

    Clean server (It was tomcat in my case) OR Remove tomcat server and artifact Id. Configure again and it will work fine

    0 讨论(0)
提交回复
热议问题