DevOps and System Administration Discussions
Dive into SAP DevOps and system administration. Join discussions to collaborate on optimizing workflows, share knowledge, and leverage resources effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Johan_sapbasis
Active Contributor
0 Kudos

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

1 ACCEPTED SOLUTION

Johan_sapbasis
Active Contributor
0 Kudos

HI all,

I have confirmed this with the product management team bogomil.manoilov thank for your time and patience.

This feature will only work if you had selected start export_monitor/import_monitor manually. And not letting the tool start it automatically.

Kind Regards,

Johan

View solution in original post

1 REPLY 1

Johan_sapbasis
Active Contributor
0 Kudos

HI all,

I have confirmed this with the product management team bogomil.manoilov thank for your time and patience.

This feature will only work if you had selected start export_monitor/import_monitor manually. And not letting the tool start it automatically.

Kind Regards,

Johan