juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JUNEAU-92) Depend on javax.activation for Java 11
Date Sat, 01 Dec 2018 02:06:00 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory updated JUNEAU-92:
-------------------------------
    External issue URL: https://github.com/apache/juneau/pull/23

> 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)

Mime
View raw message