Netbeans 8.0.2尚未部署该模块

Alp*_*a2k 4 java apache tomcat netbeans

我刚刚安装了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>
Run Code Online (Sandbox Code Playgroud)

错误:

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:\Users\2kGamer\Dropbox\Projects\Java\NetBeans\DAW 2\WebApplication1\build\web
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:\Users\2kGamer\Dropbox\Projects\Java\NetBeans\DAW 2\WebApplication1\nbproject\build-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>
Run Code Online (Sandbox Code Playgroud)

小智 22

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

  1. 转到"任务管理器"
  2. 选择"流程"标签
  3. 点击'Java(TM)Platform SE Binary'
  4. 单击"结束进程"按钮
  5. 转到NetBeans项目
  6. 清理并构建项目