Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

build-impl.xml:1031: The module has not been deployed

I have been working on a Java web application and i am using SmartGwt on Netbeans 7.3 and out of a sudden I encountered this problem. I tried cleaning the build-impl.xml then restarting the IDE and I should say I have fairly low knowledge on this. Can someone please tell me why it is giving an error and how I can fix that?

The error message says :

nbproject/build-impl.xml:1031: The module has not been deployed. See the server log for details. 
BUILD FAILED (total time: 4 seconds)

Note: i am using Tomcat 7.0.34

like image 824
Kromer Avatar asked May 06 '13 14:05

Kromer


2 Answers

Take a look at the server logs!

I had been with this for hours. The awful Tomcat servlet is not very helpful neither but if you can see the stacktrace that should be enough.

For instance, I read the following error message there:

Caused by: java.lang.IllegalArgumentException: The servlets named [DetailsServlet] and [AddToCart] are both mapped to the url-pattern [/carrito] which is not permitted

As you can see, the message was pretty clear and easy to fix :-)

like image 91
Lucio Avatar answered Oct 19 '22 04:10

Lucio


Start your IDE with administrative privilege( Windows: right click and run as admin), so that it has read write access to tomact folder for deployment. It worked for me.

like image 31
Shamsuddin Altamash Avatar answered Oct 19 '22 04:10

Shamsuddin Altamash