java - 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 服务器上,但我不知道部署了什么存档。
解决方案
推荐阅读
- node.js - 无法通过node js发送电子邮件,尝试了几种方法
- python - python - 如何在一个参数中为python中的散射函数设置颜色和标记
- c - 任何人都可以详细解释以下c中的指针程序吗?
- php - 将字符串格式存储在db中的数据转换为对象日期时间
- apache - 导入 .war 文件时出现 Apache 错误。“错误:失败 - 无法启动上下文路径 [/文件夹] 处的应用程序”
- java - 如何转换复杂对象列表并将其表示为值 yaml 图表
- javascript - 在Javascript中使用Symbol.iterable进行迭代时如何检测当前元素是最后一个元素?
- linux - 并行运行命令,如果任何命令使用 wait 失败,则运行失败
- javascript - 显示数组中第一个值的函数,如果再次运行,显示数组的第二个值
- python - 如何在 Django 中获取过滤键和结果元组