Plugin removal ( conflict in dependencies )

hi there ,

i hope you are doing well ,
i’m working on spring boot project and intergrating it to openfire as plugin.
my problem is in removing the plugin it always occure errors without removing the plugin ,thus i checked that problem i noticed that there is a conflict in dependencies of openfire and my plugin by 4 dependencies(these are the remaining dependencies in my plugin lib)

openfire includes:

  • xmpp server 4.7.3

my project :
- xmpp server 4.2.0
- spring-websocket-5.3.20.jar
- spring-webmvc-5.3.20.jar
- tomcat-embed-websocket-8.0.8.jar

how can i solve this problem ?