Apache Tomcat 7.0.14:build-impl.xml:1111:该模块尚未部署 [英] Apache Tomcat 7.0.14:build-impl.xml:1111: The module has not been deployed

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

问题描述

Netbeans7.4 中部署项目时,在 Apache Tomcat 7.0.14 中未部署项目时,显示的是

While deploying a project in Netbeans7.4 It is not deploying project in Apache Tomcat 7.0.14 am it is showing following

E:\Project\atom\nbproject\build-impl.xml:1111: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 1 minute 22 seconds) 

行号:1111在built-impl.xml

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

要解决上述问题,我已遵循以下链接

To resolve above problem I have followed this link

我的context.xml文件包含

<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/atom"/>

所有权限均已设置为一般用户

And all permission is set for general users

如何解决此问题,可能是导致此错误的其他原因

How to resolve this problem, what can be other cause for this error

编辑:现在安装了 Netbeans 8.0 Apache Tomcat 8 ,然后也出现了同样的问题 我正在使用struts2.3.15hibernet3.6

Edit: Now installed Netbeans 8.0 and Apache Tomcat 8 then also showing same problem I am using struts2.3.15 and hibernet3.6

我的web.xml内容是

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <listener>
        <listener-class> business.schedular.QuartzSchedulerListener </listener-class>
    </listener>
    <session-config>
        <session-timeout>
            120
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>pages/login.jsp</welcome-file>
    </welcome-file-list>
</web-app>

推荐答案

我经常遇到这个问题,让我分享我的经验:

I am facing this issue often,and let me share my experience:

遇到此问题时,我只是关闭了无线网络 连接,然后我将在无线网络中重新启动Netbeans 7.4 离线模式.重新启动后,我将部署所有应用程序 我必须执行一天.

when I experience this issue, I just switch off my wireless network connectivity and then I will restart Netbeans 7.4 in the wireless offline mode. Once it is restarted I will deploy all the applications which I have to execute for a day.

部署将成功完成.稍后您可以在系统中激活无线/网络连接,进一步的部署不会显示此错误.

Deployment will be done Successfully. Later you can activate wireless/network connectivity in your system,further deployment doesn't shows the error.

在关闭Neatbeans7.4之前,您可以进行部署,清理和构建,也可以做任何您想做的事情.

Until closing Neatbeans7.4, you can deploy,you can clean and build, you can do whatever you want.

但是,如果您打算再次重新启动IDE,请执行相同的操作,停用无线/网络连接并进行部署.

But if you are planning to restart the IDE again, Do the same, Deactivate the wireless/network connectivity and do the deployment.

我每天都按照上述步骤处理此问题.

I am handling this issue daily by following the above steps.

在激活无线/网络之前:

Before Wireless/Network Activation:

激活无线/网络后:

After Wireless/Network Activation:

这篇关于Apache Tomcat 7.0.14:build-impl.xml:1111:该模块尚未部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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