404 With Tomcat Server in Eclipse Ganymede [message #221474] |
Tue, 16 September 2008 16:53 |
Eclipse User |
|
|
|
Originally posted by: dhicks.i-hicks.org
I know that things like this have been covered about a million times in
various places, but none of the solutions have been helpful for me.
I've got a project that began life as the "quickstart" Struts2 example.
I set it up as a Dynamic Web Project under Eclipse. When I run the
example using the Maven script "mvn jetty:run" all is fine. When I run
it in the server under Eclipse, I get a 404.
It seems like the project module isn't being linked (published?) to the
Tomcat server, but AFAIK it's all set up properly. I'm out of ideas
where to look. Any thoughts?
Thanks,
Dave
|
|
|
|
Re: 404 With Tomcat Server in Eclipse Ganymede [message #221490 is a reply to message #221482] |
Tue, 16 September 2008 18:07 |
Eclipse User |
|
|
|
Originally posted by: dhicks.i-hicks.org
Thanks for the feedback, Larry.
It worked out that I was just coming back here to report that I have *a*
solution. I installed Tomcat 6 and set a server up using it as the
base. Now, everything is happy. For some reason, Tomcat 5 just
wouldn't fly.
Maybe there's a bug, or maybe I had something horked up in Tomcat 5's
files. I'm happy with my current configuration, though.
Thanks again!
Larry Isaacs wrote:
> David C. Hicks wrote:
>> I know that things like this have been covered about a million times
>> in various places, but none of the solutions have been helpful for me.
>>
>> I've got a project that began life as the "quickstart" Struts2
>> example. I set it up as a Dynamic Web Project under Eclipse. When I
>> run the example using the Maven script "mvn jetty:run" all is fine.
>> When I run it in the server under Eclipse, I get a 404.
>>
>> It seems like the project module isn't being linked (published?) to
>> the Tomcat server, but AFAIK it's all set up properly. I'm out of
>> ideas where to look. Any thoughts?
>>
>> Thanks,
>> Dave
>
> With 404 as the only clue, it's hard to guess what is wrong. Tomcat
> uses 404 as the error for many cases in order to avoid disclosing
> information about what actually went wrong, something a potential
> attacker might find useful.
>
> For information about the Tomcat support that comes with WTP, see:
>
> http://wiki.eclipse.org/WTP_Tomcat_FAQ
>
> Cheers,
> Larry
|
|
|
Powered by
FUDForum. Page generated in 0.01993 seconds