In Netbeans 6.9, how to change Application Server

AgostinoX picture AgostinoX · Jun 25, 2011 · Viewed 19.5k times · Source

In Netbeans 6.9.1, i've created a web application wiht Glassfish Server 3.
(Undert the server textbox, java ee version defautls to "Java EE 6 Web").
Now I've installed an Apache tomcat 7 (actually it sees it as 6 because the 7 version was not provided in Netbeans 6.9.1).
The problem is that i'm no more allowed to choose Tomcat, it doesn't appear in the server combobox of the project properties.
If I do a web app from scratch, i can.
I tried to:
-remove WEB-INF/sun-config.xml
-close and reopen the project

Answer

Indunil Girihagama picture Indunil Girihagama · Jan 26, 2015
  • Rightclick on the project's name > 'properties' > 'run'
  • And try to change 'Server'