Developing plugin for PhpStorm. I need to create WebSocketServer. Trying to use org.java_websocket.server.WebSocketServer. It works in development environment (IntelliJ IDEA Community Edition -> run plugin). But when I'm trying to install/use this plugin in PhpStorm in other pc - it throws the error "Caused by: java.lang.NoClassDefFoundError: org/java_websocket/server/WebSocketServer"
How can I fix NoClassDefFoundError? Or does exist any other way to implement WebSocketServer in plugin for PhpStorm?
By the way I notice that IntelliJ IDEA use phpstorm pack -withSources. Is it possible to import sources with plugin or any other way?