NutzCN Logo
问答 job email 提示找不到类
发布于 3257天前 作者 Rekoe 2238 次浏览 复制 上一个帖子 下一个帖子
标签: email

换个类确实存在 但还提示

org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: org/apache/commons/mail/EmailException] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/mail/EmailException at com.rekoe.quartz.job.SpecialJob.execute(SpecialJob.java:46) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.mail.EmailException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 3 more

1 回复
java.lang.NoClassDefFoundError: org/apache/commons/mail/EmailException]

太明显了吧? 没加jar包啊...

添加回复
请先登陆
回到顶部