|
Re: a serious issue when deploying through Eclipse [message #1734918 is a reply to message #1734300] |
Mon, 13 June 2016 16:52 |
Larry Isaacs 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
|
|
|
Powered by
FUDForum. Page generated in 0.04281 seconds