2014-09-26 3 views
1

앱 실행 중에 아래 오류가 표시되는 경우 컴파일하는 동안 문제가 발생하지 않습니다. 친절하게,이 문제를 해결하는 방법.Grails 2.4.3 업그레이드 - 스프링 보안 ACl - SpelExpressionParser

ERROR [localhost-startStop-1] 2014-09-26 19:19:19,050 org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.error(213) : Error initializing the application: Error creating bean with name 'flowBuilderServices': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.springframework.expression.spel.standard.SpelExpressionParser' to required type 'org.springframework.binding.expression.ExpressionParser' for property 'expressionParser'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.expression.spel.standard.SpelExpressionParser] to required type [org.springframework.binding.expression.ExpressionParser] for property 'expressionParser': no matching editors or conversion strategy found 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowBuilderServices': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.springframework.expression.spel.standard.SpelExpressionParser' to required type 'org.springframework.binding.expression.ExpressionParser' for property 'expressionParser'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.expression.spel.standard.SpelExpressionParser] to required type [org.springframework.binding.expression.ExpressionParser] for property 'expressionParser': no matching editors or conversion strategy found 
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:745) 
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.springframework.expression.spel.standard.SpelExpressionParser' to required type 'org.springframework.binding.expression.ExpressionParser' for property 'expressionParser'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.expression.spel.standard.SpelExpressionParser] to required type [org.springframework.binding.expression.ExpressionParser] for property 'expressionParser': no matching editors or conversion strategy found 
    ... 4 more 
Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.springframework.expression.spel.standard.SpelExpressionParser] to required type [org.springframework.binding.expression.ExpressionParser] for property 'expressionParser': no matching editors or conversion strategy found 
+0

더 자세한 내용이 필요합니다. 그것이 작동했는지, 현재 버전이 업그레이드되었는지, 어떻게 업그레이드했는지 등등. 프로그래머입니다. 사용자 중 한 명이 8 줄의 stacktrace를 가지고 와서 기본적으로 "It doesn "일하지 마라. –

답변

3

어떤 플러그인을 사용하고 있습니까? Grails 2.4.3으로 업그레이드 할 때 동일한 예외가 발생하고 Grails WebFlow 플러그인과 ACL 플러그인 모두 expressionParser라는 빈을 설정했지만 각 플러그인은 다른 클래스 ... 스프링 빈의 Grails 초기화 중 다른 클래스를 덮어 씁니다. WebFlowPluginSupport.groovy 파일에서 웹 플로우 플러그인의 expressionParser를 flowExpressionParser로 바꾸면이 예외를 피할 수있었습니다. plugins 디렉토리에서 'expressionParser'를 검색하여 플러그인을 사용하고 있는지 확인하십시오.

저는 webflow 플러그인 사람들에게 알려주고, 여기에 좀 더 자세히 설명합니다. https://jira.grails.org/browse/GPWEBFLOW-109