【问题标题】:Problem with Jasig CAS webflowJasig CAS webflow 的问题
【发布时间】:2010-10-25 10:47:18
【问题描述】:

我的 pom 中有 CAS 3.4.3。从 Jasig CAS zip 我包含了所有配置,包括 login-webflow.xml

当我使用 CAS 源构建应用程序时,相同的配置对我有用。目前我得到一个例外:

org.springframework.expression.spel.SpelParseException: EL1041E:(pos 33): After parsing a valid expression, there is still more data in the expression: 'neq'
    at org.springframework.expression.spel.standard.InternalSpelExpressionParser.doParseExpression(InternalSpelExpressionParser.java:118)

有人遇到过这种错误吗?它发生在 InternalSpelExpressionParser 评估 flowScope.ticketGrantingTicketId neq null

这个示例 login-webflow.xml 是否正确?我查看了几个参考资料,但没有找到关于表达式“neq”的任何内容...

我的 login-webflow.xml 和找到的here一模一样

【问题讨论】:

    标签: spring spring-webflow cas


    【解决方案1】:

    哦,愚蠢可悲。花了很多时间认为这是一个依赖问题,但实际上 cas 3.4.3 有不同的 cas-servlet.xml,其中包含以下内容:

    <bean id="expressionParser" class="org.springframework.webflow.expression.WebFlowOgnlExpressionParser" />
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多