Jump to content
We've recently updated our Privacy Statement, available here ×

JasperPrint Web Service


Recommended Posts

I am looking to get the example running in the Web Services Guide, with a few problems. I have updated the jars based on another thread, however, I am now getting an error stating that the class below is no located. Is this available in a distribution, or is there better documentation available on getting a java client running using the web services?

Exception in thread "main" java.lang.NoClassDefFoundError: org/openide/util/NbPreferences
    at com.jaspersoft.ireport.designer.IReportManager.getPreferences(IReportManager.java:1245)
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.getManagementService(WSClient.java:642)
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:399)
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:320)
    at MyJIClient.runReport(MyJIClient.java:34)
    at MyJIClient.main(MyJIClient.java:43)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
Caused by: java.lang.ClassNotFoundException: org.openide.util.NbPreferences
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 11 more

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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