初学者Jpetstore问题?

pengyan82311 08-04-11

小弟刚开始学习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,这什么什么错误啊,望哪位大哥帮忙看看,先谢谢了

pengyan82311
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是在哪里定义的啊

pengyan82311
2008-04-11 14:09

晕,ibatis的类库没导入

pengyan82311
2008-04-11 14:18

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