Jump to content
Changes to the Jaspersoft community edition download ×

reports with mySQL, jasperreport-0.6.5,2jsdk.


Recommended Posts

By: sundile - sundile

reports with mySQL, jasperreport-0.6.5,2jsdk.

2005-04-18 00:09

 

 

 

Hi everyone

 

I'm working on an urgent project. I'm using mySQL database ,jasperreports-0.6.5 vesion and j2sdk java. My problem is that when I import some of the jasper packsges like net.sf.jasperreports.engine or dori.jasper.engine.jasperManager, the j2sdk never recognise them. The error message is as follows

 

package dori.jasper.engine does not exist.

package net.sf.jasperreports.engine does not exist.

 

 

 

Please help I'm burning here!

 

reports with mySQL, jasperreport-0.6.5,2jsdk.

 

 

By: C-Box - c-box

RE: reports with mySQL, jasperreport-0.6.5,2j

2005-04-18 04:41

Urgent but having time for double post!??!?!?! Very strange!

 

Perhaps you should check your imports... the "dori.jasper" ist the old package structure that was changed some versions ago (I guess 0.5.3) so the new one is "net.sf"....

 

then check if you put the jasperreportsXYZ.jar into your classpath and if it's the only one (not that an older version causes the error)

 

and last but not least try to use the search function of that forum.

 

hth

C-Box

 

 

By: sundile - sundile

RE: reports with mySQL, jasperreport-0.6.5,2j

2005-04-19 02:48

Thanx C-Box but I'm not too sure if got u correctly. My classpath is set as follows C:JasperReportjasperreports-0.6.5.jar if its this what u mean about the classpath. In this case JasperReport is my HOME directory in which jasper is extracted to.

 

 

 

 

By: C-Box - c-box

RE: reports with mySQL, jasperreport-0.6.5,2j

2005-04-20 16:11

hmmm ... no I mean that you must put your jasperreport.jar to your classpath within your project. So for example using JBuilder you need to add the JasperReport0.6.5.jar to your project settings in the needed libraries section.....

 

but don't know what IDE you are using.

 

so if you are using 0.6.5 then DON'T USE and "dori" package... that is the old one that was changed to "net.sf."

 

C-Box

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...