0 Replies Latest reply on Oct 19, 2010 5:44 PM by 806493

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


      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.