在Websphere上运行项目时,找不到有效的父模块添加到服务器上。

问题描述 投票:0回答:1

当我试图使用Eclipse在Websphere上运行应用程序时,我收到一个错误信息,称 "无法找到一个有效的父模块添加到服务器"。

enter image description here

java eclipse websphere
1个回答
0
投票

你是想在服务器上运行一个 Web 应用程序还是企业应用程序?传统的 WebSphere 不支持独立的 Web 应用程序。尝试将 Web 应用程序包含在企业应用程序中,并将企业应用程序部署在服务器上。


0
投票

我已经设法解决了这个问题,在服务器上添加了 <project>PROJECT_NAME</project> 在EAR文件夹的.project内

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.