首页 > 解决方案 > Java 和 GlassFish 部署错误:项目当前已归档部署

问题描述

当我运行我的 Web 应用程序时,NetBeans 给了我这个错误:

C:\Users\Gamer\Documents\NetBeansProjects\MyWebApp\nbproject\build-impl.xml:1045: Deployment error: Project is currently archive deployed. Undeploy this project and redeploy it to take advantage of directory deployment.
See the server log for details.

我确实重新部署了,但还是一样

第 1045 行的代码是:

<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>

该应用程序部署在 GlassFish 服务器上,但我不知道部署了什么存档。

标签: javanetbeansglassfish

解决方案


推荐阅读