oauth sample not working in CXF 2.6.0
-------------------------------------
Key: CXF-4194
URL: https://issues.apache.org/jira/browse/CXF-4194
Project: CXF
Issue Type: Bug
Components: Samples
Reporter: Glen Mazza
Priority: Minor
Fix For: 2.6
Attempting the run the OAuth sample in CXF 2.6 returns the following error:
oauth: failure: 2012-03-20 17:01:19.450:WARN::Nested in
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'resourceServer': Cannot resolve reference to bean 'resource' while
setting bean property 'serviceBeans' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'resource' defined in ServletContext resource
[/WEB-INF/oauth-beans.xml]: Initialization of bean failed; nested exception is
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
at
net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
at
net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
at
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
at
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira