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

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
0
tsuiwaiming
Asked:
tsuiwaiming
1 Solution
 
Koma666Commented:
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now