服务器修改密码后出现 错误500,单点登录在服务器运行时点击记住密码后登录报500错误??...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

求大神!!!

单点登录的cas在服务器上运行时,点击记住密码会报500错误(不点记住密码能正常登录)。

把子站调到本机后能记住密码也能正常运行。

服务器环境:tomcat7 JDK7

服务器报错日志:

七月 04, 2018 9:49:23 上午 org.apache.catalina.core.StandardWrapperValve invoke

严重: Servlet.service() for servlet [cas] in context with path [/cas] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@46c02ae6 targetAction = [EvaluateAction@72408653 expression = utryAuthenticationViaFormAction.submitAndFireEvent(flowRequestContext, flowScope.credential, messageContext), resultExpression = [null]], attributes = map[[empty]]] in state 'realSubmit' of flow 'login' -- action execution attributes were 'map[[empty]]'] with root cause

java.lang.Error: Unresolved compilation problem:

The method setHttpOnly(Boolean) is undefined for the type Cookie

at utry.cas.web.util.CookieUtil.setCookie(CookieUtil.java:87)

at utry.cas.web.flow.UtryAuthenticationViaFormAction.rememberMe(UtryAuthenticationViaFormAction.java:113)

at utry.cas.web.flow.UtryAuthenticationViaFormAction.submitAndFireEvent(UtryAuthenticationViaFormAction.java:76)

at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:113)

at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:102)

at org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:49)

at org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:347)

at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:88)

at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:131)

at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:299)

at org.springframework.binding.expression.spel.SpringELExpression.getValue(SpringELExpression.java:84)

at org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:75)

at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)

at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值