-
Bug
-
Resolution: Not A Defect
-
Blocker
-
jenkins 2.176.4, centos6, JDK11
After upgrading to JDK11, the plugin fails with:
09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - java.lang.ClassNotFoundException: javax.activation.DataSource 09:38:39 - at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) 09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) 09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) 09:38:39 - Caused: java.lang.NoClassDefFoundError: javax/activation/DataSource 09:38:39 - at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:198) 09:38:39 - at hudson.tasks.MailSender.createEmptyMail(MailSender.java:403) 09:38:39 - at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:208) 09:38:39 - at hudson.tasks.MailSender.createMail(MailSender.java:196) 09:38:39 - at hudson.tasks.MailSender.run(MailSender.java:111) 09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:175) 09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:138) 09:38:39 - at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) 09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) 09:38:39 - at hudson.model.Build$BuildExecution.post2(Build.java:186) 09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) 09:38:39 - at hudson.model.Run.execute(Run.java:1843) 09:38:39 - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 09:38:39 - at hudson.model.ResourceController.execute(ResourceController.java:97) 09:38:39 - at hudson.model.Executor.run(Executor.java:429)