作者:手机用户2502929967 | 来源:互联网 | 2023-05-17 12:57
IjustaddedsomepluginstointellijIdeaversion14.0.1,onrestartingit,nonofmyprojectscould
I just added some plugins to intellijIdea version 14.0.1, on restarting it, non of my projects could load.
我刚刚添加了一些插件到intellijIdea版本14.0.1,重新启动它,我的项目可以加载。
This is the error message
这是错误消息
Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: com.intellij.diagnostic.PluginException: Bad type on operand stack
Exception Details:
Location:
com/intellij/atg/jsp/OpenDspInclude.registerTags(Lcom/intellij/psi/PsiReferenceProvider;Ljava/lang/String;Lcom/intellij/psi/filters/position/NamespaceFilter;[Ljava/lang/String;)V @19: invokestatic
Reason:
Type 'com/intellij/psi/impl/source/resolve/reference/ReferenceProvidersRegistry' (current frame, stack[0]) is not assignable to 'com/intellij/psi/PsiReferenceRegistrar'
Current Frame:
bci: @19
flags: { }
locals: { 'com/intellij/atg/jsp/OpenDspInclude', 'com/intellij/psi/PsiReferenceProvider', 'java/lang/String', 'com/intellij/psi/filters/position/NamespaceFilter', '[Ljava/lang/String;' }
stack: { 'com/intellij/psi/impl/source/resolve/reference/ReferenceProvidersRegistry', '[Ljava/lang/String;', 'com/intellij/psi/filters/ScopeFilter', 'com/intellij/psi/PsiReferenceProvider' }
Bytecode:
0000000: 2ab4 001c 04bd 0031 5903 2c53 2d19 04b8
0000010: 004f 2bb8 0055 b1
[Plugin: OpenDSPInclude]
3 个解决方案
I have the same issue in Android studio, Have fixed with following steps
我在Android studio中遇到同样的问题,已经修复了以下步骤
Open Android studio Welcome screen. Then take preference from Android Studio menu then Android studio -> Preference -> Plugins
打开Android studio欢迎屏幕。然后从Android Studio菜单然后选择Android studio - > Preference - > Plugins
Now you can see a sorting menu in top with a text "show". On there Select "Custom" plugin, now please uninstall all the custom plugin you have installed.
现在,您可以在顶部看到一个带有文本“show”的排序菜单。在那里选择“自定义”插件,现在请卸载已安装的所有自定义插件。
Now restart your Android studio, It will work
现在重启你的Android工作室,它会工作
If still exist issues. Please backup and remove Android studio preference folder.
如果仍存在问题。请备份并删除Android studio首选项文件夹。
in Windows should be in c:\user\yourname.AndroidStudio2.1
在Windows中应该在c:\ user \ yourname.AndroidStudio2.1中
in Linux should be in /home/yourname/.AndroidStudio2.1
在Linux中应该在/home/yourname/.AndroidStudio2.1中
in Mac should be in ~/Library/Preferences/.AndroidStudio2.1
在Mac中应该在〜/ Library / Preferences / .AndroidStudio2.1中
Now restart your studio with another preference, still, you can navigate and reuse your old Android SDK.
现在,使用其他偏好重新启动工作室,您仍然可以导航并重复使用旧的Android SDK。