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

Michael Osipov commented on LOGGING-167:
----------------------------------------

Use the SLF4J replacement, it has the proper module name: 
org.apache.commons.logging

> [Java-9][JPMS] automatic module cannot be used with jlink: commons.logging
> --------------------------------------------------------------------------
>
>                 Key: LOGGING-167
>                 URL: https://issues.apache.org/jira/browse/LOGGING-167
>             Project: Commons Logging
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: MacOS
> Oracle Linux
>  
>            Reporter: Denis Makogon
>            Priority: Major
>
> I'm building a modular project and one of my modules uses apache http client, 
> so, subsequently, my code depends on commons-logging and when I'm building 
> the jlink-ed JRE, I'm seeing this:
> ```
> [ERROR] Error: automatic module cannot be used with jlink: commons.logging 
> from 
> file:////home/root/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
> ```
> meaning, that commons-logging and few other modules (bits of http package) 
> are not java modules.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to