UnsatisfiableDependenciesException---banq看看

2008-11-09 10:51:39,546 [http-80-3] ERROR com.jdon.container.builder.DefaultContainerBuilder - [JdonFramework] registerAspectComponents error:org.picocontainer.defaults.UnsatisfiableDependenciesException: com.lottery.auth.PermissionInterceptor has unsatisfiable dependencies: [[interface com.jdon.container.visitor.data.SessionContextSetup, class com.lottery.auth.OperationAuthorization, interface com.lottery.dao.AccountDao, class com.lottery.service.util.SessionContextUtil]]
2008-11-09 10:51:39,546 [http-80-3] ERROR com.jdon.container.builder.ContainerDirector - [JdonFramework] startup container error: java.lang.Exception: org.picocontainer.defaults.UnsatisfiableDependenciesException: com.lottery.auth.PermissionInterceptor has unsatisfiable dependencies: [[interface com.jdon.container.visitor.data.SessionContextSetup, class com.lottery.auth.OperationAuthorization, interface com.lottery.dao.AccountDao, class com.lottery.service.util.SessionContextUtil]]
2008-11-09 10:51:39,562 [http-80-3] ERROR com.jdon.util.Debug - com.jdon.container.startup.ContainerSetupScript
com.jdon.container.builder.StartupException
============================================
在PermissionInterceptor lookup时出现以上picocontainer报的UnsatisfiableDependenciesException错误.都查了下发现参数也没有配置不对的地方.

问题解决了.欢迎大家交流

UnsatisfiableDependenciesException表示依赖注射时缺一些类没有配置在jdonframework.xml文件中。

请教如何解决这个问题的,我也出现了这个问题。。。。
谢谢 啦

这是常出现的问题:

PermissionInterceptor这个构造参数需要:
1.com.jdon.container.visitor.data.SessionContextSetup2. class com.lottery.auth.OperationAuthorization,
3. com.lottery.dao.AccountDao, class
4. com.lottery.service.util.SessionContextUtil

这四个类,但是Jdon框架在jdonframework.xml下找啊找,都找不全,是不是你们忘记将这四个类中一个配置在jdonframework.xml呢?

如果还不行,下载本站提供的JBoss环境调试。然后逐步排除。

org.picocontainer.defaults.UnsatisfiableDependenciesException: com.jdon.controller.cache.CacheManager has unsatisfiable dependen
cies: [[interface com.jdon.controller.cache.Cache]]

>CacheManager has unsatisfiable dependen
cies: [[interface com.jdon.controller.cache.Cache]]
CacheManager 这个构造方法需要一个Cache类型的方法参数,但是没有找到这个Cache类型interface com.jdon.controller.cache.Cache。

如果是原封不动下载,注意用最新JdonFramework版本替代JBoss/server/default/lib目录下的旧版本

thanks
问题解决~~