NetBeans IDE 6.5.1: Project Deleted When Being Run

Dear all,
   I've downloaded NetBeans 6.5.1 and followed the tutorial from the following link:

http://www.netbeans.org/kb/60/web/quickstart-webapps.html

When I pressed F6 to run the project, I was prompted the following:

HelloWeb:
Cannot find the Web Pages folder "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\HelloWeb".
Open the project properties and in the Sources category browse the correct Web Pages folder.

The whole project was deleted when I was prompted the above message. I needed to follow the tutorial once more. When I run the project again, the same happened.

I'm using...
NetBeans IDE 6.5.1
Tomcat 5.5
Window Vista

Regards,
Ming
tsuiwaimingAsked:
Who is Participating?
 
Koma666Connect With a Mentor Commented:
Hi, looks like you set the deploy directory to the project directory, now if you run the project it deletes the folder to redeploy it, check you settings for deploy directory and set it to the tomcat webapp folder.
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.

All Courses

From novice to tech pro — start learning today.