MohanRao Posted February 1, 2007 Share Posted February 1, 2007 Hello, I have a report created with the $P{LoggedInUser} parameter. I am using the type for this as 'com.jaspersoft.jasperserver.api.metadata.user.domain.User' and Default Value Expression as '(Object)$P{LoggedInUser}.getUsername()'. When I do like this, I am not able to compile the report because iReport can't find the 'com.jaspersoft.jasperserver.api.metadata.user.domain.User' class. But when I upload the same report in JasperServer and run it, I am not having any problem. So my doubt is, is there any way I can make it run with iReport? Can you please suggest me which files can I change and what are the changes I need to do? Thanks a lot,Mohan. Link to comment Share on other sites More sharing options...
jpasquier Posted February 1, 2007 Share Posted February 1, 2007 Hi, It seems that it's normal since IReport is used to design reports using JasperReports library and JasperServer used to run reports.I think that you just have to include the correct library to the IReport classpath : jasperserver-api-metadata-1.1.0.jar. Regards, Link to comment Share on other sites More sharing options...
mandm Posted July 28, 2011 Share Posted July 28, 2011 How do i change those settings? how do i edit the classpath of ireport? and where do i see the jasperserver-api-metadata-1.1.0.jar file Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now