[jboss-jira] [JBoss JIRA] (WFLY-9855) [JDK9+] org.jboss.security.negotiation.spnego package is exported by two jars

Tomaz Cerar (Jira) issues at jboss.org
Thu Nov 15 04:49:00 EST 2018


    [ https://issues.jboss.org/browse/WFLY-9855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661807#comment-13661807 ] 

Tomaz Cerar commented on WFLY-9855:
-----------------------------------

you need to use this jars in modular environment.
just put them to module path and try listing available modules.

java --module-path /path/to/folder/with/your/jars --list-modules

> [JDK9+] org.jboss.security.negotiation.spnego package is exported by two jars
> -----------------------------------------------------------------------------
>
>                 Key: WFLY-9855
>                 URL: https://issues.jboss.org/browse/WFLY-9855
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Tomaz Cerar
>            Priority: Critical
>
> Currently if you have 
> jboss-negotiation-spnego-3.0.4.Final and jboss-negotiation-extras-3.0.4.Final.jar
> on your module path, jvm complains as both jars export package org.jboss.security.negotiation.spnego
> which violates the modules contract where only one module (jar) can provide single package.
> example error that jvm prints
> {noformat}
> Error: Modules jboss.negotiation.extras and jboss.negotiation.spnego export package org.jboss.security.negotiation.spnego to module wildfly.clustering.common
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list