Jump to content
JasperReports Library 7.0 is now available ×

Problem with deploying Jasper report...


Recommended Posts

By: Uniq - uniq_2002

Problem with deploying Jasper report...

2002-08-25 20:58

Dear All,

I am newer and wanna trying Jasper report. But i had problem when i doing deploying build.xml with ANT.I use jasper report-0.3.3.

my problem are :

(1) when start to create *.jasper and this is from your example. i get this error:

D:MasterJasperReportsdemosamplesjasper>ant compileBuildfile: build.xml

compile:

Unable to compile with "sun.tools.javac.Main" compiler.java.lang.ClassNotFoundException : sun.tools.javac.MainCompiling with command line "javac" compiler.Compile time : 12298

(2) i am trying to create jasper class like example, i get this error when i am deploying

D:MasterJasperReportstest>ant compileBuildfile: build.xml

compile:

java.lang.NoClassDefFoundError: dori/jasper/engine/JRExceptionException in thread "main"Java Result: 1

For the second problem, i am extract to view the jasperreport.jar and i dont see JRException.class in this jar.

i wanna say thanks for anyone who can help my problem...:-)


Regards,

uniQ




By: Teodor Danciu - teodord
RE: Problem with deploying Jasper report...
2002-08-27 01:26

Hi,

The first problem is more like a warning.
You have not copied the "tools.jar" file in the
"lib" directory of the project as stated
in the "how.to.txt" file.
However, as you can see, the report is compiled
anyway.

As for the second problem, check the classpath.
If you have copied the build.xml file from one of the
samples, make sure you adapt the paths
accordingly, because you moved your "test"
sample up the project tree.
Judging from the paths I see in your message,
here's how the "compile" target should look like:

                                                                                                                                        [/code]



Good luck!
Teodor



By: Uniq - uniq_2002
RE: Problem with deploying Jasper report...
2002-08-27 21:36
thanks theodord...:-)


Regards,


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