You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Florian Brunner (Jira)" <ji...@apache.org> on 2020/06/17 21:23:00 UTC

[jira] [Created] (FELIX-6287) Support running on module path

Florian Brunner created FELIX-6287:
--------------------------------------

             Summary: Support running on module path
                 Key: FELIX-6287
                 URL: https://issues.apache.org/jira/browse/FELIX-6287
             Project: Felix
          Issue Type: Improvement
    Affects Versions: framework-6.0.3
            Reporter: Florian Brunner
         Attachments: module-path-issue-1.txt, module-path-issue-2.txt

Currently, when running the framework on the module path, I get the following exception:
{code:java}
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to module org.apache.felix.framework
{code}
and
{code:java}
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.felix.framework.URLHandlersStreamHandlerProxy
{code}
Make sure the framework works properly on the module-path as well



--
This message was sent by Atlassian Jira
(v8.3.4#803005)