-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "IdxTxnThread" java.lang.NoClassDefFoundError: javax/activation/DataSource #208
Comments
The exception is thrown on the line "new MimeMessage(session)" (at Email.java 1901) javax.activation.DataSource is on the classpath
I have put the following code to locate the jar from which the classes are loaded.
Surprisingly, the MimeMessage class is loaded from the jar in jetty container rather than the application lib folder (WEB-INF/lib)
The jar containing MimeMessage is on the classpath as well (A maven dependency)
These observations bring a lot of questions.
|
Here is the answer to all the questions and it provides a neat solution as well. Jetty libraries do take precedence over the jar on class path, which is super counter-intuitive. |
DLC Indexer fails to send error email notification in Dev/UAT, potentially Prod.
However, it works locally
See below log:
The text was updated successfully, but these errors were encountered: