Jump to content
JasperReports Library 7.0 is now available ×

Cannot start


2004 IR Help

Recommended Posts

By: Eddy P. - eddypagotto

Cannot start

2004-09-15 02:44

Hello,

I just downloaded iReport 0.3.2 using CVS.

I tried to run it, but I got the following error:

 

Exception in thread "main" java.lang.NoClassDefFoundError: it/businesslogic/ireport/gui/MainFrame

 

Who know why this happens?

Thanks in advance for any suggestion.

 

Eddy

 

 

 

 

By: Eddy P. - eddypagotto

RE: Cannot start

2004-09-15 03:10

I forgot that there's not the iReport.jar package under the /lib directory.

In fact, the first time, I downloaded iReport without using CVS, but I cannot use it with JasperReports 0.6.1 for the famous update to the path of the package (dori.jasper -> net.sf.jasperreports).

I read that downloading iReport from the CVS repository should be the solution to that, but now I saw that there's not iReport.jar and I have to solve this new error (I altready tried copying iReport.jar from my old installation to the new one, but I got the "dori.jasper" error). :o(

 

Eddy

 

 

 

 

By: C-Box - c-box

RE: Cannot start

2004-09-15 03:17

Well if you pulled the iReport CVS Release then you first must BUILD the JAR.... therefore take a look in the build.xm there you find the ant-task that builds the ireport.jar.

 

It works (I know it, because I downloaded it just some days ago also from CVS).

 

hth

C-Box

 

 

 

 

By: Eddy P. - eddypagotto

RE: Cannot start

2004-09-15 03:24

Do you mean that I have to compile all sources under the /src directory and then create the JAR file?

 

 

 

 

 

By: C-Box - c-box

RE: Cannot start

2004-09-15 03:32

Of course, just open a DOS-Box (SHELL) and call

 

ant jar

 

(of course you must have ANT installed properly)

and you get the ireport-0.4.0.jar in the target-directory of your iReport-directory. (the jar is 1,5 MB ... it would blow up the whole CVS download unnecessarily)

 

hth

C-Box

 

 

 

 

By: Eddy P. - eddypagotto

RE: Cannot start

2004-09-15 03:42

Thank you very much for the help! :o)

 

Eddy

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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