java.lang.ClassNotFoundException

com.sun.enterprise.server.logging.ServerLogManager

Samebug tips8

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web21

  • via Terracotta by v2cg4ss, 1 year ago
    com.sun.enterprise.server.logging.ServerLogManager
  • via Terracotta Project Issue Tracker by Tim Eck, 1 year ago
    com.sun.enterprise.server.logging.ServerLogManager
  • via Terracotta by vto, 11 months ago
    com.sun.enterprise.server.logging.ServerLogManager
  • Stack trace

    • java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ServerLogManager at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.util.logging.LogManager$1.run(LogManager.java:166) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.<clinit>(LogManager.java:156) at java.util.logging.Logger.getLogger(Logger.java:254) at sun.rmi.runtime.Log$LoggerLogFactory.createLog(Log.java:154) at sun.rmi.runtime.Log.getLog(Log.java:121) at sun.rmi.server.Util.<clinit>(Util.java:56) at sun.rmi.server.UnicastRef.<clinit>(UnicastRef.java:33) at java.rmi.server.RemoteServer.<clinit>(RemoteServer.java:97) at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186) at com.sixth.rmi.agent.CustomAgent.premain(CustomAgent.java:78) at com.sixth.rmi.agent.CustomAgent.premain(CustomAgent.java:61) 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:585) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:141)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 weeks ago
    4 times, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 2 months ago
    1189 more bugmates