Skip to Content
0
Aug 23, 2019 at 12:45 PM

Caused by: java.lang.ClassNotFoundException: javax.mail.Message

140 Views

Hi,

Doing a heterogeneous migration with mail enabled.

# E-mail options#
# SMTP server
mailServer=smtp-relay.gmail.com
# "From" email address
mailFrom=mailt@gmail.com
#"To" email address
mailTo=company@company.com

I have set various class paths but don't get a result.

ava.lang.NoClassDefFoundError: com/sap/inst/migmon/SystemInfo
at com.sap.inst.migmon.Mailer.getSubject(Mailer.java:108)
at com.sap.inst.migmon.Mailer.sendError(Mailer.java:86)
at com.sap.inst.migmon.LoadTask.run(LoadTask.java:260)
at java.lang.Thread.run(Thread.java:808)
at com.sap.inst.lib.util.ThreadDispatcher$ThreadWrapper.run(ThreadDispatcher.java:113)
Caused by: java.lang.ClassNotFoundException: javax.mail.Message
at java.net.URLClassLoader.findClass(URLClassLoader.java:443)
at java.lang.ClassLoader.loadClass(ClassLoader.java:490)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
... 5 more