gpt4 book ai didi

java - Eclipse Luna - 导入后项目资源管理器为空

转载 作者:行者123 更新时间:2023-12-02 01:05:14 25 4
gpt4 key购买 nike

当我在 eclipse Luna 中导入或尝试创建项目时,出现以下错误:

Errors occurred during the build. Errors running builder 'Java Builder' on project 'project-name'. loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "org/aspectj/runtime/internal/CFlowCounter" Errors running builder 'Maven Project Builder' on project 'project-name'. loader constraint violation: when resolving method "scala.tools.eclipse.contribution.weaving.jdt.jcompiler.BuildManagerAspect.ajc$around$scala_tools_eclipse_contribution_weaving_jdt_jcompiler_BuildManagerAspect$1$add4995(Lorg/eclipse/core/internal/events/BuildManager;Lorg/eclipse/core/resources/IProject;Lorg/aspectj/runtime/internal/AroundClosure;)Lorg/eclipse/core/resources/IResourceDelta;" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/eclipse/core/internal/events/BuildManager, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for resolved class, scala/tools/eclipse/contribution/weaving/jdt/jcompiler/BuildManagerAspect, have different Class objects for the type .weaving.jdt.jcompiler.BuildManagerAspect.ajc$around$scala_tools_eclipse_contribution_weaving_jdt_jcompiler_BuildManagerAspect$1$add4995(Lorg/eclipse/core/internal/events/BuildManager;Lorg/eclipse/core/resources/IProject;Lorg/aspectj/runtime/internal/AroundClosure;)Lorg/eclipse/core/resources/IResourceDelta; used in the signature Errors running builder 'Java Builder' on project 'test'. org/aspectj/runtime/internal/CFlowCounter Errors running builder 'Validation' on project 'test'. loader constraint violation: when resolving method "scala.tools.eclipse.contribution.weaving.jdt.jcompiler.BuildManagerAspect.ajc$around$scala_tools_eclipse_contribution_weaving_jdt_jcompiler_BuildManagerAspect$1$add4995(Lorg/eclipse/core/internal/events/BuildManager;Lorg/eclipse/core/resources/IProject;Lorg/aspectj/runtime/internal/AroundClosure;)Lorg/eclipse/core/resources/IResourceDelta;" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/eclipse/core/internal/events/BuildManager, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for resolved class, scala/tools/eclipse/contribution/weaving/jdt/jcompiler/BuildManagerAspect, have different Class objects for the type .weaving.jdt.jcompiler.BuildManagerAspect.ajc$around$scala_tools_eclipse_contribution_weaving_jdt_jcompiler_BuildManagerAspect$1$add4995(Lorg/eclipse/core/internal/events/BuildManager;Lorg/eclipse/core/resources/IProject;Lorg/aspectj/runtime/internal/AroundClosure;)Lorg/eclipse/core/resources/IResourceDelta; used in the signature

我检查了权限,并重新启动了 eclipse,但没有任何帮助。

有人知道/遇到这个错误吗?我该如何修复它?

最佳答案

解决了问题。感谢@kucing_terbang评论,我明白了问题的根源是

. loader constraint violation: when resolving method "scala.tools.eclipse.contribution.weaving.jdt.jcompiler...

我尝试安装 scala IDE,并且 scala 工具避免了任何 Activity 。

我只是删除了scala工具(帮助>安装详细信息,卸载)创建一个新的工作区,导入开始工作!

关于java - Eclipse Luna - 导入后项目资源管理器为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30045653/

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