No auto configuration classes found in META-INF/spring.factories. If you are using a custom packaging, make sure that file is correct.
at org.springframework.util.Assert.notEmpty(Assert.java:276)
小狼第一次接触springboot ,为了方便用的fatjar打包,结果出现这个问题,调整思路后在项目的pom.xml 修改如下代码之后用mvn package
然后运行命令 java -jar /opt/soft/elasticsearch_mongodb_test-0.0.1-SNAPSHOT.jar