Can't find bundle for base name environment, locale en_US

rasikawanjari

08-04-2019

We have dependency on customized external jar (which is belong to some other team) .The jar is having dependency on property files which are not bundles within jar.They are sharing property files separately along with jar.They are loading property files in their jar using getBundle() from  ResourceBundle Class which is java library class.Now we are facing issue where to keep those property files?

we tried with different approaches
* by keeping property files in src/main/resources in aem.core project
* placed in ..\crx-quickstart\conf

Both approaches didn't work well...
Please Do help me...

Replies

Highlighted

Hemant_arora

08-04-2019

is it possible for you to include the external jar as a maven dependency in aem.core project and then export the desired classes in pom?

Highlighted

rasikawanjari

08-04-2019

we have added external jar as maven dependency in aem.core
but we are getting class not found exception in AEM server so we converted jar as OSGI bundle and uploaded in felix console
but that jar is having dependency on property files. so now we are getting
"Can't find bundle for base name environment, locale en_US"