JasperReport ClassNotFound

Meu código:

[code]<%@page contentType=“text/html” pageEncoding=“UTF-8”%>
<%@taglib uri=“http://java.sun.com/jstl/core_rt” prefix=“c”%>
<%@taglib uri=“http://java.sun.com/jstl/sql_rt” prefix=“sql”%>

<%@ page import=“java.sql.,java.util.,java.io.*”%>
<%@ page import=“net.sf.jasperreports.engine.JasperRunManager” %>

<%@ page import=“java.util.Map,java.util.HashMap” %>
<%@ page import=“java.io.*” %>

<%
Class.forName(“org.firebirdsql.jdbc.FBDriver”);
String url = “jdbc:firebirdsql:/3050:/firebird/banco.gdb?lc_ctype=ISO8859_1";
String user = "
”;
String password = “******”;
Connection c = DriverManager.getConnection( url, user, password );

// File jas = new File("/home/ibs/webapps/DPVAT/relatorio/aviso_sinistro/teste.jasper");

Map parameters = new HashMap();
parameters.put("CD_DAMS",new Integer(request.getParameter("CD_DAMS")));
parameters.put("CD_FILIAL",new Integer(1));
byte[] bytes = JasperRunManager.runReportToPdf("/home/ibs/webapps/DPVAT/relatorio/aviso_sinistro/teste.jasper", parameters, c);

response.setContentType("Content-Type: application/force-download");
response.setContentType("Content-Disposition: inline; filename= teste.jsp");
response.setContentLength(bytes.length);

ServletOutputStream ouputStream = response.getOutputStream();

ouputStream.write(bytes, 0, bytes.length);
ouputStream.flush();
ouputStream.close();

%>[/code]

The error …

javax.servlet.ServletException
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
	org.apache.jsp.relatorio.aviso_005fsinistro.aviso_005fsinistro_005fdpvat_jsp._jspService(aviso_005fsinistro_005fdpvat_jsp.java:94)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.NoClassDefFoundError
	java.lang.Class.forName0(Native Method)
	java.lang.Class.forName(Class.java:141)
	java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
	net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)
	net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:315)
	net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
	net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
	net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
	net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57)
	net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
	net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:234)
	net.sf.jasperreports.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:203)
	org.apache.jsp.relatorio.aviso_005fsinistro.aviso_005fsinistro_005fdpvat_jsp._jspService(aviso_005fsinistro_005fdpvat_jsp.java:77)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

e agora … onde esta o problema ? local funciona blz … joguei pro server e ja era…

vlw :?

Voce esta tentando executar em linux?

isso … servidor linux

http://www.guj.com.br/posts/list/20892.java