Tuesday, December 24, 2013

java.util.MissingResourceException:Can't find bundle for base name


If you notice below exception when you deploy ADF application to any stand alone weblogic server, follow below steps to resolve.

Caused By: java.util.MissingResourceException: Can't find bundle for base name yourresourcebundlelocation, locale en_US
     at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
     at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
     at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
     at Searchusr.SearchModuleImpl.<clinit>(SearchModuleImpl.java:53)
     at java.lang.Class.forName0(Native Method)
     Truncated. see log file for complete stacktrace
>

Step1 : Ensure you specify complete path of your resource bundle name in all the pages.
Step2 : Specify the complete path in faces-config.xml as shown below

Step3 : Ensure specify complete path in UI Project Properties as shown below.

No comments:

Post a Comment