Skip to content

Class not found when loading object from file #164

@mkhalid87

Description

@mkhalid87

Hi,

I try to run my own jasper report, the default report "test" is running fine. But my report get the error:

HTTP Status 500 – Internal Server Error
Type Exception Report

Message Class not found when loading object from file: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\WEB-INF\reports\print_exam_sky.jasper.

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.RuntimeException: Class not found when loading object from file: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\WEB-INF\reports\print_exam_sky.jasper.
	de.oc.utils.Utils.throwRuntimeException(Unknown Source)
	de.oc.integration.jasper.webapp.ReportWrapper.service(Unknown Source)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Note The full stack trace of the root cause is available in the server logs.

I am using:

  • Oracle XE 11g
  • Tomcat9
JasperReportsIntegration-2.4.0.0
Configuration Info
The current configuration is loaded from: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\\WEB-INF
Config-Directory: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\\WEB-INF\conf
Config-File: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\\WEB-INF\conf\application.properties
Reports-Directory: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\\WEB-INF\reports
Temp-Directory: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\\report_tmp
Logs-Directory: C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\JasperReportsIntegration\\WEB-INF\logs
Java-Runtime-Version: 1.8.0_202
JasperReports-Version: 6.4.1
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions