【发布时间】:2014-03-22 05:18:06
【问题描述】:
在 Netbeans7.4 中部署项目时,它没有在 Apache Tomcat 7.0.14 中部署项目,它显示如下
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)
built-impl.xml 的第 1111 行是
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false"
forceRedeploy="${forceRedeploy}"/>
为了解决上述问题,我关注了link
我的context.xml 文件包含
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/atom"/>
所有权限都是为普通用户设置的
如何解决此问题,此错误的其他原因可能是什么
编辑:现在安装了 Netbeans 8.0 和 Apache Tomcat 8 然后也显示同样的问题
我正在使用struts2.3.15 和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>
【问题讨论】:
-
如果可能,最好查看服务器日志。检查您机器上可用的tomcat Apache Tomcat 7.0.14。浏览到它,然后浏览到日志并查看它是否正在生成包含应用程序部署失败的原始错误的日志。
-
我也从未尝试过,但可能会将 built-impl.xml 中的行更改为 debugmode="true"。可能您会看到更详细的错误消息。
标签: java netbeans tomcat7 netbeans-7 meta-inf