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.
- 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.
- create file called
context.xmlinmeta-inffolder.
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
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
Post a Comment