Path: csiph.com!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!enother.net!enother.net!enother.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: jersey / jackson application not accessable Date: Tue, 29 Nov 2016 20:57:13 -0500 Organization: Aioe.org NNTP Server Lines: 25 Message-ID: References: NNTP-Posting-Host: PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35993 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