Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

rasikawanjari
Level 2
Level 2

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
Hemant_arora
Level 8
Level 8

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?

rasikawanjari
Level 2
Level 2

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"