一、Project xxx is missing required source folder: 'src/main/resources'
问题描述:
Project xxx is missing required source folder: 'src/main/resources'
原因 :
开发环境中,eclipse.project文件可能存在对缺失文件夹的引用,但是project中已经没有了该文件夹,导致编译的时候找不到该文件夹。
解决方法:
选中project-->右键-->properties--->java build path-->Source,把缺少的文件夹remove掉,重新编译就ok了
一、zookeeper错误
1.Opening socket connection to server 1.1.1.1/1.1.1.1:2181. Will not attempt to authenticate using SASL (unknown error)
解决方法:在本机C:\Windows\System32\drivers\etc下hosts文件里加上一句:1.1.1.1 ubuntu16,其中1.1.1.1位zoopeeper所在服务器ip,ubuntu16为zzookeeper服务名