gpt4 book ai didi

plugins - IntelliJ IDEA 启动时崩溃,插件错误

转载 作者:行者123 更新时间:2023-12-01 16:54:53 25 4
gpt4 key购买 nike

当尝试在新升级的 OS X Yosemite 上启动 IntelliJ IDEA 14 Ultimate 时,我在对话框窗口中收到以下异常,中止 IDEA 启动:

Plugin 'DBN' failed to initialize and will be disabled.  Please restart IntelliJ IDEA.

java.lang.ClassNotFoundException: com.dci.intellij.dbn.DatabaseNavigator PluginClassLoader[DBN, 3.0.3501]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:422)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:412)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:398)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:107)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:86)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:110)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:510)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:492)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:158)
at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:66)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:364)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

我刚刚安装了IDEA 14。它一次启动就很好,并且更新了很多插件。插件升级所需的重新启动后,此行为出现。

在我升级到 IDEA 14 之前,但在升级到 Yosemite 之后,IDEA 13 已经在启动时出现类似的崩溃情况。不过它提到了不同的插件。它提示 flex、GWTStudio 和 ideTalk 插件。暂时删除有问题的插件会使其提示下一个。

最佳答案

事实证明,这是由于 OS X Yosemite 设置最大打开文件限制的不同方式造成的。通过查看 ~/Library/Logs/IntelliJIdea14,我看到了这一点:

java.io.FileNotFoundException: /Applications/IntelliJ IDEA 14.app/Contents/plugins/devkit/lib/devkit.jar (Too many open files)

已通过添加/Library/LaunchDaemons/limit.maxfiles.plist 文件来修复此问题,如 http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Mac-OS-X 中所述。 .

关于plugins - IntelliJ IDEA 启动时崩溃,插件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26970100/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com