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

我的梦境 提交于 2019-12-02 02:02:26

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:

Check the web.xml file; all defined servlets in web.xml file should be in source. There may be some servlet definitions left behind after you delete or renamed servlet class files. If this is the case, netbeans still clean-build application successfully but cannot deploy.

First you have to check your XML files are valid or not.

Step1 If you are using NetBeans IDE just right click on XML file in your project and select validate

Step2 If xml files don't have any error the open your project location and delete the build.xml file and redeploy the application again.

It may be helpful to you. All the best

Where is the location of your project.If it is in C drive , this kind of problem may arise.Because , clean and build process requires some of the file modification.But , the c drive will not grant it.Just try the same after changing the location of project.

I faced above problem because I was using proxy server. Due to proxy server It is showing the Problem.

To solve this problem go to C:\Users\yourComputerName\AppData\Local\NetBeans and delete the cache folder.This definately solved my problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!