juneau-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/JUNEAU-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705994#comment-16705994
] 

ASF GitHub Bot commented on JUNEAU-92:
--------------------------------------

jamesbognar commented on issue #23: [JUNEAU-92] Depend on javax.activation for Java 11.
URL: https://github.com/apache/juneau/pull/23#issuecomment-443456076
 
 
   Cool.  Thanks!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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