java.lang.NoClassDefFoundError

java/lang/AutoCloseable

Samebug tips1

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

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

Solutions on the web1641

  • java/lang/AutoCloseable
  • via Google Groups by Unknown author, 6 months ago
    java/lang/AutoCloseable
  • via GitHub by volkertb
    , 8 months ago
    java/lang/AutoCloseable
  • Stack trace

    • java.lang.NoClassDefFoundError: java/lang/AutoCloseable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:306) at org.pentaho.reporting.libraries.resourceloader.LibLoaderBoot.performBoot(LibLoaderBoot.java:71) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.performBootDependencies(AbstractBoot.java:256) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:198) at org.pentaho.reporting.platform.plugin.ReportingSystemStartupListener.startup(ReportingSystemStartupListener.java:63) at org.pentaho.reporting.platform.plugin.LifecycleListener.init(LifecycleListener.java:28) at org.pentaho.platform.plugin.services.pluginmgr.PlatformPlugin.init(PlatformPlugin.java:204) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.registerPlugin(DefaultPluginManager.java:283) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.reload(DefaultPluginManager.java:206) at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:40) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:379) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:72) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:315) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:355) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:283) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:196) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: java.lang.AutoCloseable at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

    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, 11 months ago
    Unknown user
    Once, 1 year ago
    2 times, 6 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    445 more bugmates