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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Error while trying to run IntelliJ UnitTest Debugger

Avatar

Level 5

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.

2 Replies

Avatar

Employee 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 5

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>