Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error while trying to run IntelliJ UnitTest Debugger

Avatar

Level 4

While running a UnitTest debugger, I am getting this error
Error:osgi: [site.core] Classes found in the wrong directory: {META-INF/versions/9/javax/xml/bind/ModuleUtil.class=javax.xml.bind.ModuleUtil}

How do I solve this? There is nothing on Google that can help me.

0 Replies

Avatar

Community Advisor

Hi @AEMWizard ,

What is the JAVA version you have been using and also the bnd-maven-plugin version in POM ?

Thanks,
Milind

Avatar

Level 4

Java 11, and we are not using any bnd-maven-plugin; does not exist. 

we are using

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>