4 Replies Latest reply on Mar 13, 2008 8:40 AM by Gianni Doe

    Cant instantiate class: org.jboss.seam.pdf.ui.UIAnchor

    Gianni Doe Newbie

      Hi, I'm getting startup errors for seam-pdf with 2.0.1.GA:



      |2008-03-12 09:02:16,122 WARN  [javax.enterprise.resource.webcontainer.jsf.application] JSF1004: Cannot instantiate component of type org.jboss.seam.pdf.ui.UIAnchor
      2008-03-12 09:02:16,122 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ResPrompt]] org.jboss.seam.pdf.ui.UIAnchor
      javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: org.jboss.seam.pdf.ui.UIAnchor.
           at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:545)
      ....
      Caused by: javax.faces.FacesException: Cant instantiate class: org.jboss.seam.pdf.ui.UIAnchor.
           at com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1016)
           at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:539)
           ... 94 more
      Caused by: java.lang.NoClassDefFoundError: com/lowagie/text/Font
           at java.lang.Class.getDeclaredMethods0(Native Method)
           at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
           at java.lang.Class.getDeclaredMethods(Class.java:1763)|



      I've checked the iText jar and com.lowagie.text.Font is not present.