0 Replies Latest reply on Mar 4, 2005 4:01 AM by Marco

    error with Jasper on JBoss 3.2.5

    Marco Novice

      Hello all,
      I have written a webapp that uses jasper to generate a report from Some data in the database. I have deployed my application on JBoss 3.2.5, and In my webapp\WEB-INF\lib I have included jasperreports-0.6.4.jar as well as bsh-1.3.0.jar.

      When I run my application to generate a report, I got back following exception

      21:52:24,000 ERROR [Engine] StandardWrapperValve[StrutsActionServlet]:
      Servlet.s
      ervice() for servlet StrutsActionServlet threw exception
      java.lang.NoClassDefFoundError: bsh/Interpreter
      at bsh.Name.consumeNextObjectField(Unknown Source)
      at bsh.Name.toObject(Unknown Source)
      at bsh.Name.toObject(Unknown Source)
      at bsh.NameSpace.get(Unknown Source)
      at bsh.Interpreter.get(Unknown Source)
      at bsh.Interpreter.getu(Unknown Source)
      at bsh.Interpreter.(Unknown Source)
      at bsh.Interpreter.(Unknown Source)
      at bsh.Interpreter.(Unknown Source)
      at net.sf.jasperreports.engine.fill.JRBshCalculator.(JRBshCalculat
      or.java:112)
      at net.sf.jasperreports.engine.design.JRBshCompiler.compileReport(JRBshC
      ompiler.java:125)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JR
      DefaultCompiler.java:149)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(Jasper
      CompileManager.java:255)@gmail.com


      Has anyone experienced a similar problem? Is it a JBOss problem?

      Thanx in advance and regards
      marco