Re: Struts + Maven + Eclipse problem

2008-02-13 Thread Randy Burgess
Have you run "mvn eclipse:eclipse" in the project directory? Have you set the web root for the project in Eclipse? I had to do both when creating a Struts Maven project from the command line. This structure sounds like the project that is created from the following which was discussed on the list n

Re: [OT] Re: Struts + Maven + Eclipse problem

2008-02-12 Thread Wes Wannemacher
I use maven + struts + eclipse + tomcat as my primary dev environment. After having maven create the archetype, you should also go into the project directory and do 'mvn eclipse:eclipse -Dwtpversion=1.5' This will create .project and a few other files that will help eclipse do what it needs to do.

Re: [OT] Re: Struts + Maven + Eclipse problem

2008-02-12 Thread Gaurav Arora
The application works when I make a war and deploy it in tomcat but not when I try to run tomcat from eclipse directly. It's obvious that the problem has something to do with eclipse, so you're right, this probably isn't the forum for it. But i'm still wondering if people still use the Eclipse + M

[OT] Re: Struts + Maven + Eclipse problem

2008-02-12 Thread Dave Newton
--- Gaurav Arora <[EMAIL PROTECTED]> wrote: > Tried to put a namespace="/" attribute in package tag, that didn't > work. Where do I find the config-browser plugin? It's a standard S2 plugin shipped with the distro. > Yeah, I get an error when I access > http://localhost:8080/application/index.act

Re: Struts + Maven + Eclipse problem

2008-02-12 Thread Gaurav Arora
Tried to put a namespace="/" attribute in package tag, that didn't work. Where do I find the config-browser plugin? Yeah, I get an error when I access http://localhost:8080/application/index.action. The struts.xml file is in the classes directory. As for the eclipse build, I changed the default o

Re: Struts + Maven + Eclipse problem

2008-02-12 Thread Dave Newton
--- Gaurav Arora <[EMAIL PROTECTED]> wrote: > > > > /jsp/index.jsp > > > /jsp/index.jsp > /jsp/helloWorld.jsp > > > What happens if you put a namespace="/"

Re: Struts + Maven + Eclipse problem

2008-02-12 Thread Lukasz Lenart
Set package namespace to "/" Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]