Skip to content

Commit

Permalink
Exclude Jetty's JavaMail implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgerhardt committed May 7, 2020
1 parent 4f12a8e commit fbdc449
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/webapp/WEB-INF/jetty-web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<!--
Exclude the JavaMail implementation bundled with Jetty 9. It does not
work with Java 11, so we provide a more current version.
-->
<Get name="systemClasspathPattern">
<Call name="add"><Arg>-javax.mail.</Arg></Call>
</Get>
<Get name="serverClasspathPattern">
<Call name="add"><Arg>javax.mail.</Arg></Call>
</Get>
</Configure>

0 comments on commit fbdc449

Please sign in to comment.