I am trying to deploy a simple web application to Tomcat through Eclipse, but when I got the deployment folder in Tomcat, I see the Web-inf/classes/<class package-structure> but there are no class files contained within them and as such I am getting class not found exceptions. However, when Iun-pack the WAR myself, I see the .class files there. I am using the following.
When I try to deploy to the embedded tomcat, it is not copying the .class files. Is it possible that I am missing a configuration? When I build the WAR through Maven, the class files ARE a part of the WAR file, so I know that the class files are there and they are generated. It is just not copied to my embedded Tomcat.
I am deploying automatically to the embedded tomcat server through eclipse by publishing it to the server after I run the M2Eclipse (Maven for eclipse) on my project. When I publish the WAR, the class files are not getting copied over to the embedded tomcat server. I am using Eclipse Ganymede with the WTP package.
Thanks for the help. I do not believe it has something to do with Maven, but with how the workspace gets published to Tomcat 6 by Eclipse. I will keep looking into it and I will let you know what I come up with.