Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError: TestEngine with isolation=MERGED #27

Open
sormuras opened this issue Jan 15, 2019 · 2 comments
Open

NoClassDefFoundError: TestEngine with isolation=MERGED #27

sormuras opened this issue Jan 15, 2019 · 2 comments

Comments

@sormuras
Copy link
Owner

Works using isolation=NONE

Execution failed!: java.lang.NoClassDefFoundError: org/junit/platform/engine/TestEngine: org.junit.platform.engine.TestEngine

https://travis-ci.com/sormuras/mainrunner/jobs/170420282#L771

sormuras added a commit to sormuras/mainrunner that referenced this issue Jan 15, 2019
@sparsick
Copy link

Same issue when running JUnit3 tests. Workaround with isolation=NONE helps here, too.

Another workaround that also helps is

<configuration>
    <tweaks>
        <moveTestEnginesToLauncherClassLoader>false</moveTestEnginesToLauncherClassLoader>
    </tweaks>
</configuration>

@sormuras
Copy link
Owner Author

sormuras commented Jul 8, 2020

Version 1.1.0 will set isolation=NONE as the default mode -- perhaps remove the entire isolation level support.

/cc @rfscholte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants