Invalid Proxy Error

I am trying to compile an application against a custom kernel.
When I add a dependency to the wadapps framework in the application, I have this error:

1 : KERNEL/FEATURE ERROR
[M34] - Type ej.wadapps.management.ApplicationMetadataProviderProxy is an invalid Proxy class for shared interface ej.wadapps.management.ApplicationMetadataProvider.
(line 17 of /Users/hrohloff/.ivy2/cache-cross5/ej.library.wadapps/framework/jars/framework-1.10.0.jar[wadapps.si])
    	<sharedInterface name="ej.wadapps.management.ApplicationMetadataProvider"/>
    	 ^^^^^^^^^^^^^^^

What can I do to solve this?

Hi Henry,

The Proxy class must comply with the Kernel&Features specification (e.g. http://www.e-s-r.net/download/specification/ESR-SPE-0020-KF-1.4-F.pdf, section 8.3 Proxy Class):

  • it extends ej.kf.Proxy
  • it implements the Shared Interface
  • it provides an implementation of all interface methods

If these conditions are already met, you can also check that the Kernel on which you are building your application allows to define Shared Interfaces, by exposing the ej.kf.Proxy as Kernel API.

Thanks Frédéric. The ej.kf.Proxy type was missing in the Kernel API (I also need to add all its methods).