Jump to content
Changes to the Jaspersoft community edition download ×

Error saving expressions class file


2005 IR Help

Recommended Posts

By: Ben Ptacek - bptacek

Error saving expressions class file

2004-01-30 11:39

I am trying to make a coldfusion tag to work with JasperReports. I pretty much have it done, but there is a problem. I get this error when i run the tag:

 

Error saving expressions class file : /root/TestVend.java

 

Plus this in the debug:

java.io.FileNotFoundException: /root/TestVend.java (Permission denied)

 

Now, I don't know why it is trying to compile the report to /root.? My compile string looks like this:

 

JasperCompileManager.compileReportToFile("/srv/www/htdocs/test.xml", "/srv/www/htdocs/test.jabber");

 

So, basically I don't want the "java" file to be created in /root.... How can I change this?

 

Thanks

Ben

 

 

 

 

By: Ben Ptacek - bptacek

RE: Error saving expressions class file

2004-01-30 12:08

Nevermind, if I had read about compiling, I would have known to put this in the code:

 

System.setProperty("jasper.reports.compile.temp", "/srv/www/htdocs/");

 

However, now I am getting a new error that says:

 

Errors were encountered when compiling report expressions class file: See error messages above.

 

There is no message above???

 

Ben

 

 

 

 

By: Ben Ptacek - bptacek

RE: Error saving expressions class file

2004-01-30 13:44

Found out the above now... basically, since it was a web enviroment, I had to also specify the:

 

jasper.reports.compile.classpath

 

Ben

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