Plugin Redis
12/09/2013 15:53
Olá a todos,
Ao rodar a aplicação com o plugin Redis (versão 1.3.3), está aparecendo o seguinte erro:
ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'redisServiceTest': Cannot resolve reference to bean 'redisPoolTest' while setting bean property 'redisPool'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisPoolTest': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)
Message: Error creating bean with name 'redisServiceTest': Cannot resolve reference to bean 'redisPoolTest' while setting bean property 'redisPool'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisPoolTest': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)
Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 139 | run in java.util.concurrent.FutureTask
| 895 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 919 | run in ''
^ 662 | run . . in java.lang.Thread
Caused by BeanCreationException: Error creating bean with name 'redisPoolTest': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 139 | run in java.util.concurrent.FutureTask
| 895 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 919 | run in ''
^ 662 | run . . in java.lang.Thread
Estou usando o Grails 2.2.0.
Qual a origem deste erro?
Tags:
plugin redis