java - Why isn't eclipse deploying my Dynamic Web Project correctly? -


here's problem: have java "dynamic web project" under source control , checked out in eclipse workspace. before, able run servlet on local tomcat server within eclipse. however, pulled changes got rid of files , added new ones.

now eclipse looks it's not deploying web app tomcat directory. looked @ folder eclipse deployed (under .metadata) nothing gets copied there anymore. figure there's wrong build configuration, possible causes or steps go through find out problem?

i able deploy/run web app ant script have written, , works correctly when executed.

it's hard without more information. i'd start checking errors in console when starting tomcat. how problem manifest, got looking if files did copied? if i'm unable find specific problem, there's random stuff / voodoo rituals try (sometimes eclipse needs bit of attention):

  • check window / preferences , java / installed jres , server / runtime environments. click on edit, see if eclipse reports errors.
  • check project's build path - right click on project / build path / configure build path. go through tabs; red needs fixing.
  • try opening window / show view , @ both error log (which contains eclipse errors) , problems (any compiler warnings/problems).
  • sometimes project / clean helps.
  • try right clicking on server in servers view , choosing clean.
  • try starting eclipse -clean option.

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -