我把一些属性文件(例如resources.propperties)放在
中src/main/resources/com/ebiznext/agregation/service/payment/sips
目录,我尝试在我的代码中检索它们:
ResourceBundle resource = ResourceBundle.getBundle("com.ebiznext.aggregation.service.paiement.sips.resources", Locale.getDefault())
但我得到了例外:
Caused by MissingResourceException: Can't find bundle for base name com.ebiznext.aggregation.service.paiement.sips.resources, locale fr_FR
->> 1499 | throwMissingResourceException in java.util.ResourceBundle
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1322 | getBundleImpl in ''
| 1028 | getBundle . . . in ''
所以我的问题是在Grails中检索资源包的正确wat是什么?