Cloud Toolkit (2023.10.1-222-231) + Pycharm 2022.3.2 mac版,装上报bug,怎么解决?
各位好,PyCharm的Alibaba Cloud Toolkit有bug:
com.intellij.diagnostic.PluginException: Cannot create class com.alibabacloud.intellij.action.ApiGatewayImportOASAction (classloader=PluginClassLoader(plugin=PluginDescriptor(name=Alibaba Cloud Toolkit, id=com.alibabacloud.intellij.toolkit-intellij, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/PyCharm2022.3/plugins/toolkit-intellij, version=2023.10.1-222-231, package=null, isBundled=false), packagePrefix=null, instanceId=96, state=active))
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:989)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:1006)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.instantiate(ActionManagerImpl.java:202)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:187)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:534)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:523)
at com.intellij.openapi.actionSystem.DefaultActionGroup.unStub(DefaultActionGroup.java:401)
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:357)
at com.intellij.openapi.actionSystem.ActionGroupStub.initGroup(ActionGroupStub.kt:33)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertGroupStub(ActionManagerImpl.java:244)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:534)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:523)
at com.intellij.openapi.actionSystem.DefaultActionGroup.unStub(DefaultActionGroup.java:401)
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:357)
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:336)
at com.intellij.ide.ui.customization.CustomizationUtil.getReordableChildren(CustomizationUtil.java:102)
at com.intellij.ide.ui.customization.CustomisedActionGroup.getChildren(CustomisedActionGroup.java:44)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.doGetChildren(ActionUpdater.java:731)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$1(ActionUpdater.java:125)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$callAction$5(ActionUpdater.java:186)
at com.intellij.diagnostic.telemetry.TraceKt.computeWithSpan(trace.kt:123)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:182)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:161)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$2(ActionUpdater.java:125)
at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$getGroupChildren$24(ActionUpdater.java:536)
at java.base/java.util.concurrent.ConcurrentHas
报错的这个功能不支持 pycharm,应该也是不影响原有功能的使用的。不过这个上传API至API Gateway的功能底层原理是通过扫描spring注解去实现的,pycharm应该不会导入java的spring项目,如果想要体验的话,可以在idea中体验 可以参考下这个文档,我也提供了一个spring示例工程:https://help.aliyun.com/document_detail/2584849.html 此回答整理自钉群“Cloud Toolkit 6群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。