Skip to content

error: module not found #61

@rashaverak

Description

@rashaverak

in my dependencies

implementation 'javax.xml.ws:jaxws-api:2.3.1'

in my module-info.java

requires java.xml.ws;

alright, found, when I ctrl click on it I got to its module-info which starts with

module java.xml.ws {
    requires java.xml.bind;
    exports javax.xml.ws;

I can sucessfully run the run and jar tasks but when I run jlink task of your plugin

Task :compileJava UP-TO-DATE
Task :processResources UP-TO-DATE
Task :classes UP-TO-DATE
Task :libs UP-TO-DATE
Task :jar UP-TO-DATE
Task :prepareMergedJarsDir UP-TO-DATE

Task :createMergedModule
Cannot derive uses clause from service loader invocation in: com/fasterxml/jackson/databind/ObjectMapper.secureGetServiceLoader().
Cannot derive uses clause from service loader invocation in: com/fasterxml/jackson/databind/ObjectMapper$2.run().
Cannot derive uses clause from service loader invocation in: org/apache/commons/compress/utils/ServiceLoaderIterator.().
/build/jlinkbase/tmpjars/.../module-info.java:426: error: module not found: java.xml.bind
requires java.xml.bind;
^
/build/jlinkbase/tmpjars/.../module-info.java:427: error: module not found: java.xml.ws
requires java.xml.ws;

I guess the issue might be that the module java.xml.ws exports javax.xml.ws ?
Anyway, do you have idea how to overcome this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions