无法配置 Websphere Liberty Profile 8.5.5.7

Cannot configure Websphere Liberty Profile 8.5.5.7

我正在尝试使用 Eclipse Mars 配置 Websphere Liberty Profile 8.5.5.7 但是当我启动它时出现以下错误:

[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.javaee.el.2.2/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.javaee.jsp.2.2/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.org.apache.jasper.el.2.2/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.org.eclipse.jdt.core.3.10.0.v20140902-0626/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.jsp.factories.2.2/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.javaee.jstl.1.2/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.jsp-2.2org.apache.jasper/[1.0.0,1.0.100).
[ERROR   ] CWWKF0002E: A bundle could not be found for com.ibm.ws.jsp/[1.0.0,1.0.100).

有我的 server.xml 文件:

<server description="new server">
    <!-- Enable features -->
    <featureManager>
        <feature>jsp-2.2</feature>
        <feature>ssl-1.0</feature>
        <feature>localConnector-1.0</feature>
    </featureManager>
    <keyStore id="defaultKeyStore" password="{xor}12345"/> 
    <httpEndpoint id="defaultHttpEndpoint"
                  host="localhost"
                  httpPort="9080"
                  httpsPort="9443" />

</server>

我还尝试安装可选功能 jaxrs-2.0,我已经从 bin\featureManager 实用程序安装了它,但是当我将它添加到 server.xml 我收到警告 This feature 'jaxrs-2.0' is not recognized.

我可能做错了什么?

已经有一些类似的报道。通常,干净的服务器重新启动将修复它。从工具中右键单击服务器视图中的服务器。点击clean server on next start,然后重启服务器。一般来说,这可以解决问题。我们正在调查中。

关于安装jaxrs-2.0特性,如果你通过命令行安装那么工具是不知道的。您可以通过执行以下操作刷新工具缓存的运行时信息:

Window -> Preferences -> Server -> Runtime Environment -> SELECT YOUR RUNTIME -> CLICK Edit -> CLICK Advanced options... -> CLICK Refresh

等待时间戳更新,然后在资源管理器视图中右键单击 server.xml 并 select Validate.

如果您通过工具安装功能,那么缓存信息将自动更新。要通过工具安装,请打开 Runtime Explorer 视图,右键单击运行时并 select Install Additional Content.