Jump to content
Changes to the Jaspersoft community edition download ×

java.lang.NoClassDefFoundError: dori/jasper/v

Recommended Posts

By: Dejan - dnikolov

java.lang.NoClassDefFoundError: dori/jasper/v

2002-05-29 05:50

Hi I have compiled report with jasperreports0.3.1

I can view report with taskview.bat.

But in my application developed with Jdeveloper

I get Error:


java.lang.NoClassDefFoundError: dori/jasper/view/JRPageViewer


I put jasperreports0.3.1.jar but I get the error.

I do this:


JasperReport jasper = JasperManager.loadReport(jasperFile);



With earlier version I don t have problem.

What is the problem?





By: Teodor Danciu - teodord

RE: java.lang.NoClassDefFoundError: dori/jasper/v

2002-05-29 07:33




In the new version of the library, the class

dori.jasper.view.JRPageViewer is not present


The viewers were entirely rewritten.


Make sure you don't have an older version of the

library present in the classpath or that you don't

use JRPageViewer in your code.

The equivalent of this would be JRViewer, which is

a component that you can easy integrate in your



Thank you,





By: Dejan - dnikolov

RE: java.lang.NoClassDefFoundError: dori/jasper/v

2002-05-30 03:28

I have last version of jasperreports.jar.

I success to load jasper file compiled with jasperreports0.3.1.jar

If i have older version of jasperreports in my classpath file not be loaded

I success to print report but I cant see preview.

I don t understand why dori/jasper/view/JRPageViewer

is demanded ?

This is happened in Jdeveloper not in development of report

When I build report I don t have problem

In Jdeveloper I use the same jar file.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...