In fact, I really encountered this problem! whocloud help me? 在 2016-03-01 21:13:17,"Vibhatha Abeykoon" <[email protected]> 写道:
I am using cas server 4.0.1, the following error comes when I tried the following url: https://localhost:9443/cas/login org.springframework.context.ApplicationContextException:Unable to initialize application context. org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) org.jasig.cas.security.RequestParameterPolicyEnforcementFilter.doFilter(RequestParameterPolicyEnforcementFilter.java:211) com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63) Here the error in the tomcat server console is as follows. MessageSource] - <ResourceBundle [theme] not found for MessageSource: Can't find bundle for base name theme, locale en_US> 2016-03-01 18:41:27,185 ERROR [org.springframework.web.servlet.tags.ThemeTag] - <Theme 'theme': No message found under code 'standard.custom.css.file' for local e 'en_US'.> javax.servlet.jsp.JspTagException: Theme 'theme': No message found under code 's tandard.custom.css.file' for locale 'en_US'. at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(Me ssageTag.java:185) at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTa g(RequestContextAwareTag.java:80) at org.apache.jsp.WEB_002dINF.view.jsp.errors_jsp._jspx_meth_spring_005f theme_005f0(errors_jsp.java:227) at org.apache.jsp.WEB_002dINF.view.jsp.errors_jsp._jspService(errors_jsp .java:119) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:439) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 95) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:747) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica tionDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD ispatcher.java:410) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis patcher.java:337) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.j ava:482) at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.j ava:344) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValv e.java:437) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:207) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:436) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin t.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh read.java:61) I cannot find the reason for this. Please tell me how to fix this bug? -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
