Hi Randall,
Are you running on Windows?
If not can you send some more information (if any) on what the error/
stack trace is and platform.
If so the problem may be that the Main class performs a System.in.read
() which has issues windows friendly. We have yet to find a good work
around, but i am tempted instead to replace it with a sleep statement
and tell users to quit using Ctrl-C. Could you try modifying the
sample to use a sleep statement and see if that fixes it.
Paul.
On Sep 17, 2008, at 10:46 PM, Randall Degges (rdegges) wrote:
> Hi all,
>
> I’m new with jersey and trying to get the hello world application
> to work correctly. I downloaded the hello world project fromhttp://
> download.java.net/maven/2/com/sun/jersey/samples/helloworld/0.9-ea/
> helloworld-0.9-ea-project.zip and built it with maven and ran it.
> The problem is… When I try to connect to http://localhost:9998/
> helloworld (the test link), I am getting Internal Server Error. I
> do not get the “hello world” textual response like I’m supposed to…
> Am I doing something wrong?
>
> Thanks!