I'm learning dealing with osgi bundles using apache felix. I'm using maven-bundle-plugin to generate the manifest file.
I created a first bundle that contains only an interface and I export it to be used by others. The second bundle contain a class that implements the interface created in the first bundle. I configured the second bundle to import the package exported by the first one.
When I compile the second bundle, I get an error telling me that he can not resolve the interface.
I'm not sure that I understood how bundles works ...
Thank you very much ...
[Edit] More information : I got the error when I compile using maven :
[INFO] Compilation failure
....../ServeurImpl.java:[17,36] error: cannot find symbol
ServeurImpl.java (line 17) :
public class ServeurImpl implements Serveur {
Serveur is an interface created in the first bundle.