• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

any changes in Java

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

I am bit new to Java.

I am doing restful web services using Jersey.
when i am trying out an downloaded example it gave errors for importing the following packages:

import javax.ws.rs.UriTemplate;
import javax.ws.rs.UriParam:

It says symbol could not be found;

In the Examples that are provided by Jersey.
They are using the followin packages everywhere and never used the above mentioned packages.

javax.ws.rs.Path;
javax.ws.rs.PathParam;

But I am seeing many examples other than those present in Jersey using UriTemplate and UriParam.

Am I missing something..or is Path equivalent to UriTemplate and PathParam equivalent to UriParam.

any insight would be great

Thanks,
Geetha
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's Jersey?

Anyway, if it's saying symbol not found it means your missing a jar in your compile class path.
 
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic