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


i have been working on java web application , using smartgwt on netbeans 7.3 , out of sudden encountered problem. tried cleaning build-impl.xml restarting ide , should have low knowledge on this. can please tell me why giving error , how can fix that?

the error message says :

nbproject/build-impl.xml:1031: module has not been deployed. see server log details.  build failed (total time: 4 seconds) 

note: using tomcat 7.0.34

may late response useful others : sometimes, when don't specify server or servlet container @ creation of project, netbeans fails create context.xml file.

  1. in project under web pages, create folder called meta-inf.

do right mouse button clicking on web pages, , select:

new->other->other->file folder

name folder meta-inf. case important, on windows.

  1. create file called context.xml in meta-inf folder.

do right mouse button clicking on new meta-inf folder, , select:

new->other->xml->xml document

name context (netbeans adds .xml) select well-formed document press finish

  1. edit new document (context.xml), , add following:

    <?xml version="1.0" encoding="utf-8"?>  <context antijarlocking="true" path="/app-name"/>  

replace app-name name of application.

now in-place deployment should work. if not, make sure file can read everyone.

the context.xml file specific tomcat. more information file, see tomcat documentation @ tomcat.apache.org.


Comments