This discussion is archived
0 Replies Latest reply: Oct 19, 2010 10:44 AM by 806493 RSS

java.rmi.ServerError: java.lang.NoClassDefFoundError: net/sf/jasperreports/

806493 Newbie
Currently Being Moderated
Hey,

I have a problem with running my server application which registers itself in rmi registry. In Remote interface I have method which returns JasperPrint. The exception is thrown when server calls:

server = (Server)UnicastRemoteObject.exportObject(server, 0);
Registry registry = LocateRegistry.getRegistry();
registry.rebind("server", server); // <-----------------------
I have jasperreports-3.7.5.jar in classpath of the server. Any help would be appreciated.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points