ResourceBundles
are read from the classpath. WEB-INF/conf
is not on the classpath for web applications. Try placing the property file in WEB-INF/classes
.
From the above image it appears you are using Maven to build the project. In that case the property file can be moved into src/main/resources
folder to be copied into classes
during the Maven build.