0 Replies Latest reply on Mar 13, 2013 10:26 AM by Rafael Jesus

    Can't find bundle for base name javax.el.LocalStrings, locale pt_BR

    Rafael Jesus Newbie

      Hello guys,

       

      I cant get around the problem that I'm facing on,

       

      So, I'll be as clear as I can,

       

      We have 3 environment, it is Development(DEV), Quality(QA) and Production(PROD),

       

      Before we deploy our app on PROD, we deploy on DEV and QA to make sure that everthing is ok,

       

      But when we put our app on PROD, navigate on some pages and do something like order a simple DataTable,

       

      Or click on a button to return to some page I have the exception below,

       

      When it say org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver, it is not true,

       

      I Have this class on my pom.xml(are attached),

       

      Any help will be welcome,

       

      Tks,

       

       

      2013-03-08 10:13:45,920 SEVERE [facelets.viewhandler] (http-10.13.3.171-8080-5) Error Rendering View[/WEB-INF/flows/user/UserList.xhtml]

      java.util.MissingResourceException: Can't find bundle for base name javax.el.LocalStrings, locale pt_BR

          at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)

          at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)

          at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)

          at javax.el.ELResolver.message(ELResolver.java:40)

          at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)

          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)

          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)

          at org.apache.el.parser.AstValue.getValue(AstValue.java:118)

          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

          at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)

          at javax.faces.component.UIData.getValue(UIData.java:614)

          at org.ajax4jsf.component.UIDataAdaptorBase.getValue(UIDataAdaptorBase.java:1647)

          at org.ajax4jsf.component.SequenceDataAdaptor.getDataModel(SequenceDataAdaptor.java:65)

          at org.ajax4jsf.component.SequenceDataAdaptor.createDataModel(SequenceDataAdaptor.java:59)

          at org.ajax4jsf.component.UIDataAdaptorBase.getExtendedDataModel(UIDataAdaptorBase.java:621)

          at org.ajax4jsf.component.UIDataAdaptorBase.setRowKey(UIDataAdaptorBase.java:339)

          at org.ajax4jsf.component.UIDataAdaptorBase.iterate(UIDataAdaptorBase.java:1040)

          at org.ajax4jsf.component.UIDataAdaptorBase.encodeAjaxChild(UIDataAdaptorBase.java:496)

          at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:146)

          at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)

          at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)

          at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83)

          at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157)

          at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:124)

          at org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:685)

          at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:556)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)

          at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)

          at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)

          at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)

          at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)

          at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)

          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

          at org.springframework.faces.webflow.FlowLifecycle.render(FlowLifecycle.java:80)

          at org.springframework.faces.webflow.JsfView.render(JsfView.java:90)

          at org.springframework.webflow.engine.ViewState.render(ViewState.java:296)

          at org.springframework.webflow.engine.ViewState.resume(ViewState.java:207)

          at org.springframework.webflow.engine.Flow.resume(Flow.java:545)

          at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:261)

          at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)

          at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)

          at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)

          at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

          at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)

          at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

          at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

          at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.embraer.fasce.security.SecurityAuthenticationFilter.doFilter(SecurityAuthenticationFilter.java:58)

          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

          at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.embraer.fasce.filter.CustomHeaderParametersFilter.doFilter(CustomHeaderParametersFilter.java:35)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)

          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:613)

          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)

          at java.lang.Thread.run(Thread.java:662)

      2013-03-08 10:13:45,926 SEVERE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-10.13.3.171-8080-5) JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /WEB-INF/flows/user/UserList.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@4d1247ed]

      2013-03-08 10:13:45,978 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] (http-10.13.3.171-8080-5) Exception in the filter chain

      org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver$1

          at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)

          at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

          at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)

          at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

          at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

          at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.embraer.fasce.security.SecurityAuthenticationFilter.doFilter(SecurityAuthenticationFilter.java:58)

          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

          at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.embraer.fasce.filter.CustomHeaderParametersFilter.doFilter(CustomHeaderParametersFilter.java:35)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)

          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:613)

          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)

          at java.lang.Thread.run(Thread.java:662)

      Caused by: java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver$1

          at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver.findBestExceptionHandlerMethod(AnnotationMethodHandlerExceptionResolver.java:155)

          at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver.doResolveException(AnnotationMethodHandlerExceptionResolver.java:124)

          at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:136)

          at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:987)

          at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:811)

          ... 50 more

      Caused by: java.lang.ClassNotFoundException: Failed to load class org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver$1

          at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:186)

          at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:287)

          at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1163)

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:862)

          at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:502)

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:447)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          ... 55 more

      2013-03-08 10:13:45,980 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/fasce].[dispatcher]] (http-10.13.3.171-8080-5) Servlet.service() for servlet dispatcher threw exception

      java.lang.ClassNotFoundException: Failed to load class org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver$1

          at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:186)

          at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:287)

          at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1163)

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:862)

          at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:502)

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:447)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver.findBestExceptionHandlerMethod(AnnotationMethodHandlerExceptionResolver.java:155)