[
https://issues.apache.org/jira/browse/TOMEE-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924237#comment-15924237
]
Romain Manni-Bucau commented on TOMEE-2025:
-------------------------------------------
you can but you need to add geronimo-osgi-locator.jar (can be found on central)
> Tomee's mail API is not JavaEE7 compatible
> ------------------------------------------
>
> Key: TOMEE-2025
> URL: https://issues.apache.org/jira/browse/TOMEE-2025
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 7.0.3, 7.0.4
> Reporter: Svetlin Zarev
>
> According to the JEE7 specification, the mail API in EE7 must be version 1.5
> [1]:
> {code}
> The Java EE 7 platform requires JavaMail 1.5.
> {code}
> But TomEE comes with version 1.4:
> {code}
> Bundle-Name: Geronimo JavaMail 1.4
> ...
> Specification-Version: 1.4
> {code}
> [1] https://docs.oracle.com/javaee/7/tutorial/overview007.htm#BNACS
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)