Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4194

oauth sample not working in CXF 2.6.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 2.6
    • Component/s: Samples
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gmazza Glen Mazza
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: