问题描述
可以启动,但登录后报错,不知道是什么原因,求高手指点!!!!!!!!!!!]]RootcauseofServletException.org.springframework.webflow.execution.ActionExecutionException:Exceptionthrownexecuting[AnnotatedAction@6662bdc9targetAction=[EvaluateAction@5c9a0ba2expression=authenticationViaFormAction.submit(flowRequestContext,flowScope.credentials,messageContext),resultExpression=[null]],attributes=map[[empty]]]instate'realSubmit'offlow'login'--actionexecutionattributeswere'map[[empty]]'atorg.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:60)atorg.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)atorg.springframework.webflow.engine.State.enter(State.java:194)atorg.springframework.webflow.engine.Transition.execute(Transition.java:227)atorg.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:391)Truncated.seelogfileforcompletestacktraceCausedBy:org.springframework.binding.expression.EvaluationException:AnOgnlExceptionoccurredgettingthevalueforexpression'authenticationViaFormAction.submit(flowRequestContext,flowScope.credentials,messageContext)'oncontext[classorg.springframework.webflow.engine.impl.RequestControlContextImpl]atorg.springframework.binding.expression.ognl.OgnlExpression.getValue(OgnlExpression.java:92)atorg.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:75)atorg.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)atorg.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)atorg.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)Truncated.seelogfileforcompletestacktraceCausedBy:ognl.MethodFailedException:Method"submit"failedforobjectorg.jasig.cas.web.flow.AuthenticationViaFormAction@bee11d5[java.lang.NullPointerException]atognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1265)atognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)atognl.OgnlRuntime.callMethod(OgnlRuntime.java:1329)atognl.ASTMethod.getValueBody(ASTMethod.java:90)atognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)Truncated.seelogfileforcompletestacktraceCausedBy:java.lang.NullPointerExceptionatcom.github.inspektr.audit.AuditTrailManagementAspect.executeAuditCode(AuditTrailManagementAspect.java:147)atcom.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:139)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)Truncated.seelogfileforcompletestacktrace>
解决方案
解决方案二:
部署cas时没有用ssl,不知道是不是这个问题
解决方案三:
看了网上的说法是weblogic的jar和hibernate的冲突造成的,不知道有没有解决办法
解决方案四:
一开始不是报的这个错,是java.lang.AbstractMethodError:org.apache.openjpa.persistence.PersistenceProviderImpl.getProviderUtil()Ljavax/persistence/spi/ProviderUtil;然后按照网上一个帖子的说法去掉weblogic自带包:/root/Oracle/Middleware/modules下的包:com.bea.core.kodo_1.5.0.0_4-2-1.jar,org.apache.openjpa_1.3.0.0_1-1-1-SNAPSHOT.jar两个包中的META-INF/services/javax.persistence.spi.PersistenceProvider文件,然后再登录就报上面的错了