Skip to content

jar package is not runnable #6

@paulvi

Description

@paulvi
% mvn package

% java -jar target/PygalExample-1.0-SNAPSHOT.jar
no main manifest attribute, in target/PygalExample-1.0-SNAPSHOT.jar

that is fixed with PR #5 ,

however there is next issue ModuleNotFoundError: No module named 'pygal'

% java -jar target/PygalExample-1.0-SNAPSHOT.jar
Exception in thread "main" ModuleNotFoundError: No module named 'pygal'
        at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:353)
        at com.oracle.example.javapython.Main.createPygalRenderer(Main.java:65)
        at com.oracle.example.javapython.Main.main(Main.java:27)

that is graal module resolution does not work for release jar, even though it should

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions