abnormal:
Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.logging.ClasspathLoggingApplicationListener
。。。。。。
Caused by: java.lang.NoClassDefFoundError: org/springframework/context/event/GenericApplicationListener
solution:
This problem may be due to the Spring due to the low version, upgrade version spring. Affinity can be measured 4.2.5.RELEASE
<org.springframework.version>4.2.5.RELEASE</org.springframework.version>
<org.springframework.version>2.2.5.RELEASE</org.springframework.version>
Reproduced in: https: //www.jianshu.com/p/9eec8c839bb2