Was your class "Taxt_en_US" meant to be the resource bundle for "Tax"? The spelling of that name explains why it can't be found.
posted 8 months ago
yeep, the class Tax_en_US is meant to be the resource bundle, however, I don't see what is wrong with the class name, In the book it is said that it must have this form : "ClassName_Language_Country" ..., Am I wrong ??
yas sine wrote:yeep, the class Tax_en_US is meant to be the resource bundle, however, I don't see what is wrong with the class name
You didn't call the class "Tax_en_US". Look again at what you did call it.
posted 7 months ago
ohh yeah, I made a mistake, however, I still get the same error :
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name Tax, locale en_US
here is the class code :
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database