2 Replies Latest reply on Jan 15, 2010 8:04 PM by dgriffin

    ResourceBundle: MissingResourceException but key is in there

    dgriffin
      public String getMessage(String key){

      ResourceBundle r = SeamResourceBundle.getBundle();

      Enumeration<String> keys = r.getKeys();

      // This prints out the key I am trying to lookup       
      while (keys.hasMoreElements()) System.err.println(keys.nextElement());

      // but this throws a MissingResourceException
      return SeamResourceBundle.getBundle().getString(key);

      }
      What the heck????  Suggestions??