NoClassDefFoundError: com/intellij/refactoring/introduceField/IntroduceConstantHandler

when test-running my plugin in the Idea sandbox, everything seems to be working just fine.
when i use the plugin in phpStorm, upon starting the plugin, it crashes with the following error:

..Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(795,567),absolute(795,591),button=1,modifiers=Button1,clickCount=1] on frame0: com/intellij/refactoring/introduceField/IntroduceConstantHandler
java.lang.NoClassDefFoundError: com/intellij/refactoring/introduceField/IntroduceConstantHandler ...

What is the needed deployment process to avoid this issue? (do i need to add some jar library to my project?)

Thanks for any help,
Kay

0
3 comments

IntroduceConstantHandler implements the Introduce Constant refactoring in Java. PhpStorm does not include any Java support or Java refactorings. If you want your plugin to be compatible with PhpStorm, you need to avoid using this class.

0
Avatar
Permanently deleted user

I encountered same problem. And it drives me crazy to solve this issue hence, I decided to find some help online and I find this page. You knowledge is impressive it truly helps me. You save my butt! Thank you so much! http://instanttaxsolutions.org/instant-tax-solutions-guides-taxpayers-through-the-tax-relief-maze/

---
Original message URL: http://devnet.jetbrains.net/message/5449737#5449737

-2

Please sign in to leave a comment.