org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brandServiceImpl' defined in file [E:\workspace\pinyougou78\pinyougou_parent\pinyougou_sellergoods_service\target\classes\com\pinyougou\sellergoods\service\impl\BrandServiceImpl.class]: Initialization of bean failed; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
虚拟机不用时最好挂机,不要关机。切记! 要不然虚拟机重启,zookeepery等软件都要重新启动。包括ip地址最好固定下来。要不然每次打开都要改配置文件。
点击Edit Connections–> Auto eth4 -->Edit–>Ipv4Settings–>设置完了点击用用。这样IP就固定下来了。