Eclipse MARS中的自由配置文件配置编辑器不再出现



自由配置文件配置编辑器不再出现。一切都很顺利,现在我得到的是XML编辑器。配置编辑器的选项仍然在上下文菜单中,但我总是得到XML编辑器。

我想要回这个选项。有"如何"吗?

可能您的Liberty插件版本与Eclipse Mars不兼容。您应该更新它,最简单的方法可能是通过Eclipse Marketplace。以下是市场上最新的Liberty Profile工具:https://marketplace.eclipse.org/content/ibm-websphere-application-server-liberty-profile-developer-tools-0

这也可能是因为server.xml的相关编辑器搞砸了。如果您单击server.xml文件,并使用上下文菜单"Open With…"您还能在列表中看到"自由配置文件配置编辑器"吗?

  • 查克
  • 是设计选项卡仍然显示,但设计视图显示一个错误,当你点击它?如果是,错误是什么?
  • .log文件(<your workspace>/.metadata/.log)中是否有任何消息
  • 是否在某些特定文件上不起作用,或者根本不起作用,例如,如果您创建一个新文件,它是否使用配置文件编辑器打开?要创建一个新文件,在资源管理器视图中右键单击服务器文件夹并选择New -> Liberty Profile Configuration File。给它命名为test.xml,然后点击Finish。

你可以尝试重新生成运行时缓存,看看是否有帮助:

Window -> Show View -> Other -> Server -> Runtime Explorer
Right click on runtime in Runtime Explorer view and select Edit
Click on Advanced options in the dialog
Click the Refresh button
Wait for the refresh timestamp to be updated

或:

Window -> Preferences -> Server -> Runtime Environment -> SELECT YOUR RUNTIME -> CLICK Edit -> CLICK Advanced options... -> CLICK Refresh
Wait for the refresh timestamp to be updated

最新更新