IntelliJ IDEA PluginException:无法分五步创建类 [英] IntelliJ IDEA PluginException: cannot create class in five steps

查看:746
本文介绍了IntelliJ IDEA PluginException:无法分五步创建类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)我在IntelliJ IDEA 13.1社区版中创建了一个新的插件项目。我称之为MyPlugin,并没有费心去改变生成的代码中的任何内容。

2)我在项目视图中右键单击第一行添加了新的Action。我称之为动作TestAction。我已经把它设置为'ProjectViewPopupMenu'。

3)我点击了Prepare插件'我的插件'进行部署,以jar成功创建结束。

4 )我已经使用Apple'添加插件,'插件,从磁盘安装插件,位于jar

5)我重新启动了IntelliJ和....



18:42:47 PluginException:无法创建类TestAction[插件:com.yourcompany.unique.plugin.id]:无法创建类TestAction[插件:com.yourcompany.unique .plugin.id]



很容易在我的Mac上重现,但该怎么办呢?

感谢任何想法,

Jan

1) I've created a new plugin project in IntelliJ IDEA 13.1 Community Edition. I called it MyPlugin and didn't bothered to change anything in generated code.
2) I've added new Action using right clicking on the first line in project view. I've called the action TestAction. I've set to put it to 'ProjectViewPopupMenu'.
3) I've clicked Prepare plugin 'My Plugin' for deployment which ends with jar successfully created.
4) I've added the plugin using Apple ',' Plugins, install plugin from disk, located the jar
5) I've restarted the IntelliJ and....

18:42:47 PluginException: cannot create class "TestAction" [Plugin: com.yourcompany.unique.plugin.id]: cannot create class "TestAction" [Plugin: com.yourcompany.unique.plugin.id]

Easy to reproduce on my Mac, but what to do about it?
Thanks for any ideas,
Jan

推荐答案

这篇关于IntelliJ IDEA PluginException:无法分五步创建类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆