Problem : Why do I get this error:No suitable Deployment Server is defined for the project or globally?

Problem : Why do I get this error:No suitable Deployment Server is defined for the project or globally?

Hi, I am trying to get past this error in netbeans when compiling JAVA code

No suitable Deployment Server is defined for the project or globally

I am using Tomcat 5.5


Solution: Why do I get this error:No suitable Deployment Server is defined for the project or globally?

Go to the Services window (should be active on the left next to Projects and Files window) and right click on the Servers. From there you can define your own server.