I have three projects, Springboot and tow maven projects(Main Project, Pluginloader, TestPlugin)
I import Websocket into Springboot project and write a class for it(a class for Websocket Server). And import Websocket into Pluginloader(wrote a class for Websocket Client).
when Springboot starts, Pluginloader will be called by the reflection method written in springboot, and the class of WebsocketClient will be executed to establish a connection with the WebsocketServer in Springboot
When Pluginloader called, the TestPlugin project will be called by reflection too.
But now, because I use Pluginloader as a dependency in Testplugin, Testplugin will throw an exception after called: ClassNotFoundException
I want to know how to solve this problem. Can you give me some idea?