0
나는 내가 다른 데이터 소스에 쿼리를 수행하는 방법에 대한 몇 일 전에 질문을 게시 Grails를 위해 새로운 해요
: Grails - Getting data from a different datasource and saving it in my Grails databaseGrails의 이름 '속성'으로 만드는 중 오류 콩 : 콩 정의는 추상적이다
위의 대답은 효과적 이었지만 내 기본 데이터 소스에서 아무것도 보거나 수정하려고 시도했을 때 이상한 오류가 발생했습니다. 이 경우 나는 몇 가지 기본적인 발판을 사용하여 내 클라이언트 컨트롤러의 인덱스보기로 이동하려고 : 나는 두 번째 데이터 소스를 제거하면
[http-bio-8080-exec-10] ERROR spring.ReloadAwareAutowireCapableBeanFactory - Bean couldn't be autowired using grails optimization: Error creating bean with name 'properties': Bean definition is abstract
[http-bio-8080-exec-10] ERROR spring.ReloadAwareAutowireCapableBeanFactory - Retrying using spring autowire
[http-bio-8080-exec-10] ERROR errors.GrailsExceptionResolver - BeanIsAbstractException occurred when processing request: [GET] /EmmaRestServer/client/index
Error creating bean with name 'properties': Bean definition is abstract. Stacktrace follows:
Message: Error creating bean with name 'properties': Bean definition is abstract
이 문제가 사라집니다. 이 문제의 원인은 무엇입니까?
두 데이터 소스가 어떻게 구성되어 있는지 보여줄 수 있습니까? –
그게 이유 였어. 나는 내가 필요로하지 않았던 약간의 구성을 가지고 있었다. – MXV