Here's the problem: I have a java "dynamic web project" under source control and checked out in my eclipse workspace. Before, I was able to run a servlet on a local Tomcat server from within eclipse. However, I pulled some changes which got rid of some files and added some new ones.
Now Eclipse looks like it's not deploying the web app to the tomcat directory. I looked at the folder where Eclipse previously deployed it (under .metadata) but nothing gets copied there anymore. I figure there's something wrong with my build configuration, what are some possible causes or steps to go through to find out the problem?
I am however able to deploy/run the web app with an Ant script that I have written, and it works correctly when executed.
Step 1: Click Help -> Install New Software. Step 2: In Work with add http://download.eclipse.org/releases/oxygen. If you are using any other Eclipse product like Neon then replace oxygen with neon. Step 3: Now expand checkbox with name Web, XML, Java EE and OSGi Enterprise Development.
Eclipse Java EE Developer Tools. Eclipse Java Web Developer Tools.
It's hard to say without more information. I'd start by checking any errors in console when starting Tomcat. How does the problem manifest, what got you looking if the files did get copied? If I'm unable to find a specific problem, there's some random stuff / voodoo rituals to try (sometimes Eclipse just needs a bit of attention):
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With