将WAR导入Netbeans中的另一个项目
问题描述:
我在netbeans中创建了一个Web服务应用程序,在netbeans中创建了另一个Web服务客户端,Web服务客户端需要从Web服务项目访问某个文件。
I have create a web service application in netbeans and another web service client in netbeans which the web service client required to access some file from web service project.
我曾尝试将项目从Web服务添加到Web服务客户端但无法添加WAR。
I have tried to add project from web service to web service client but fail to add WAR.
如何实现?
谢谢
答
通过创建EAR项目将WAR导入另一个项目并组成所有必需的JAR。
Import WAR into another project by creating EAR project and composes all the necessary JAR.