• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
aditee sharma
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!