在Ubuntu上从Eclipse Mars升级到Photon会引起问题 [英] Upgrade from Eclipse Mars to Photon on Ubuntu cause problems

查看:151
本文介绍了在Ubuntu上从Eclipse Mars升级到Photon会引起问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想知道是否有人从ubuntu机器升级时发现了一些类似的问题. 我从eclipse mars升级到eclipse photon,当我尝试运行Tomcat 8服务器时,出现以下错误.

Plug-in "org.eclipse.jst.server.tomcat.core" was unable to instantiate class "org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate". org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate.allowAdvancedSourcel

我试图更新所有存储库都没有成功,我读了一些有关WTP ServerTools的主题,所以我尝试升级到3.10版,这对我来说也不会更新,任何想法都会感激.

或者我应该重新安装到我以前使用的版本,从长远来看会适当地节省时间

解决方案

我遇到了同样的问题.通过输入新的存储库位置,从eclipse(Oxygen)内部进行了升级.

Java 8/Ubuntu 18.04

然后我无法使用上面提到的错误启动tomcat.

我刚刚执行了更新& apt dist-upgrade,但没有下拉任何相关的软件包.

然后我运行了帮助|在eclipse中检查更新"选项,它安装了一些wtp工具更新.然后,我删除了Eclipse中的Server实例并重新创建它.

Tomcat现在可以正确启动.

摘要: 运行帮助|在Eclipse中检查更新",看来这样可以解决您的问题.

Hi I am wondering if anyone found some similar issues upgrading from ubuntu machine. I upgraded from eclipse mars to eclipse photon and when I try to run my Tomcat 8 server I get the following error.

Plug-in "org.eclipse.jst.server.tomcat.core" was unable to instantiate class "org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate". org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate.allowAdvancedSourcel

I have tried updating all repo's to no success, I read some threads about WTP ServerTools so I tried upgrading to version 3.10 and this will not update for me either, any ideas would be grateful.

Or should I just do a reinstall to the version I had working, would properly save time in the long run

解决方案

I'm having the same issue. I upgraded from within eclipse (Oxygen) by entering the new repository location.

Java 8 / Ubuntu 18.04

I then couldn't start tomcat with the above noted error.

I just ran apt update & apt dist-upgrade but it didn't pull down any relevant packages.

I then ran the 'Help | Check for Updates' option in eclipse and it installed some wtp tool updates. I then deleted the Server instance in eclipse and re-created it.

Tomcat now starts correctly.

Summary: Run 'Help | Check for Updates' in eclipse and it looks like that will fix your problem.

这篇关于在Ubuntu上从Eclipse Mars升级到Photon会引起问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆