module loading exception

ive created a new module , and it has built succesfully . but wen i try to load it , in openmrs platform 2.2, it gives an exception

" Error starting Module - Basic Module close Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.basicmodule.BasicModuleActivator’ Module: Basic Module".

when i try to check the activator class in the module, it warns “The type Activator is deprecated”

watcould be the cause . thx @dkayiwa @tendomart @k.joseph @danfuterman

Replace the base class with BaseModuleActivator


thx bro @dkayiwa. let me first try that and see

i deleted this reply

thx dan , i have replaced the Activator class with BaseModuleActivator , and it has loaded succesfully. but now i cant view it under the " ADMINISTRATION", yet is is thier in the “manage modules”

It’s not a must for the module to show up under the admin page especially with later versions where the legacy UI is getting weeded out, that’s old stuff but if you really want it to have a link on that page, there is an admin link extension point for that which should have been added during module creation if you used the module wizard.