开发者

GlassFish 3.1 Netbeanz 7 and REST web services

开发者 https://www.devze.com 2023-02-24 22:20 出处:网络
I tried to run example here http://download.oracle.com/javaee/6/tutorial/doc/gipzz.htmland didnt work...There is a bug开发者_Go百科 at netbeans site but i couldnt understand what they are talking abo

I tried to run example here http://download.oracle.com/javaee/6/tutorial/doc/gipzz.html and didnt work... There is a bug开发者_Go百科 at netbeans site but i couldnt understand what they are talking about.

It seems that wadl file isnt created....

However a workaround for this was to use the servlet com.sun.jersey.spi.container.servlet.ServletContainer

and seems to work...

Does anyone knows whats wrong ??


The RESTful stuff in NetBeans and Glassfish definitely works, I use it on a daily basis.

Try following this NetBeans tutorial and see if you get anywhere. I've always found the tutorials on the NetBeans site too be very helpful, and easy to follow.


Just to answer.. The problem was that i did the mistake to use the glassfish version that came with Netbeans. This doesnt work . Installing glassfish seperately did work greatly.

0

精彩评论

暂无评论...
验证码 换一张
取 消