Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » a serious issue when deploying through Eclipse(a serious issue when deploying through Eclipse)
a serious issue when deploying through Eclipse [message #1734300] Mon, 06 June 2016 23:24 Go to next message
Yoni Keren is currently offline Yoni KerenFriend
Messages: 1
Registered: June 2016
Junior Member
Hi!


So when I compile my project through maven and deploy it through my Tomcat desktop app,everything is working fine (so the URI http://localhost:8080/simpleapp/users give me the response which I expected). However, when I run my project through Eclipse, I always get t he default 404 Tomcat page (Not found).

This makes debugging a living hell! (More time,and I can't do a step by step debugging of my server side app). What could be the issue?


I should mention that this Eclipse server does work on some other project which was built through a different Maven archetype.
How do I find out what is the issue systematically and fix it?

Thanks in advance!
Re: a serious issue when deploying through Eclipse [message #1734918 is a reply to message #1734300] Mon, 13 June 2016 16:52 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 6/7/2016 3:32 PM, Yoni Keren wrote:
> Hi!
>
>
> So when I compile my project through maven and deploy it through my
> Tomcat desktop app,everything is working fine (so the URI
> http://localhost:8080/simpleapp/users give me the response which I
> expected). However, when I run my project through Eclipse, I always get
> t he default 404 Tomcat page (Not found).
>
> This makes debugging a living hell! (More time,and I can't do a step by
> step debugging of my server side app). What could be the issue?
>
>
> I should mention that this Eclipse server does work on some other
> project which was built through a different Maven archetype.
> How do I find out what is the issue systematically and fix it?
>
> Thanks in advance!

Assuming this is still a problem, you can check where Eclipse is
publishing the project and see what is getting published and what isn't.
The project Properties -> Deployment Assembly page is what controls
what gets published. I'm guessing that maven was used to generate the
Eclipse project files, which I've heard can yield mixed results
depending on circumstances. I don't use maven, so I don't have anything
in the way of specifics to offer. HTH.

Cheers,
Larry
Previous Topic:How to create an IJavaScriptProject?
Next Topic:Web-ContextPath changed after running maven update
Goto Forum:
  


Current Time: Fri Nov 15 05:08:01 GMT 2024

Powered by FUDForum. Page generated in 0.02406 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top