Netbeans的8.0.2该模块尚未部署 [英] Netbeans 8.0.2 The module has not been deployed

查看:2530
本文介绍了Netbeans的8.0.2该模块尚未部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装NetBeans和我有部署一个新的Java Web应用程序的问题。我只是建立一个没有任何的编辑项目,这是项目在默认情况下(使用Apache):

 的index.html<!DOCTYPE HTML>
<! -
为了改变这种许可证标头,选择项目属性许可头。
要改变这种模板文件,选择工具|模板
并打开编辑器的模板。
- >
< HTML和GT;
< HEAD>
    <标题> TODO提供标题< /标题>
    <间的charset =UTF-8>
    < META NAME =视口CONTENT =WIDTH =设备宽度,初始规模= 1.0>
< /头>
<身体GT;
    < D​​IV> TODO写的内容< / DIV>
< /身体GT;
< / HTML>

该错误:

 初始化:
DEPS模块-JAR:
DEPS耳-JAR:
DEPS-JAR:
库纳入 - 在归档:
库纳入 - 在清单:
编译:
编译JSP页面:
就地部署在C:\\用户\\ 2kGamer \\ Dropbox的\\项目\\的Java \\ NetBeans的\\ DAW 2 \\ WebApplication1 \\编译\\ WEB
部署正在进行中...
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:\\用户\\ 2kGamer \\ Dropbox的\\项目\\的Java \\ NetBeans的\\ DAW 2 \\ WebApplication1 \\ nbproject文件\\ build-impl.xml中1045:该模块尚未部署。
查看服务器日志的详细信息。
构建失败(总时间51秒),build-impl.xml中:1045
<目标如果=netbeans.homeNAME = - 运行 - 部署 - NB>
    < nbdeploy clientUrlPart =$ {} client.urlPartdebugmode =假forceRedeploy =$ {} forceRedeploy/>
< /目标与GT;


解决方案

更​​新:这是通过重新启动解决,但在运行应用程序时出现了另一个错误。这一次的tomcat woudnt启动。为了解决这个问题(有最新版的Apache和NetBeans版本的bug)如下:<一href=\"http://stackoverflow.com/questions/26485487/error-starting-tomcat-from-netbeans-127-0-0-1-is-not-recognized-as-an-inter\">Error从NetBeans中启动Tomcat - 127.0.0.1 *不被识别为一个内部或外部命令

I just installed netbeans and I have problems deploying a new Java Web App. I simply create the project without editing anything, this is what project has by default (using 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>

The errors:

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>

解决方案

UPDATE: this was solved by rebooting but there was another error when running app. This time tomcat woudnt start. To solve this (bugs with latest apache and netbeans versions) follow: Error starting Tomcat from NetBeans - '127.0.0.1*' is not recognized as an internal or external command

这篇关于Netbeans的8.0.2该模块尚未部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆