You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/12/01 20:36:00 UTC
[jira] [Closed] (JUNEAU-92) Depend on javax.activation for Java 11
[ https://issues.apache.org/jira/browse/JUNEAU-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed JUNEAU-92.
------------------------------
Resolution: Fixed
> Depend on javax.activation for Java 11
> --------------------------------------
>
> Key: JUNEAU-92
> URL: https://issues.apache.org/jira/browse/JUNEAU-92
> Project: Juneau
> Issue Type: Improvement
> Components: Code
> Affects Versions: 7.2.2
> Reporter: Gary Gregory
> Priority: Major
>
> In order to run on Java 11, Juneau must depend onĀ {{javax.activation}} for classes like {{javax/activation/MimetypesFileTypeMap}}:
> {noformat}
> java.lang.NoClassDefFoundError: javax/activation/MimetypesFileTypeMap
> at org.apache.juneau.rest.RestServlet.init(RestServlet.java:50)
> at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:672)
> at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:521)
> {noformat}
> Maven coordinates:
> {code:xml}
> <dependency>
> <!-- Java 11 -->
> <groupId>javax.activation</groupId>
> <artifactId>javax.activation-api</artifactId>
> <version>1.2.0</version>
> </dependency>
> <dependency>
> <!-- Java 11 -->
> <groupId>com.sun.activation</groupId>
> <artifactId>javax.activation</artifactId>
> <version>1.2.0</version>
> </dependency>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)