Unable to find GatewayHook

Hi !

I’m writing a new gateway module.
But as I install it, the module is faulted. In the console the GatewayHook class seem not to be found (“Unable to load hook class” message in the console).
I tried to debug my module and none of the methods is called.

Of course I have a GatewayHook class that inherits AbstractDriverModuleHook in my project, that is mostly like the one in the weather module from the examples of the SDK.

In my module.xml the hook seems to be correct, and the jar definition seems to be OK either.

What are the reasons that may cause this problem ?

Thanks in advance for any answer.

The slightest typo or jar folder mismatch will break things. If you can’t find it, post your unsigned module for the rest of us to look at.

First thing I would do is crack open the modl and make sure the jars want are there. If they are, then the module.xml is missing something and/or something doesn’t match up so you’ll make sure you have the full package + class name in your hook declaration and the proper scope on things.

If you’re extending AbstractDriverModuleHook, you MAY need to add xopc as a dependency in module.xml.