Luna - 无法创建视图:org.eclipse.wst.server.ui.ServersView

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34353734/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:59:40  来源:igfitidea点击:

Luna - Could not create the view: org.eclipse.wst.server.ui.ServersView

eclipseeclipse-luna

提问by Madhav pandey

I am using Luna "eclipse-java-luna-SR2-win32-x86_64" I am not able to open the server view, it is giving error "Could not create the view: org.eclipse.wst.server.ui.ServersView".

我正在使用 Luna“ eclipse-java-luna-SR2-win32-x86_64”我无法打开服务器视图,它给出错误“无法创建视图:org.eclipse.wst.server.ui.ServersView” .

Can anyone help me on this.

谁可以帮我这个事。

回答by greg-449

That build of Eclipse Luna just contains code for Java developers. The view that cannot be found is part of the Web Developers component of Eclipse.

Eclipse Luna 的构建只包含 Java 开发人员的代码。找不到的视图是 Eclipse 的 Web Developers 组件的一部分。

You can either install the missing components in your existing Eclipse or download a version of Eclipse which contains that view (maybe 'Eclipse IDE for Java EE Developers'). Also consider moving to Eclipse Mars which is newer.

您可以在现有 Eclipse 中安装缺少的组件,也可以下载包含该视图的 Eclipse 版本(可能是“Eclipse IDE for Java EE Developers”)。还可以考虑迁移到更新的 Eclipse Mars。

回答by Gustavo Rojas

The problem is at the install, if you choosed the java development environtment, the web development tools doesn't install. You must to go to the Install New software, and search for web development tools like the pic.

问题出在安装上,如果你选择java开发环境,web开发工具不会安装。你必须去安装新软件,然后搜索像图片这样的网络开发工具。

Eclipse - Help - Install New Software...

Eclipse - 帮助 - 安装新软件...

Good Look!

好看!

回答by Blessed Geek

Just in case ...

以防万一 ...

If you have upgraded your eclipse to Luna from an older version, you need to let Luna construct your new workspace, and then copy and import projects from your old workspace. Otherwise many problems, such this, would hamper the proper functioning of your workspace. For example, Maven may somehow not resolve properly. Your server view will be referencing for resources in a version of WST non-existent in the new IDE version.

如果你已经将你的eclipse从旧版本升级到Luna,你需要让Luna构建你的新工作区,然后从你的旧工作区复制和导入项目。否则,许多问题(例如此类)会妨碍工作区的正常运行。例如,Maven 可能以某种方式无法正确解析。您的服务器视图将引用新 IDE 版本中不存在的 WST 版本中的资源。

When you upgrade from Luna to Mars, you will have to let Mars reconstruct your workspace again.

当您从 Luna 升级到 Mars 时,您将不得不让 Mars 再次重建您的工作空间。