问题描述
我正在尝试将 Web 应用程序(从 Github 下载并导入到 Eclipse 项目中)连接到 Websphere Liberty Server.
I am trying to connect a web application (downloaded from Github and imported into an Eclipse project) to a Websphere Liberty Server.
我无法将应用程序添加到 Liberty 服务器,因为该应用程序需要 servlet-3.0
功能,而新版本和可用版本不支持该功能.
I cannot add the application to the Liberty server because the application requires a servlet-3.0
feature, which is unsupported in the new and available releases.
如何在此版本的 Websphere Liberty 服务器上获得这些功能?
How do I get these features on this version of the Websphere Liberty server?
推荐答案
我认为 Liberty 下载站点上的可选步骤 #3 包含您需要的信息.
I think the optional step #3 on the Liberty download site has the information you need.
https://developer.ibm.com/wasdev/downloads/liberty-profile-beta/
installUtility(位于 wlp/bin 文件夹中)可用于安装来自 Liberty Repository 的附加功能,例如 adminCenter-1.0、servlet-3.0、collectiveController-1.0、ndControllerBundle(包括adminCenter-1.0 和collectiveController-1.0),例如
"The installUtility (located in the wlp/bin folder) can be used to install additional features from the Liberty Repository such as adminCenter-1.0, servlet-3.0, collectiveController-1.0, ndControllerBundle (including adminCenter-1.0 and collectiveController-1.0), e.g.
bin/installUtility 安装 adminCenter-1.0
bin/installUtility install adminCenter-1.0
您还可以使用以下方法安装已配置服务器所需的所有功能:
You can also install all features required by a configured server using:
bin/installUtility 安装
bin/installUtility install "
希望有帮助!
这篇关于需要“servlet-3.0"的 Web 应用程序无法添加到 Websphere Liberty Server,版本 8.5.6 或 v9 Beta的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!