3 Replies Latest reply on Mar 27, 2012 9:44 PM by Anderson Freitas

    Problem Migrating Excel Seam 2.1.0.SP1 app to JBoss 5

    Luca Molteni Newbie

      Hello, I'm trying to migrating to jboss 5 an app written with Seam 2.1.0.SP1.


      I have packaged seam in the war, instead of using the new one provided with jboss 5.


      I wouldn't like to change seam libraries.


      I'm having a problem with the seam-excel library, that use



      getClass().getResourceAsStream(String);



      Parser.java:179


      To get the .css file for formatting the excel.


      Apparantly, in JBoss 5 with JDK 6 getResourceAsStream finds the resource in the jar of the library, and it doesn't found any css file (mine is located in the root (/) of the war).


      Any ideas on some workaround to avoid this?


      I can copy my .css in the seam-excel.jar (bleargh). I definitely don't want to  do that way.


      Thank you very much indeed.