I am investigating this in more depth. I created 2 projects: hello and hello2. These projects are identical except that for hello I added maven support. In reading the educational material on maven4myeclipse it states that projects with maven support are still set up the way we’ve always done them and should function the same way. In both projects I created a servlet called Hello and let myeclipse create a default body. I am using tomcat 6.x on windows xp for my testing and debugging.
I deployed hello2 (no maven) to tomcat 6.x in both exploded and packaged forms. In both cases, I can hit the servlet and it works as expected.
I did the same thing (not running any maven commands at this point) on hello2 and in neither case did it work. When I inspected the webapps/hello/WEB-INF directory there is an empty classes directory. In webapps/hello2/WEB-INF there is a classes directory that is populated as expected.
I may have missed some key instructional information along the way. If so, would someone point me at it? Otherwise, is this a bug?
Thanks.
Dean