Jump to content

LoggedInUser - java.lang.ClassNotFoundException


rault

Recommended Posts

I have been using iReport 4.0.1 and publishing reports to Jasperserver 4.2.0. In all of my reports I have this parameter so I can get the users name:

<parameter name="LoggedInUser" class="com.jaspersoft.jasperserver.api.metadata.user.domain.User"/>

I installed Jaspersoft Studio 1.0.9, connected to my respository, opened a report, made a small change and tried to publish back to the server but I recieve this error: 

net.sf.jasperreports.engine.JRRuntimeException: java.lang.ClassNotFoundException: com.jaspersoft.jasperserver.api.metadata.user.domain.User

 Obviously some reference to the class is missing but I'm at a loss to understand where and what to do to fix it. Any ideas?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

When do you exactly get this error?

 

The class is supposed to be present in JasperReports server. Are you trying to run the report locally in Jaspersoft Studio?

If so, and if you don't actually make use of this parameter in your report, you can safely remove the parameter.

 

Giulio

Link to comment
Share on other sites

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