If you want to stick to tomcat (tighter integration with eclipse through WTP or other plugins, running webapps in debug, ...), there's a nice tutorial for the setup at http://mail-archives.apache.org/mod_mbox/maven-users/200608.mbox/[EMAIL PROTECTED] I use this and it works fine (although I had to tweak a few things, ask me if you want more details)
HTH Ch. 2006/10/8, Jesse Kuhnert <[EMAIL PROTECTED]>:
I'd use jetty if given the choice during development. It literally only takes a line or two to make your pom.xml capable of running your existing web app without doing anything else. Very nice/convenient. Look at TimeTracker's pom.xml for an example. It's what I use during dev at least..(most of the time..) On 10/8/06, Leo Sakhvoruk <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to use the latest snapshot builds of Tapestry via Maven for > the project I'm working on in Eclipse. I use Tomcat via a launcher from > Eclipse to debug the application and have had 0 problems with it while > adding library jars to the WEB-INF/lib directory of the project I work > on. Now that I'm using Maven though the libraries are stored in the > local repository and not under WEB-INF/lib and this is causing issues > with debugging via Tomcat. I'm sure this is a class loading issue but > when I start Tomcat from Eclipse the application fails to start and I > get this error: > > SEVERE: Exception starting filter redirect > java.lang.ClassNotFoundException: org.apache.tapestry.RedirectFilter > at > org.apache.catalina.loader.WebappClassLoader.loadClass( > WebappClassLoader.java:1352) > at > org.apache.catalina.loader.WebappClassLoader.loadClass( > WebappClassLoader.java:1198) > at > org.apache.catalina.core.ApplicationFilterConfig.getFilter( > ApplicationFilterConfig.java:209) > at > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef( > ApplicationFilterConfig.java:304) > at > org.apache.catalina.core.ApplicationFilterConfig.<init>( > ApplicationFilterConfig.java:77) > at > org.apache.catalina.core.StandardContext.filterStart( StandardContext.java > :3600) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java :4193) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java > :1013) > at org.apache.catalina.core.StandardHost.start(StandardHost.java :718) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java > :1013) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) > at > org.apache.catalina.core.StandardService.start(StandardService.java:450) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:709) > at org.apache.catalina.startup.Catalina.start(Catalina.java:551) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) > Oct 7, 2006 11:28:37 PM org.apache.catalina.core.StandardContext start > SEVERE: Error filterStart > > So Tomcat can't locate Tapestry libraries. My application compiles fine > so the compiler can see them in Eclipse just fine. Is there a > configuration option I'm missing or is there another solution? > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com