OSGI not providing system exported dependencies (confluence version 8.8.0)

In case you are running your server in DEV mode, you would need to have compile scope. Or you are setting DEV mode to false.

If this is the case for your issue, then you can find more information on this here: Preparing for Confluence 9.0 - EAP coming soon - #82 by rr1