4 Replies Latest reply on Sep 26, 2008 3:10 PM by luxspes

    problem with importing jboss-seam-pdf.jar and iText.jar

    tonyukuk

      After I import these two files to my project's library I am not able to run my project.


      It gives me an error no class def form org.jboss.seam.utils.parameters and redirects me to an infinite loop.


      Do you have any ideas what the reason is?

        • 1. Re: problem with importing jboss-seam-pdf.jar and iText.jar

          georgiua kostasis wrote on Sep 25, 2008 16:30:


          After I import these two files to my project's library I am not able to run my project.


          Which two files? a .jar is one of them perhaps?


          It gives me an error no class def form org.jboss.seam.utils.parameters and redirects me to an infinite loop.

          Do you have any ideas what the reason is?


          Please do not post twice the same question.




          • 2. Re: problem with importing jboss-seam-pdf.jar and iText.jar

            Oh, I see the name of the files is in the title of the thread, sorry. (But I still think this is the same question as this).


            AFAIK you can not use jboss-seam-pdf.jar as a standalone file (you need to use it inside a Seam project, and one of those already includes this file), you can use iText.jar alone, but not as explained here, you have to use it as explained there.

            • 3. Re: problem with importing jboss-seam-pdf.jar and iText.jar
              tonyukuk
              I am sorry about posting the same question after I realise the reason why I get this error I asked it in a different way but you are right it is pretty same question. I add  xmlns:pdf="http://jboss.com/products/seam/pdf" to components.xml my project started to run again. Thanks for your help.

              There are not so many examples on the web about how to create a pdf file using seam. I just wanted to create a simple pdf file from a seam page. Is there any examples?
              • 4. Re: problem with importing jboss-seam-pdf.jar and iText.jar

                You can find an example inside the folder jboss-seam-2.0.2.SP1\examples\itext