Can't find bundle for base name /Bundle, locale en_US

The Solution to Can't find bundle for base name /Bundle, locale en_US is

The exception is telling that a, or, or at least file is expected in the root of the classpath, but there is actually none.

Make sure that at least one of the mentioned files is present in the root of the classpath. Or, make sure that you provide the proper bundle name. For example, if the bundle files are actually been placed in the package com.example.i18n, then you need to pass com.example.i18n.Bundle as bundle name instead of Bundle.

In case you're using Eclipse "Dynamic Web Project", the classpath root is represented by src folder, there where all your Java packages are. In case you're using a Maven project, the classpath root for resource files is represented by src/main/resources folder.

See also:

~ Answered on 2012-10-20 12:41:38

Most Viewed Questions: