users@jersey.java.net

Re: [Jersey] No Restful file type in NB 6.7 & Glassfish3 on Mac OS X

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 09 Jul 2009 16:09:34 +0200

Hi Doug,

What type of project did you created? did you create Web project ?
AFAIK the creation wizards will only work for Web projects (maven or
ant based).

For example if you download:

   http://download.java.net/maven/2/com/sun/jersey/samples/helloworld-webapp/1.1.0-ea/helloworld-webapp-1.1.0-ea-project.zip

unzip it and load it into NB 6.7, right click on the "Source Packages"-
>New->Other... then select Web Services you should see a list of
"RESTful" file types.

Do you have a link to the tutorial?

Paul.

On Jul 9, 2009, at 3:26 PM, Doug Graham wrote:

> I understand that this is most likely a Netbeans issue, but I'm
> desperate for help. Maybe you've seen this problem and have a
> solution.
>
> Following the Sun GuessDukesAge tutorial for a first app I try to
> "Create the DukesAgeResource Class". Click new file, select Web
> Services in the Categories pane. However, when I try to select
> Restful from the file type there's no Restful. Only 6 other types.
>
> I have uninstalled it and reinstalled Jersey Restful. Rebooted NB a
> lot. No results.
>
> Any suggestions?
>
> thank you,
> Doug
>