0
点赞
收藏
分享

微信扫一扫

淘淘商城项目Exception实记


淘淘商城项目实记-

-分布式-集群介绍-环境配置-框架搭建

问题一: Project build error: Non-resolvable parent POM for com.taotao:taotao-manager:0.0.1-SNAPSHOT: Could not find artifact com

右键工程 -> Run As -> Maven install ( 把taotao-manager添加到工程中 )

问题二:3.4.2-fix

这是视频里老师改过的,我们用<pagehelper.version>3.4.2</pagehelper.version> ,然后将所有工程 Maven -> Update Project

问题三:No plugin found for prefix 'tomcat7'

不管tomcat7,还是tomcat8,对项目应该是没有影响,直接按照视频流程即可(不过我tomcat7 8 都有)

问题一:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.taotao.service.ItemService com.taotao.controller.ItemController.itemservice; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.taotao.service.ItemService. No provider available for the service com.taotao.service.ItemService from the url zookeeper://192.168.254.2:2181/com.alibaba.dubbo.registry.RegistryService?application=taotao-manager-web&dubbo=2.5.3&interface=com.taotao.service.ItemService&methods=getItemList&pid=4908&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1543541946979 to the consumer 192.168.37.1 use dubbo version 2.5.3
 

问题二

java.lang.IllegalStateException: Failed to check the status of the service com.taotao.service.ItemService. No provider available for the service com.taotao.service.ItemService from the url zookeeper://192.168.254.2:2181/com.alibaba.dubbo.registry.RegistryService?application=taotao-manager-web&dubbo=2.5.3&interface=com.taotao.service.ItemService&methods=getItemList&pid=4824&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1543542826163 to the consumer 192.168.37.1 use dubbo version 2.5.3
 

举报

相关推荐

0 条评论