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

Unit test using junit 5 No OSGi SCR metadata found


Level 4

Hi All,


I have created recently a project using maven archetype 26. I am using bnd-maven-plugin not maven-bundle-plugin in the project.

I am getting No OSGi SCR metadata found for class error while running unit test.

The META-INF and OSGI-INF folders with meta data is generated. Does anyone has faced this issue?




2 Replies


Community Advisor

Hi @subrato_kha 

Kindly check here if it helps you, I remember, I did something related to Unit Test.





Level 4

thanks for the reply but this is not the issue. nor this changes fixes anything