Upgrade from Eclipse Mars to Photon on Ubuntu cause problems

风格不统一 提交于 2019-12-11 02:44:18

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/51137867/upgrade-from-eclipse-mars-to-photon-on-ubuntu-cause-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!