java.lang.NoSuchMethodError: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager.setMaxInactiveInterval(I)V

GitHub | akmukherjee | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 42#241022553

    GitHub | 6 months ago | akmukherjee
    java.lang.NoSuchMethodError: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager.setMaxInactiveInterval(I)V
  2. 0

    Not supported on Tomcat 8.5.3 ?

    GitHub | 7 months ago | zsustar
    java.lang.NoSuchMethodError: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager.setMaxInactiveInterval(I)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager.setMaxInactiveInterval(I)V

      at com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager.<init>()
    2. Amazon DynamoDB Session Manager for Tomcat
      DynamoDBSessionManager.<init>
      1. com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager.<init>(DynamoDBSessionManager.java:74)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      5. java.lang.Class.newInstance(Unknown Source)
      5 frames
    4. Glassfish Core
      Digester.startElement
      1. org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:117)
      2. org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1188)
      2 frames
    5. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      11 frames
    6. Glassfish Core
      HostConfig$DeployDirectory.run
      1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1461)
      2. org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:536)
      3. org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:474)
      4. org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:734)
      5. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:309)
      6. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
      7. org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
      8. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:115)
      9. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
      10. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
      11. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
      12. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
      13. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
      14. org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
      14 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames