Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-platform-dev] lassNotFoundException: com.sun.mail.util.PropUtil when using javax.mail.internet.InternetAddress

Hello everyone,

I just switched over our build dependency from JavaEE 8 to JakartaEE 8 and now I get this ClassNotFoundException:

java.lang.NoClassDefFoundError: com/sun/mail/util/PropUtil
at javax.mail.internet.InternetAddress.<clinit>( at CH.obj.commons.di.util.InternetAddresses.parseInternetAddress( at CH.obj.commons.di.util.InternetAddresses.create( at$1.createNotification( at at
Caused by: java.lang.ClassNotFoundException: com.sun.mail.util.PropUtil
	at java.lang.ClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 7 more

Should it not be possible to use all API classes within the JakartaEE API to be self contained?

Best regards,


Back to the top