java.lang.NoClassDefFoundError

javax/mail/MethodNotSupportedException

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

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

Solutions on the web3936

  • via jsystemtest by doron_h
    , 11 months ago
    javax/mail/MethodNotSupportedException
  • via jsystemtest by alexsigal
    , 11 months ago
    javax/mail/MethodNotSupportedException
  • via jsystemtest by shayr
    , 1 year ago
    javax/mail/MethodNotSupportedException
  • Stack trace

    • java.lang.NoClassDefFoundError: javax/mail/MethodNotSupportedException at jsystem.framework.scenario.ScenariosManager.getScenario(ScenariosManager.java:117) at jsystem.framework.scenario.ScenariosManager.getCurrentScenario(ScenariosManager.java:174) at jsystem.framework.report.RunnerListenersManager.startTest(RunnerListenersManager.java:597) at junit.framework.TestResult.startTest(TestResult.java:155) at junit.framework.TestResult.run(TestResult.java:107) at junit.framework.SystemTestCase.run(SystemTestCase.java:147) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.lang.ClassNotFoundException: javax.mail.MethodNotSupportedException at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 15 more

    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, 1 year ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1189 more bugmates