【发布时间】:2021-01-10 04:31:17
【问题描述】:
今天尝试解决Eclipse启动时出现错误,我找到了一个解决方案,说要重新安装新版本。所以我安装了新版本,我用它打开了我以前的工作区。
实际版本是:Eclipse IDE for Enterprise Java Developers
版本:2020-09 (4.17.0) 版本号:20200910-1200
现在我工作的环境很糟糕: 以前我已经通过 IBM WebSphere Application Server V8.5x Developer Tools 插件配置了许多 Websphere application Servers v8.5.5。
我使用的服务器运行时基于 Java java_1.7.1_64,它位于 Websphere AppServer 文件夹中。
我重新安装了插件以恢复其典型功能,它充当 WAS 服务器的接口(启动、发布、状态),但它似乎不再与当前版本的 Eclipse 兼容,所以我不再能够从 Eclipse 启动 WAS 服务器。
在 Workbech 启动时,我收到以下弹出错误消息:
尝试使用 Websphere Application Server 特定功能,该功能仅在 JRE 6.0、7.0 或 8.0 上受支持
当我尝试与服务器交互时,我收到以下错误:
在“启动服务器 G2”期间发生内部错误。 org/omg/CORBA/UserException
如果我双击服务器以打开其配置页面,IDE 会打开一个空白的灰色页面,只有 X 用于关闭它。
如果我尝试使用 WAS 运行时创建新服务器,当我单击新建 > 服务器时,我会收到以下错误:
发生了错误。有关详细信息,请参阅错误日志。 org/omg/CORBA/UserException
如果我尝试选择 WebSphere Application Server v8.5 作为服务器类型,则会出现相同的错误。
eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar
--launcher.library
C:\Users\USER\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940
-product
org.eclipse.epp.package.jee.product
-showsplash
C:\Users\USER\.p2\pool\plugins\org.eclipse.epp.package.common_4.17.0.20200910-1200
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/Users/USER/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin
-vmargs
-Dosgi.requiredJavaVersion=11
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
--add-modules=ALL-SYSTEM
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
我尝试过的事情:
-
恢复以前的 Eclipse 版本,但我不能,我仍然有安装文件夹,但我可能在 eclipse.ini 中更改了一些内容,如果我现在启动它,它总是会启动新的更新的 Eclipse 实例,看起来像如果由于我安装的新版本而在 .p2 文件夹中添加或覆盖了某些内容。
-
我尝试安装旧版本的 Eclipse,但 was 插件似乎也不适用于这些版本。
-
我仍然配置了所有 WAS 配置文件,是否有替代方案或解决方法,即使没有 eclipse 插件也可以继续处理它们?我对这个问题很无知。最后我只需要启动/重启服务器,快速添加 EAR,发布,了解服务器的状态;我一直使用该接口的操作。
提前感谢所有帮助我找到解决方案的人。
【问题讨论】:
-
我面临同样的问题,这发生在最近升级 Eclipse 的 websphere 工具中。我试图恢复到 Eclipse 日它工作正常。但我现在被这个错误困住了。
-
尝试下载以前版本的eclipse(不是安装程序)的zip文件,例如。 Eclipse Photon 或 2019-09-R,并在空工作区上运行 Eclipse。您可以尝试按照我的答案中的步骤进行操作。
-
我们是否可以向 IBM 团队提出这个问题?
-
我们是否可以向 IBM 团队提出这个问题?
标签: java eclipse plugins websphere corba