Jump to content
Changes to the Jaspersoft community edition download ×

Package dori.jasper.engine.fill not found...


Recommended Posts

By: J. Lagunilla - lagu6494

Package dori.jasper.engine.fill not found...

2003-04-16 09:52

Hi!

 

In my standalone application, I need to generate jasper designs dinamically, and compile them at runtime. I get this exception:

 

dori.jasper.engine.JRException: Errors were encountered when compiling report design:

Note: sun.tools.javac.Main has been deprecated.

C:micronav.nettest-3.4.0ImageReport.java:4: Package dori.jasper.engine not found in import.

import dori.jasper.engine.*;

^

C:micronav.nettest-3.4.0ImageReport.java:5: Package dori.jasper.engine.fill not found in import.

import dori.jasper.engine.fill.*;

^

C:micronav.nettest-3.4.0ImageReport.java:17: Superclass JRCalculator of class ImageReport not fou

nd.

public class ImageReport extends JRCalculator

^

3 errors, 1 warning

 

at dori.jasper.engine.design.JRCompiler.compileReport(JRCompiler.java:150)

at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:190)

at HistoryMapPanel.getJasperPrint(HistoryMapPanel.java:585)

at MyJRViewer$3.run(MyJRViewer.java:445)

at java.lang.Thread.run(Thread.java:536)

 

Any of you have experienced the same problem?

 

Thanx in advance...

 

 

 

 

 

By: J. Lagunilla - lagu6494

RE: Package dori.jasper.engine.fill not found...

2003-04-17 00:25

Hi, Teodor:

 

Where exactly in the "webapp" example?

 

Thank you very much.

 

P.D.: what about Sun's Main method deprecation?

 

 

 

 

By: Teodor Danciu - teodord

RE: Package dori.jasper.engine.fill not found...

2003-04-16 14:35

 

Hi,

 

You need to place JasperReports JAR in the

java compiler classpath like explained here:

 

http://jasperreports.sourceforge.net/quick.how.to.html#compile

 

You'll probably use the "jasper.reports.compile.class.path" system property.

 

You can see this done in the "webapp" sample.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Package dori.jasper.engine.fill not found...

2003-04-17 11:22

 

Hi,

 

I was talking about the JSP or the servlet that

performs the XML report design compilation.

 

jasperreports/demo/samples/webapp/jsp/compile.jsp

 

or

 

jasperreports/demo/samples/webapp/WEB-INF/classes/servlets/CompileServlet.java

 

There you can see the system properties used

to customize the report compilation process.

 

The warning message will go away if the report

compiles OK, but what version of JasperReports are

you using?

 

Thank you,

Teodor

 

 

 

 

 

By: J. Lagunilla - lagu6494

RE: Package dori.jasper.engine.fill not found...

2003-04-22 01:29

Hi, Teodor:

 

I'm using version 0.4.5 of JasperReports.

 

Thank you

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