Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-221

Weld logs misleading warning for NoClassDefFoundError: com.ocpsoft.pretty.faces.spi.ConfigurationProvider

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0.Beta4
    • Fix Version/s: Future
    • Component/s: URL Rewriting
    • Labels:
      None

      Description

      Caused by: java.lang.NoClassDefFoundError: com/ocpsoft/pretty/faces/spi/ConfigurationProvider
      at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_24]
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_24]
      at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_24]
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_24]
      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)
      ... 19 more

        Gliffy Diagrams

          Activity

          Hide
          lincolnthree Lincoln Baxter III added a comment -

          Not actually fixed... Darn.

          Show
          lincolnthree Lincoln Baxter III added a comment - Not actually fixed... Darn.
          Hide
          lelleh Leiv Hellebo added a comment -

          and not fixed in 3.1.0.Beta5

          Show
          lelleh Leiv Hellebo added a comment - and not fixed in 3.1.0.Beta5
          Hide
          lightguard Jason Porter added a comment -

          In which version of Weld is this a problem? Is it still a problem with 1.1.4? Also, is this really a problem with Seam Faces, or is it a Weld issue?

          Show
          lightguard Jason Porter added a comment - In which version of Weld is this a problem? Is it still a problem with 1.1.4? Also, is this really a problem with Seam Faces, or is it a Weld issue?
          Hide
          lightguard Jason Porter added a comment -

          I just did a deploy using Seam Faces SNAPSHOT with PrettyFaces 3.3.2, I did not see this error. Could you please verify?

          Show
          lightguard Jason Porter added a comment - I just did a deploy using Seam Faces SNAPSHOT with PrettyFaces 3.3.2, I did not see this error. Could you please verify?
          Hide
          lincolnthree Lincoln Baxter III added a comment -

          Jason, the error only occurs when PrettyFaces is not on the ClassPath

          Show
          lincolnthree Lincoln Baxter III added a comment - Jason, the error only occurs when PrettyFaces is not on the ClassPath
          Hide
          lincolnthree Lincoln Baxter III added a comment -

          In order to solve this in versions of weld where it occurs, we would need to create a separate JAR file containing only the PrettyFaces integration classes, then have people add that JAR when they want to use PrettyFaces. It's really a frustrating problem.

          Show
          lincolnthree Lincoln Baxter III added a comment - In order to solve this in versions of weld where it occurs, we would need to create a separate JAR file containing only the PrettyFaces integration classes, then have people add that JAR when they want to use PrettyFaces. It's really a frustrating problem.
          Hide
          lightguard Jason Porter added a comment -

          Yep, we have the same problem in Persistence and Security.

          Show
          lightguard Jason Porter added a comment - Yep, we have the same problem in Persistence and Security.
          Hide
          kwutzke Karsten Wutzke added a comment - - edited
          Show
          kwutzke Karsten Wutzke added a comment - - edited Still present, see https://community.jboss.org/thread/178509

            People

            • Assignee:
              Unassigned
              Reporter:
              lincolnthree Lincoln Baxter III
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Development