Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Configuring project to run in tomcat(How to configure Dynamic Web Project to run in Tomcat App server)
Configuring project to run in tomcat [message #1809685] Sat, 20 July 2019 09:30 Go to next message
David Hickman is currently offline David HickmanFriend
Messages: 5
Registered: June 2019
Junior Member
Hi
I am using Eclipse 18-12 and have created a Dynamic Web Project which builds and deploys using ant to an external tomcat 9 installation. I am trying to now run this using internal tomcat so I can debug it. I have created a Server for tomcat and added the project source and libs to the Server Run Configuration and have specified external Chrome browser. When I run this the console says the app has been deployed yet the url it is using is the context root, in this case, domain-agent. I want to configure this to be domain-agent/index.
Also, how can I get the project to rebuild before tomcat is started
Re: Configuring project to run in tomcat [message #1809704 is a reply to message #1809685] Sun, 21 July 2019 09:52 Go to previous messageGo to next message
David Hickman is currently offline David HickmanFriend
Messages: 5
Registered: June 2019
Junior Member
I have changed the Spring MVC to include RequestMapping for the application root and that bit works ok but still interested to see how to get the project rebuilt when the app is started
Re: Configuring project to run in tomcat [message #1809706 is a reply to message #1809704] Sun, 21 July 2019 14:25 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

The app is usually built by virtue of being inside the project,
rather than just a launch configuration. It then has the same
traits as any project's contents.


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Error running eclipse project in internal Tomcat
Next Topic:mark Asterisk (*** )
Goto Forum:
  


Current Time: Thu Apr 25 05:33:10 GMT 2024

Powered by FUDForum. Page generated in 0.08187 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top