开发者

IntelliJ bad plugin how to start

开发者 https://www.devze.com 2022-12-29 04:21 出处:网络
Hi I have just started using IntelliJ again and have v开发者_开发问答ersion 9. I just installed the Mercurial plugin and now the ide won\'t start anymore.

Hi I have just started using IntelliJ again and have v开发者_开发问答ersion 9. I just installed the Mercurial plugin and now the ide won't start anymore. Has an error of

Fatal error initializing class com.intellij.openapi.actionSystem.ActionManager:
java.lang.VerifyError: class com.dcx.hg.MercurialVcs overrides final method getName.()Ljava/lang/String;

I now know that I should be using the plugin hg4idea

Is there a way I can remove this plugin so I can start the ide, I am sure there must be..

Thanks in advance.


I am running on a Mac, the Plugin directory is located in ~/Library/Application Support/IntelliJIDEA60/ You can just delete the offending plugin. Note, depending on your edition of the IDE, the directory may be different. For example, IdeaIC2016.3


Version 11 for Windows stores plugins also in c:\Users\<username>\.IntelliJIdea11\config\plugins\ so delete plugins from that location as suggested by @duffymo.


If you look in the directory where you installed IntelliJ, you'll see a /plugins directory. Perhaps if you delete the Mercurial plugin folder you'll be able to restart the UI. Worth a try. NOTE: Check here for OS/version related plugin path.


Ran into the same problem with another plugin. The solution was to remove the offending plugin folder or jar from the Plugins folder - see the exact location below for your OS.

The locations of the user plugins folder for different platforms are listed at https://intellij-support.jetbrains.com/entries/23358108-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs:

OSX

Configuration:

~/Library/Preferences/<PRODUCT><VERSION>
# e.g.:
~/Library/Preferences/IntelliJIdea14

Caches:

~/Library/Caches/<PRODUCT><VERSION>

Plugins:

~/Library/Application Support/<PRODUCT><VERSION>

Logs:

~/Library/Logs/<PRODUCT><VERSION>

Linux/Unix

~/.<PRODUCT><VERSION>

Windows

Windows Vista, 7, 8:

<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>

Windows XP:

<SYSTEM DRIVE>\Documents and Settings\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>


Version 15 on Ubuntu:

cd ~/.IntelliJIdea15/config/plugins
rm -r <offending_plugin>


Just delete the plugin. In my MacOS, the path to the plugins folder is:

/Users/<username>/Library/Application Support/JetBrains/<your version>/plugins
0

精彩评论

暂无评论...
验证码 换一张
取 消