Thanks very much for your post.
I’ve been running maven2 setup in myeclipse. I’m having the problem whereby if my source output folder is /src/main/webapp/WEB-INF/classes, my tomcat runs well with hot deployment etc, but my JUnit tests don’t work, as they are expecting classes to be in /target/classes. But if I set my output folder as /target/classes, my JUnit tests work, but my tomcat deployment breaks because of an empty WEB-INF/classes directory.
One way around it is to configure each tests, and add to test’s classpath, the WEB-INF/classes directory, but this is a pain if I’m running and writing a lot of tests.
Have you come accross this problem before? I’d like to get it setup so that both JUnit and the tomcat deploy both work off the same classes folder, preferably target/classes.
Any advice would be appreciated.