无法找到jar包及修改后导致zookeeper无法连接的问题
springboot项目中lib路径下有个jar包找不到,按网上修改pom后可以找到jar包,但是无法启动
eclipse会根据pom启动。。需要在debug configuation中将classpash中增加resresources,否则启动项目zookeeper默认2181端口
- <resources>
- <resource>
- <directory>lib</directory>
- <targetPath>BOOT-INF/lib/</targetPath>
- <includes>
- <include>*.jar</include>
- </includes>
- </resource>