2010-08-06 46 views
7

我的IntelliJ idea 9 IDE有問題。我安裝了La Clojure插件(http://plugins.intellij.net/plugin/?id=4050),需要重新啓動IDE。現在,我得到啓動下面的錯誤,它不會讓我繼續工作:如何啓動IntelliJ IDEA,儘管存在插件錯誤

java.lang.AssertionError: Source file C:\Users\foo\.IntelliJIdea90\system\plugins\org.intellij.clojure_8192.zip does not exist for action unzip[C:\Users\foo\.IntelliJIdea90\system\plugins\org.intellij.clojure_8192.zip, C:\Users\foo\.IntelliJIdea90\config\plugins] 
    at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:49) 
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48) 
    at com.intellij.ide.startup.StartupActionScriptManager$UnzipCommand.execute(StartupActionScriptManager.java:189) 
    at com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:49) 
    at com.intellij.ide.ClassloaderUtil.initClassloader(ClassloaderUtil.java:123) 
    at com.intellij.ide.Bootstrap.main(Bootstrap.java:39) 
    at com.intellij.ide.Bootstrap.main(Bootstrap.java:35) 
    at com.intellij.idea.Main.main(Main.java:54) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    at java.lang.reflect.Method.invoke(Method.java:597) 
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) 
    at com.exe4j.runtime.WinLauncher.main(Unknown Source) 

當我找不到指定文件夾中的zip壓縮包,我手動把它丟在和IDE正確提取它到config/plugins文件夾並從system/plugins文件夾中刪除zip文件。儘管如此,它並沒有解決我的問題,錯誤依然存在。有沒有辦法啓動IntelliJ的想法禁用插件?

在此先感謝,亞歷克斯

+0

有沒有在你的插件了'plugin.xml'配置文件/指定在啓動時加載的插件目錄?如果是這樣,請嘗試刪除或註釋La Clojure。 – 2010-08-06 06:53:51

+0

不,沒有plugin.xml配置文件 - 但我找到了解決我的問題的另一種方法,如我在答案中所解釋的。謝謝:) – alexhanschke 2010-08-06 07:07:32

回答

1

該問題是由已經修復的known bug造成的。您可以在問題評論中找到更多詳細信息。

+0

謝謝你,雖然我簡單地瀏覽了一下這些問題,但我並沒有在這個問題上磕磕碰碰。 – alexhanschke 2010-08-06 09:26:36

1

我可以想辦法解決我的問題。在系統/插件文件夾中是一個文件action.script。我保存在另一個文件夾中,並從plugins目錄中刪除它。之後的想法開始沒有進一步的問題。 La clojure也沒有問題。

6

我只是有一個類似的問題,所以我想我會發布了答案:在你的IntelliJ config目錄

(的IntelliJ 11 &的Linux,這是/home/YOURUSERNAME/.IdeaIC11/config)

有一個名爲「disabled_plugins.txt」的txt文件

如果沒有,您可以創建一個。

只需將您的插件添加到此列表中,並且它不會在啓動時加載。 (因此,避免出現故障插件,阻止IDE啓動時的例外情況和問題)

我發佈了這個供將來參考。

編輯:這是我目前的「disabled_plugins.txt」文件爲靈感用途:

ClearcasePlugin 
StrutsAssistant 
com.intellij.seam.pageflow 
com.intellij.velocity 
com.intellij.gwt 
SourceSafe 
Git4Idea 
TFS 
com.intellij.spring.webflow 
CloudBees 
com.intellij.spring.roo 
com.intellij.spring.integration 
com.intellij.spring.batch 
com.intellij.spring 
org.coffeescript 
com.intellij.play 
com.intellij.aspectj 
GlassFish 
com.intellij.appengine 
com.intellij.spring.ws 
org.intellij.grails 
com.intellij.spring.osgi 
com.intellij.aop 
Weblogic 
Resin 
com.intellij.seam 
com.intellij.tapestry 
com.intellij.javaee.view 
CloudFoundry 
com.intellij.spring.websocket 
CVS 
com.intellij.dmserver 
com.intellij.vaadin 
OpenShift 
com.intellij.spring.security 
CFML Support 
JSR45Plugin 
PerforceDirectPlugin 
com.intellij.struts2 
Geronimo 
WebSphere 
Heroku 
com.intellij.seam.pages 
com.intellij.freemarker 
com.intellij.spring.data 
com.intellij.spring.mvc 
org.jetbrains.plugins.github 
com.intellij.spring.boot 
+0

這個文件的格式是什麼? – 2016-04-04 09:19:43

+1

只是一個普通的文本文件,每個插件要在一個單獨的行上禁用。我將在我的原始評論中發佈我的文件。 – Tovi7 2016-04-05 10:32:44