title: java.util.MissingResourceException: Can't find bundle for base name views, locale en
body: <p>I have a file called <code>views.properties</code> inside my <code>src/main/webapp</code> folder. and I have the following line inside my <code>court-servlet.xml</code> file. The <code>court-servlet.xml</code> is located in <code>src/main/webapp/WEB-INF</code> folder.</p>
  
  <pre><code>&lt;bean id="resourceBundleResolver"
      class="org.springframework.web.servlet.view.ResourceBundleViewResolver"&gt;
      &lt;property name="basename" value="views" /&gt;
      &lt;property name="order" value="#{contentNegotiatingResolver.order+1}" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>However, I keep getting exception whenever I launch the app. It keeps throwing exception</p>
  
  <pre><code>java.util.MissingResourceException: Can't find bundle for base name views, locale en
  java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
  java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
  java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
  org.springframework.web.servlet.view.ResourceBundleViewResolver.getBundle(ResourceBundleViewResolver.java:271)
  org.springframework.web.servlet.view.ResourceBundleViewResolver.initFactory(ResourceBundleViewResolver.java:225)
  org.springframework.web.servlet.view.ResourceBundleViewResolver.loadView(ResourceBundleViewResolver.java:194)
  org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:158)
  org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:77)
  org.springframework.web.servlet.view.ContentNegotiatingViewResolver.resolveViewName(ContentNegotiatingViewResolver.java:357)
  org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1091)
  org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1040)
  org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
  org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
  org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
  org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  </code></pre>
  
  <p>Can someone please help me solving this issue? I tried some solutions posted here before, but none of them works.</p>
  
  <p>Thanks!</p>