This is a Windows 7 development environment where Tomcat 7 is set to autostart in c:\tomcat7 folder. That does work fine but I want to test my Java (.JSP) code right inside Eclipse Neon interface. So I configure Tomcat inside Eclipse by pointing to c:\tomcat7 folder but I get the port 8080
already in use error.
I know what's happening: Tomcat is trying to start but it is already running. So I duplicated the c:\tomcat7 folder to a c:\tomcat7_for_eclipse folder, pointed Eclipse to that, then changed the port to 8081
via Eclipse but I now get an error:
Tomcat couldn't start;
and doing that actually stops the port 8080
instance of Tomcat.
There must be a simpler way to quickly deploy to the actual Tomcat to test applications or to do the port route as I tried above?
I am very new to Java, Eclipse, and Tomcat. So please bear with me: I have looked at online solutions but nothing helping so far.
Thanks!