You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use EmailBuilder.copying(Email email), it throws an exception NoClassDefFoundError: org/simplejavamail/internal/smimesupport/SmimeRecognitionUtil. This can be fixed by adding smime-module to the pom.xml, but I don't need any smime support. Is there another copy option perhaps?
Exception in thread "main" java.lang.NoClassDefFoundError: org/simplejavamail/internal/smimesupport/SmimeRecognitionUtil
at org.simplejavamail.email.internal.EmailPopulatingBuilderImpl.withHeaders(EmailPopulatingBuilderImpl.java:1728)
at org.simplejavamail.email.internal.EmailStartingBuilderImpl.copying(EmailStartingBuilderImpl.java:244)
at org.simplejavamail.email.EmailBuilder.copying(EmailBuilder.java:149)
at org.example.Main.main(Main.java:15)
Caused by: java.lang.ClassNotFoundException: org.simplejavamail.internal.smimesupport.SmimeRecognitionUtil
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 4 more
The text was updated successfully, but these errors were encountered:
bbottema
changed the title
Copying Email throws NoClassDefFoundError: org/simplejavamail/internal/smimesupport/SmimeRecognitionUtil
[bug] don't require smime-module when adding collection of headers (also used when copying email)
Jan 27, 2024
When attempting to use
EmailBuilder.copying(Email email)
, it throws an exceptionNoClassDefFoundError: org/simplejavamail/internal/smimesupport/SmimeRecognitionUtil
. This can be fixed by addingsmime-module
to the pom.xml, but I don't need any smime support. Is there another copy option perhaps?pom.xml:
Code:
Exception:
The text was updated successfully, but these errors were encountered: