I stumbled upon this exception while running a junit test class (versions in question title).
As i have read in this thread that i must upgrade to eclipse Oxygen.3, i did it but still have the same exception thrown.
Maybe the platform is missing in your pom.
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit.platform.version}</version>
<scope>test</scope>
</dependency>