|
根据链接
http://bbs.wex5.com/forum.php?mod=redirect&goto=findpost&ptid=64607&pid=165198442 http://docs.wex5.com/wex5%e9%9b%86%e6%88%90cas/
配置单点登录,在web.xml文件配置后,出现两个问题<filter>
<filter-name>NTLoginFilter</filter-name>
<filter-class>com.justep.filter.NTLoginFilter</filter-class>
<!-- 以下参数表示url映射, 即如果访问的url是param-name, 将会重定向到param-value指向的页面 -->
<init-param>
<param-name>/UI2/portal/base/login/login.w</param-name>
<param-value>/UI2/portal/pc3/index.w</param-value>
</init-param>
<!--<init-param>
<param-name>/UI/portal2/process/portal/login.w</param-name>
<param-value>/UI/portal2/process/portal/index.w</param-value>
</init-param>-->
</filter>
<filter-mapping>
<filter-name>NTLoginFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
2.页面报错,如下图
控制台报错如下:- 2020-05-22 15:28:25 编码: JUSTEP000014; 提示: WINDOW编译出错, 文件"/UI2/portal/pc3/undefined/default.html"不存在
- javax.servlet.ServletException: com.justep.ui.exception.UIException: 编码: JUSTEP000014; 提示: WINDOW编译出错, 文件"/UI2/portal/pc3/undefined/default.html"不存在
- at com.justep.ui.servlet.MainServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.filter.NTLoginFilter.doFilter(NTLoginFilter.java:69)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.jasig.cas.client.util.AssertionThreadLocalFilter.doFilter(AssertionThreadLocalFilter.java:54)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:116)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
- 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:233)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.justep.ui.exception.UIException: 编码: JUSTEP000014; 提示: WINDOW编译出错, 文件"/UI2/portal/pc3/undefined/default.html"不存在
- at com.justep.ui.exception.UIException.create(Unknown Source)
- at com.justep.ui.WindowCompiler2.compile(Unknown Source)
- at com.justep.ui.WindowServer2.compileWindow(Unknown Source)
- at com.justep.ui.WindowServer2.service(Unknown Source)
- ... 35 more
复制代码
|
-
-
|