发帖    主题    评论    推荐    标签    作者    订阅    查搜    注册   登陆   关注
 
面向对象 设计模式 领域驱动设计 企业架构 框架 开发教程 微服务 CQRS 扩展性 并发编程 事件溯源 分布式 SOA

初学者Jpetstore问题?

2008-04-11 13:29
赞助商链接

小弟刚开始学习J2EE,以Jpetstore为切入点,重新写了次Jpetstore可部署后登陆报
13:10:07,359 INFO [STDOUT] 13:10:07,359 ERROR [POJOObjectFactory] [JdonFramework]create error: org.picocontainer.defaults.UnsatisfiableDependenciesException: org.mark.petstore.service.bo.AccountServiceImp has unsatisfiable dependencies: [[interface org.mark.petstore.persistence.dao.iface.AccountDao, interface org.mark.petstore.service.ProductManager]]
13:10:07,359 INFO [STDOUT] 13:10:07,359 ERROR [DefaultTargetServiceFactory] [JdonFramework]create error: java.lang.Exception: org.picocontainer.defaults.UnsatisfiableDependenciesException: org.mark.petstore.service.bo.AccountServiceImp has unsatisfiable dependencies: [[interface org.mark.petstore.persistence.dao.iface.AccountDao, interface org.mark.petstore.service.ProductManager]]
13:10:07,359 INFO [STDOUT] 13:10:07,359 ERROR [POJOObjectFactory] [JdonFramework]create error: org.picocontainer.defaults.UnsatisfiableDependenciesException: org.mark.petstore.service.bo.AccountServiceImp has unsatisfiable dependencies: [[interface org.mark.petstore.persistence.dao.iface.AccountDao, interface org.mark.petstore.service.ProductManager]]
13:10:07,359 INFO [STDOUT] 13:10:07,359 ERROR [DefaultTargetServiceFactory] [JdonFramework]create error: java.lang.Exception: org.picocontainer.defaults.UnsatisfiableDependenciesException: org.mark.petstore.service.bo.AccountServiceImp has unsatisfiable dependencies: [[interface org.mark.petstore.persistence.dao.iface.AccountDao, interface org.mark.petstore.service.ProductManager]]
13:10:07,359 INFO [STDOUT] 13:10:07,359 ERROR [ProxyMethodInvocation] [JdonFramework]run error: java.lang.NullPointerException
??什么业务逻辑部分什么也没动,只是改动了少许JSP,这什么什么错误啊,望哪位大哥帮忙看看,先谢谢了

2008-04-11 13:51

晕,经检查是jdonframework_iBATIS.xml中的错误,可还是不行
13:37:28,031 INFO [STDOUT] 13:37:28,031 ERROR [POJOObjectFactory] [JdonFramework]create error: java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources
13:37:28,031 INFO [STDOUT] 13:37:28,031 ERROR [DefaultTargetServiceFactory] [JdonFramework]create error: java.lang.Exception: java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources
13:37:28,046 INFO [STDOUT] 13:37:28,046 ERROR [POJOObjectFactory] [JdonFramework]create error: java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources
13:37:28,046 INFO [STDOUT] 13:37:28,046 ERROR [DefaultTargetServiceFactory] [JdonFramework]create error: java.lang.Exception: java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resources
13:37:28,046 INFO [STDOUT] 13:37:28,046 ERROR [ProxyMethodInvocation] [JdonFramework]run error: java.lang.NullPointerException
com/ibatis/common/resources/Resources是在哪里定义的啊

2008-04-11 14:09

晕,ibatis的类库没导入

2008-04-11 14:18

好了,所出的问题全是代码输入的问题。
可是为什么使用中文在MySQL中全是??呢是数据库的问题还是在代码中需要设置下呢,
小弟想逐步完善下这个实例,首先把页面汉化,可以的话把持久层替换成hibernate.
[该贴被pengyan82311于2008-04-11 14:25修改过]

赞助商链接

赞助商链接

返回顶部

移动版 关于本站 使用帮助 联系反馈 最佳分辨率1366x768
OpenSource JIVEJDON Powered by JdonFramework Code © 2002-20 jdon.com