Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #35993

Re: jersey / jackson application not accessable

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: jersey / jackson application not accessable
Date 2016-11-29 20:57 -0500
Organization Aioe.org NNTP Server
Message-ID <o1lblo$1kls$1@gioia.aioe.org> (permalink)
References <e61c26e0-69b8-4f92-aa44-d97c8f51d909@googlegroups.com>

Show all headers | View raw


On 11/29/2016 3:33 AM, Philipp Kraus wrote:
> I'm new wil Java REST APIs, but not with REST generally. I have
> tested my REST service and on the first try (everything is build in a
> "fat" package) it works, but now I have split-up my application in a
> single package (for modularization), but if I use it in my Jetty
> server the URL is not accessable (404 error).

> but this don't work. If I put the components from my REST project
> into the application, it will work, so I think I have done a mistake
> by building this package. If you want to build all projects you need
> a dependency to https://github.com/LightJason/AgentSpeak All three
> projects are currently under heavy development, so sorry for this
> patchwork
>
> I expected when the application / resource class is loaded, it binds
> the singleton class (with the URL structure) and the dependency to
> jackson to the server and so, I can get access to the URL., but I
> think there is a mistake in my mind about the binding process.
>
> Can you explain me, what I have done wrong?

Anything relevant in the servers log file?

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

jersey / jackson application not accessable Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-11-29 00:33 -0800
  Re: jersey / jackson application not accessable Arne Vajhøj <arne@vajhoej.dk> - 2016-11-29 20:57 -0500
    Re: jersey / jackson application not accessable Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-11-29 23:47 -0800

csiph-web