weixin_42334319
weixin_42334319
2009-09-03 01:32
浏览 209
已采纳

部署CAS Server时的异常,求教!

在tomcat中部署好cas server(设置好https,将cas.war拷贝到了webapps下部署完成),启动tomcat后,访问
http://localhost:8080/cas/login,提出出错,出错信息为:

description: The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /WEB-INF/view/jsp/default/ui/casLoginView.jsp(48,35) Attribute value request.getQueryString() == null ? "" : request.getQueryString().replaceAll("&locale=([A-Za-z][A-Za-z]_)?[A-Za-z][A-Za-z]|^locale=([A-Za-z][A-Za-z]_)?[A-Za-z][A-Za-z]", "") is quoted with " which must be escaped when used within the value

这是什么意思?请教!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • wanghaolovezlq
    wanghaolovezlq 2009-09-03 08:49
    已采纳

    这是tomcat的版本问题导致

    找到WEB-INF/view/jsp/default/ui/casLoginView.jsp这个页面

    把这段

    [code="java"]
    " />

    [/code]

    修改下

    [code="java"]

    点赞 评论

相关推荐