0

我的 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 与此处找到的完全相同

4

1 回答 1

0

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

<bean id="expressionParser" class="org.springframework.webflow.expression.WebFlowOgnlExpressionParser" />
于 2010-10-25T11:14:31.637 回答