I have created a new Maven project using the CQ5 archetype and imported it into IntelliJ IDEA. IntelliJ marks usages of some classes such as org.apache.felix.annotations.Component
, org.apache.felix.annotations.Reference
, etc. IntellIJ as erroneous with the following error message:
The package is not exported by the bundle dependencies
I'm using version 12.1.4
The error seems legit. I'm not able to find that package in the ACQ 5.6.1 Doc.
I turn off the inspection by: