PluginClassLoader - ClassNotFoundException after moving class to another package.
Answered
Assume my package name is com.name.app
I have a class ApiHelper which has a ResponseHandler interface. Another class, ButtonActionHandler (extends AnAction) implements ResponseHandler from ApiHelper.
Everything works fine at this point. But if I move ApiHelper to com.name.app.helpers package I get NoClassDefFoundError & PluginClassLoader - ClassNotFoundException.
Any idea why this is happening after moving file to another package?
Please sign in to leave a comment.
Did you update plugin.xml? Please share a reproducible test case.
Couldn't reproduce the issue on a new project so I just Invalidated cache and restarted intellij and its working. :D