• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

javax.xml comppile problem

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

Hi,

I am trying to compile some demo code from a big company (google actually) ,there error comes up under both javaSE and java EE
1.6. Do I need an external library?


Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The type javax.xml.rpc.ServiceException cannot be resolved. It is indirectly referenced from required .class files
The method getService(AdWordsService) from the type AdWordsUser refers to the missing type ServiceException

at v200906.AddKeywordDemo.main(AddKeywordDemo.java:31)


Thanks
Brian
 
Marshal
Posts: 76095
362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you probably do need an external library, and may need to add it to your classpath with the -cp option.

Moving thread as not a "beginning" question.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Download axis-jaxrpc-1.2.1.jar file and add to your classpath.



Regards
Jaseem Ambalangadan
 
reply
    Bookmark Topic Watch Topic
  • New Topic