Apache Tomcat 7.0.14:build-impl.xml:1111: The module has not been deployed

77,634

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

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.

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

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:

Share:
77,634
xrcwrn
Author by

xrcwrn

I am Teacher Learner and Programmer love to develop applications My websites are Online Tutorial Social Network GST Invoicing and billing

Updated on May 11, 2020

Comments

  • xrcwrn
    xrcwrn almost 4 years

    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) 
    

    line no:1111 at built-impl.xml is

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

    To resolve above problem I have followed this link

    My context.xml file contains

    <?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

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

    My web.xml content is

    <?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>
    
  • xrcwrn
    xrcwrn about 10 years
    see my web.xml contents
  • jdiver
    jdiver about 10 years
    This error occurs when any class is not found in project. Check that "business.schedular.QuartzSchedulerListener" class is included in your project and also struts2 is there.
  • jdiver
    jdiver about 10 years
    I am not sure if it matters but there are spaces before and after " business.schedular.QuartzSchedulerListener ".
  • xrcwrn
    xrcwrn about 10 years
    Yes after deactivating wireless it is successful deploying but on browser it is showing 404 please see this link imgur.com/a/LsFli
  • Mathu
    Mathu about 10 years
    It seems the error is in your struts action configuration file(struts.xml). You have created an action in jsp but haven't mapped any class and method to perform that action in java. So please check it.
  • Mathu
    Mathu about 10 years
    @xrcwrn "Module has not been deployed",for this issue, the above is the solution, if you feel the same, mark it as right answer :)
  • xrcwrn
    xrcwrn about 10 years
    According to my situation this was my problem. Later 404 error was due to jsp page path problem now every thing has resolved. thanks alot
  • Mathu
    Mathu about 10 years
    @xrcwrn You are Welcome :) Good Luck
  • LEMUEL  ADANE
    LEMUEL ADANE about 9 years
    This solution is not targeting the real problem. isn't it?
  • Shashanth
    Shashanth almost 7 years
    After following this step I've re-installed my Netbeans.
  • Shashanth
    Shashanth over 6 years
    After following your solution my Netbeans stopped working. So, re-installed it.
  • Sharmila
    Sharmila over 6 years
    you just had to restart the Netbeans