Avatar of cofactor
cofactor

asked on 

netbeans5 project did not run!

hi,
i created an web application project(following the screen instructions).

this is very basic and simple application.

but it did not run . what happened ?


the log message is :

.........
.........

FAIL - Failed to deploy application at context path /strutsProject



FAIL - Failed to deploy application at context path /strutsProject

E:\netbeanproject\strutsProject\nbproject\build-impl.xml:440: Deployment error:

The module has not been deployed.

See the server log for details.

BUILD FAILED (total time: 0 seconds)





build-impl.xml:440(autogenerated)  has the following code..

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





the code around this snippet is

 <target name="run" depends="run-deploy,run-display-browser" description="Deploy to server and show in browser."/>
    <target name="run-deploy" depends="init,compile,compile-jsps,-do-compile-single-jsp,dist">
        <nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>
    </target>




can you tell whats happened ? why its not deploying ?


 
thanks
Java

Avatar of undefined
Last Comment
IcyMonkey
Avatar of Mayank S
Mayank S
Flag of India image

>> See the server log for details.

Did you see the server log?
Avatar of Mayank S
Mayank S
Flag of India image

>> The module has not been deployed.

Oh, you need to deploy the web module on the server first.
ASKER CERTIFIED SOLUTION
Avatar of Mayank S
Mayank S
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of cofactor
cofactor

ASKER

i used

1. clean and build project  // build successful

2 .run project  // deploy failed


there is nothing in the server log.  when i open up the
>E:\netbeanproject\strutsProject\nbproject\build-impl.xml:440: Deployment error:


i got to see,
<nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>  highlighted.

what is this ?

what it could not deploy ?
Avatar of Mayank S
Mayank S
Flag of India image

When you created that project, did you set it as the main project? Try to see the link I posted.
Avatar of cofactor
cofactor

ASKER

here are the steps i followed


1.  New Project (choose "web")

2.  write the name of project [keep everything default]

3.  next


This would create a sample web apps.


now "clean and build" project

"Run  project"


and that produced those errors.

Avatar of cofactor
cofactor

ASKER

>When you created that project, did you set it as the main project? Try to see the link I posted.

Yes. i did.
Avatar of Mayank S
Mayank S
Flag of India image

Did you register a local server instance with the IDE?
Avatar of cofactor
cofactor

ASKER

It comes with  with Tomcat 5.5.9 bundled.

I am  using Netbeans 5 . Tomcat is in-built
Avatar of Mayank S
Mayank S
Flag of India image

I know, but you need to register a local server instance. See the link I posted, like I already said many times.
Avatar of IcyMonkey
IcyMonkey

This is a horribly left question with an answer and link that does not work?! :(
Avatar of IcyMonkey
IcyMonkey

Ok try 2.
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo