加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

java – Netbeans 8.0.2尚未部署该模块

发布时间:2020-12-15 05:21:37 所属栏目:Java 来源:网络整理
导读:我刚刚安装了netbeans,我在部署新的 Java Web App时遇到了问题.我只是创建项目而不编辑任何东西,这是默认情况下的项目(使用apache): index.html!DOCTYPE html!--To change this license header,choose License Headers in Project Properties.To change thi
我刚刚安装了netbeans,我在部署新的 Java Web App时遇到了问题.我只是创建项目而不编辑任何东西,这是默认情况下的项目(使用apache):

index.html

<!DOCTYPE html>
<!--
To change this license header,choose License Headers in Project Properties.
To change this template file,choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
    <title>TODO supply a title</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
</head>
<body>
    <div>TODO write content</div>
</body>
</html>

错误:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
In-place deployment at C:Users2kGamerDropboxProjectsJavaNetBeansDAW 2WebApplication1buildweb
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%2F2kGamer%2FAppData%2FLocal%2FTemp%2Fcontext4402830100786872488.xml&path=/WebApplication1
 http://localhost:8084/manager/text/deploy?config=file%3A%2FC%3A%2FUsers%2F2kGamer%2FAppData%2FLocal%2FTemp%2Fcontext4402830100786872488.xml&path=/WebApplication1
C:Users2kGamerDropboxProjectsJavaNetBeansDAW 2WebApplication1nbprojectbuild-impl.xml:1045: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 51 seconds)



build-impl.xml:1045 
<target if="netbeans.home" name="-run-deploy-nb">
    <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

解决方法

我时不时地遇到同样的问题.这就是我如何解决这个问题,它对我来说就像一个魅力!

>转到“任务管理器”>选择“流程”标签>点击’Java(TM)Platform SE Binary’>单击“结束进程”按钮>转到NetBeans项目>清洁&建立项目

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读