Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

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

Avatar

Level 3

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...

2 Replies

Avatar

Level 9

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?

Avatar

Level 3

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"