gpt4 book ai didi

java - Eclipse 插件未加载

转载 作者:行者123 更新时间:2023-11-29 05:41:41 26 4
gpt4 key购买 nike

我正在使用 Eclipse 4.2.1 并编写一个 Java 项目。我需要使用第三方开发的插件。我团队中的其他开发人员可以通过将插件放在插件文件夹中来使用该插件,插件生效。但是,对我来说插件没有生效,我无法在 InstallationDetails -Plugin 菜单中看到插件。我尝试通过运行以下命令来调试问题:

eclipse.exe -clean -debug -consoleLog

但是,我在日志中没有看到任何错误,这些错误可能会提示插件未启动的原因。任何线索将不胜感激。下面是输出——

  Start VM: -Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equi
nox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\softwaredownloads\eclipse\eclipse\\plugins\org.eclipse.platform_4
.2.1.v201209141800\splash.bmp
-launcher C:\softwaredownloads\eclipse\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equ
inox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
-startup C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equinox.launc
her_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-clean
-clean
-console
-consoleLog
-debug
-vm C:\ToolChain\win64\jdk-1.6.0_35\jre\bin\server\jvm.dll
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\softwaredownloads\eclipse\eclipse\\plugins/org.eclipse.equi
nox.launcher_1.3.0.v20120522-1813.jar
Install location:
file:/c:/softwaredownloads/eclipse/eclipse/
Configuration file:
file:/c:/softwaredownloads/eclipse/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/softwaredownloads/eclipse/eclipse/configuration/
Framework located:
file:/c:/softwaredownloads/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.1.v2
0120830-144521.jar
Framework classpath:
file:/c:/softwaredownloads/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.1.v2
0120830-144521.jar
Splash location:
C:\softwaredownloads\eclipse\eclipse\\plugins\org.eclipse.platform_4.2.1.v20
1209141800\splash.bmp
Debug options:
file:/C:/softwaredownloads/eclipse/eclipse/.options not found
Time to load bundles: 37
Starting application: 6273
osgi> Application Started: 18986

最佳答案

p2 现在是安装 Eclipse 扩展的唯一机制。有多种方法可以调用它。类似于将插件放入插件文件夹的旧机制的一种是将扩展放入 dropins。文件夹。

如果插件只是一个 jar 文件,只需将其放入 dropins。否则为其创建一个子目录并将所有文件放在那里。

然后,运行 eclipsec -initialize。完成后,像往常一样启动 Eclipse。

关于java - Eclipse 插件未加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17296651/

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