Hi Everyone,

I know there are tons of discussions and resources on the Internet, but
after many days trying to add the missing suggested dependencies, adjusting
the pom.xml with plugins and configurations I have no more ideas on how to
solve this.

I would kindly ask your support in order to achieve OSGi framework Unit
testing in my project.
One of the main suggestions I have found is this one:
https://stackoverflow.com/questions/48551036/exception-on-service-activation-in-mock-osgi-context

Still no luck!

Can somebody help me with this please?

Here's the error I get once I try to build via maven:

org.apache.sling.testing.mock.osgi.NoScrMetadataException: No OSGi SCR
metadata found for class com.test.ConfigurationService
at
org.apache.sling.testing.mock.osgi.OsgiServiceUtil.activateDeactivate(OsgiServiceUtil.java:79)
at org.apache.sling.testing.mock.osgi.MockOsgi.activate(MockOsgi.java:314)
at org.apache.sling.testing.mock.osgi.MockOsgi.activate(MockOsgi.java:325)

-- 
Flavio

Reply via email to