Hi ty,
what version of AEM are you using?
You can use the dependency finder to see if the class/package is found in AEM and what version is available: http://<host>:<port>/system/console/depfinder
In your maven project, what scope is the package defined as?
Regards,
Opkar