• 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

java.lang.IllegalAccessError while accessing CXF jax-ws webservice

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Using Maven 2.1 + CXF 2.1 + jdk 1.5+ jax-ws , I made a webservice (packaged as a ear file) and deployed on Weblogic 9.2.
However, upon accessing the web service, I got an error :


This error wasn't there earlier when I developed the web service a few days ago.
My guess is that Maven has downloaded some new jars that are not compatible, but I could be wrong.
Can any body help me figure it out?
 
aditee sharma
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem was somewhere between my table and my chair.
Instead of doing mvn clean install, I did mvn clean package. That lead to library conflicts.
Also, reordered the classpath of some resource xmls in cxf-servlet.xml.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic