0 Replies Latest reply: Oct 19, 2010 12:44 PM by 806493 RSS

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

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