Skip to content

Cannot create Launcher without at least one TestEngine, but I think all the jars are in place #4407

Discussion options

You must be logged in to vote

Finaly I got it, the implementation of the test engine is in junit-jupiter-engine and the war was not depending on it. So it's not able to see the module class loader but the war lives in it's own classloader.

Anyway this is strange all the classes are visible at runtime, only the class loading is failing

What is solving the proble are these dependency in the war

<dependency>
            <groupId>org.junit.platform</groupId>
            <artifactId>junit-platform-launcher</artifactId>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <exclusions>
                <exclusion>
           …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@paolopiccinini
Comment options

@marcphilipp
Comment options

@paolopiccinini
Comment options

Answer selected by paolopiccinini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants