• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3619
  • Last Modified:

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
0
cofactor
Asked:
cofactor
  • 6
  • 4
  • 2
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
>> See the server log for details.

Did you see the server log?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
>> The module has not been deployed.

Oh, you need to deploy the web module on the server first.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
cofactorAuthor Commented:
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 ?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
When you created that project, did you set it as the main project? Try to see the link I posted.
0
 
cofactorAuthor Commented:
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.

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

Yes. i did.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Did you register a local server instance with the IDE?
0
 
cofactorAuthor Commented:
It comes with  with Tomcat 5.5.9 bundled.

I am  using Netbeans 5 . Tomcat is in-built
0
 
Mayank SAssociate Director - Product EngineeringCommented:
I know, but you need to register a local server instance. See the link I posted, like I already said many times.
0
 
IcyMonkeyCommented:
This is a horribly left question with an answer and link that does not work?! :(
0
 
IcyMonkeyCommented:
Ok try 2.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 6
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now