spring boot报Stopping service [Tomcat]

  • Tomcat意外停止了,提示Stopping service [Tomcat],详细信息如下
    spring boot报Stopping service [Tomcat]_第1张图片
D:\software\Java8\jdk1.8.0_144\bin\java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53645,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=53644 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath D:\software\Java8\jdk1.8.0_144\jre\lib\charsets.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\deploy.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\access-bridge-64.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\cldrdata.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\dnsns.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\jaccess.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\jfxrt.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\localedata.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\nashorn.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunec.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunjce_provider.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunmscapi.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunpkcs11.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\zipfs.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\javaws.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jce.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jfr.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jfxswt.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jsse.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\management-agent.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\plugin.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\resources.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\rt.jar;F:\work\red_package\redpacket-admin\customer-chat\target\classes;F:\mavenRepository\defaultRepository\org\apache\curator\curator-framework\2.12.0\curator-framework-2.12.0.jar;F:\mavenRepository\defaultRepository\org\apache\curator\curator-client\2.12.0\curator-client-2.12.0.jar;F:\mavenRepository\defaultRepository\org\apache\zookeeper\zookeeper\3.4.8\zookeeper-3.4.8.jar;F:\mavenRepository\defaultRepository\log4j\log4j\1.2.16\log4j-1.2.16.jar;F:\mavenRepository\defaultRepository\jline\jline\0.9.94\jline-0.9.94.jar;F:\mavenRepository\defaultRepository\io\netty\netty\3.7.0.Final\netty-3.7.0.Final.jar;F:\mavenRepository\defaultRepository\com\google\guava\guava\16.0.1\guava-16.0.1.jar;F:\mavenRepository\defaultRepository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;F:\mavenRepository\defaultRepository\org\apache\curator\curator-recipes\2.12.0\curator-recipes-2.12.0.jar;F:\mavenRepository\defaultRepository\com\aliyun\oss\aliyun-sdk-oss\2.8.3\aliyun-sdk-oss-2.8.3.jar;F:\mavenRepository\defaultRepository\org\jdom\jdom\1.1\jdom-1.1.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-security\2.0.4.RELEASE\spring-boot-starter-security-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter\2.0.4.RELEASE\spring-boot-starter-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-logging\2.0.4.RELEASE\spring-boot-starter-logging-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;F:\mavenRepository\defaultRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;F:\mavenRepository\defaultRepository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;F:\mavenRepository\defaultRepository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;F:\mavenRepository\defaultRepository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;F:\mavenRepository\defaultRepository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;F:\mavenRepository\defaultRepository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-aop\5.0.8.RELEASE\spring-aop-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-beans\5.0.8.RELEASE\spring-beans-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\security\spring-security-config\5.0.7.RELEASE\spring-security-config-5.0.7.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\security\spring-security-core\5.0.7.RELEASE\spring-security-core-5.0.7.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\security\spring-security-web\5.0.7.RELEASE\spring-security-web-5.0.7.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-expression\5.0.8.RELEASE\spring-expression-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\io\netty\netty-all\4.1.27.Final\netty-all-4.1.27.Final.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-mail\2.0.4.RELEASE\spring-boot-starter-mail-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-context\5.0.8.RELEASE\spring-context-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-context-support\5.0.8.RELEASE\spring-context-support-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\com\sun\mail\javax.mail\1.6.1\javax.mail-1.6.1.jar;F:\mavenRepository\defaultRepository\javax\activation\activation\1.1\activation-1.1.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-data-mongodb\2.0.4.RELEASE\spring-boot-starter-data-mongodb-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\mongodb\mongodb-driver\3.6.4\mongodb-driver-3.6.4.jar;F:\mavenRepository\defaultRepository\org\mongodb\bson\3.6.4\bson-3.6.4.jar;F:\mavenRepository\defaultRepository\org\mongodb\mongodb-driver-core\3.6.4\mongodb-driver-core-3.6.4.jar;F:\mavenRepository\defaultRepository\org\springframework\data\spring-data-mongodb\2.0.9.RELEASE\spring-data-mongodb-2.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-tx\5.0.8.RELEASE\spring-tx-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\data\spring-data-commons\2.0.9.RELEASE\spring-data-commons-2.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;F:\mavenRepository\defaultRepository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;F:\mavenRepository\defaultRepository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;F:\mavenRepository\defaultRepository\org\apache\httpcomponents\httpmime\4.5.2\httpmime-4.5.2.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-thymeleaf\2.0.4.RELEASE\spring-boot-starter-thymeleaf-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\thymeleaf\thymeleaf-spring5\3.0.9.RELEASE\thymeleaf-spring5-3.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\thymeleaf\thymeleaf\3.0.9.RELEASE\thymeleaf-3.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\attoparser\attoparser\2.0.4.RELEASE\attoparser-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\unbescape\unbescape\1.1.5.RELEASE\unbescape-1.1.5.RELEASE.jar;F:\mavenRepository\defaultRepository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.1.RELEASE\thymeleaf-extras-java8time-3.0.1.RELEASE.jar;F:\mavenRepository\defaultRepository\org\dom4j\dom4j\2.0.0\dom4j-2.0.0.jar;F:\mavenRepository\defaultRepository\jaxen\jaxen\1.1.6\jaxen-1.1.6.jar;F:\mavenRepository\defaultRepository\org\apache\commons\commons-lang3\3.6\commons-lang3-3.6.jar;F:\mavenRepository\defaultRepository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;F:\mavenRepository\defaultRepository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;F:\mavenRepository\defaultRepository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-web\2.0.4.RELEASE\spring-boot-starter-web-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-json\2.0.4.RELEASE\spring-boot-starter-json-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-tomcat\2.0.4.RELEASE\spring-boot-starter-tomcat-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\apache\tomcat\embed\tomcat-embed-core\8.5.32\tomcat-embed-core-8.5.32.jar;F:\mavenRepository\defaultRepository\org\apache\tomcat\embed\tomcat-embed-el\8.5.32\tomcat-embed-el-8.5.32.jar;F:\mavenRepository\defaultRepository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.32\tomcat-embed-websocket-8.5.32.jar;F:\mavenRepository\defaultRepository\org\hibernate\validator\hibernate-validator\6.0.11.Final\hibernate-validator-6.0.11.Final.jar;F:\mavenRepository\defaultRepository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;F:\mavenRepository\defaultRepository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;F:\mavenRepository\defaultRepository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-web\5.0.8.RELEASE\spring-web-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-webmvc\5.0.8.RELEASE\spring-webmvc-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-core\5.0.8.RELEASE\spring-core-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-jcl\5.0.8.RELEASE\spring-jcl-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-devtools\2.0.4.RELEASE\spring-boot-devtools-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot\2.0.4.RELEASE\spring-boot-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-autoconfigure\2.0.4.RELEASE\spring-boot-autoconfigure-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\com\alibaba\fastjson\1.2.47\fastjson-1.2.47.jar;D:\software\JetBrains\IntelliJIDEA2017.2.5\lib\idea_rt.jar com.rw.article.CustomerChatApplication
Connected to the target VM, address: '127.0.0.1:53645', transport: 'socket'
log4j:WARN No appenders could be found for logger (org.springframework.boot.devtools.settings.DevToolsSettings).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

2019-06-27 14:44:44,380 INFO (DirectJDKLog.java:180)- Initializing ProtocolHandler ["http-nio-8091"]
2019-06-27 14:44:44,406 INFO (DirectJDKLog.java:180)- Starting service [Tomcat]
2019-06-27 14:44:44,407 INFO (DirectJDKLog.java:180)- Starting Servlet Engine: Apache Tomcat/8.5.32
2019-06-27 14:44:44,417 INFO (DirectJDKLog.java:180)- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\software\Java8\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\software\apache-ant-1.10.5\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\software\phpStudy\MySQL/bin;D:\software\Python35\Scripts;D:\software\Tesseract-OCR;D:\software\gradle-4.5.1/bin;D:\software\apache-maven-3.5.0/bin;D:\software\Python35;C:\ProgramData\Oracle\Java\javapath;D:\software\Java8\jdk1.8.0_144\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\software\TortoiseSVN\bin;d:\software\Git\cmd;D:\software\scala\bin;D:\software\SlikSvn\bin;D:\software\nodejs\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;F:\software\CloudFoundry;F:\software\TortoiseGit\bin;D:\software\phpStudy\php\php-5.4.45-nts;C:\ProgramData\ComposerSetup\bin;d:\software\Fiddler;C:\Users\Administrator\AppData\Roaming\npm;F:\software\MicrosoftVSCode\bin;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin;.]
2019-06-27 14:44:44,649 INFO (DirectJDKLog.java:180)- Initializing Spring embedded WebApplicationContext
2019-06-27 14:44:45,057 INFO (DirectJDKLog.java:180)- Stopping service [Tomcat]
Disconnected from the target VM, address: '127.0.0.1:53645', transport: 'socket'

Process finished with exit code 0



  • 其实这里面并没有什么有用的提示信息;引发这个异常的原因有很多;比较通用的解决办法就是让它多打印一些信息出来排除错误。

  • 在resources目录加入log4j.properties,文件内容如下

log4j.rootLogger=INFO, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  • 如果没有log4j的依赖,记得添加依赖
		
            log4j
            log4j
            1.2.17
        
  • 然后重新启动程序,就看到了一堆报错信息;是有一个配置找不到,表达式无法解析。
    spring boot报Stopping service [Tomcat]_第2张图片
D:\software\Java8\jdk1.8.0_144\bin\java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53468,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=53467 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath D:\software\Java8\jdk1.8.0_144\jre\lib\charsets.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\deploy.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\access-bridge-64.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\cldrdata.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\dnsns.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\jaccess.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\jfxrt.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\localedata.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\nashorn.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunec.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunjce_provider.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunmscapi.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\sunpkcs11.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\ext\zipfs.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\javaws.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jce.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jfr.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jfxswt.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\jsse.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\management-agent.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\plugin.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\resources.jar;D:\software\Java8\jdk1.8.0_144\jre\lib\rt.jar;F:\work\red_package\redpacket-admin\customer-chat\target\classes;F:\mavenRepository\defaultRepository\org\apache\curator\curator-framework\2.12.0\curator-framework-2.12.0.jar;F:\mavenRepository\defaultRepository\org\apache\curator\curator-client\2.12.0\curator-client-2.12.0.jar;F:\mavenRepository\defaultRepository\org\apache\zookeeper\zookeeper\3.4.8\zookeeper-3.4.8.jar;F:\mavenRepository\defaultRepository\log4j\log4j\1.2.16\log4j-1.2.16.jar;F:\mavenRepository\defaultRepository\jline\jline\0.9.94\jline-0.9.94.jar;F:\mavenRepository\defaultRepository\io\netty\netty\3.7.0.Final\netty-3.7.0.Final.jar;F:\mavenRepository\defaultRepository\com\google\guava\guava\16.0.1\guava-16.0.1.jar;F:\mavenRepository\defaultRepository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;F:\mavenRepository\defaultRepository\org\apache\curator\curator-recipes\2.12.0\curator-recipes-2.12.0.jar;F:\mavenRepository\defaultRepository\com\aliyun\oss\aliyun-sdk-oss\2.8.3\aliyun-sdk-oss-2.8.3.jar;F:\mavenRepository\defaultRepository\org\jdom\jdom\1.1\jdom-1.1.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-security\2.0.4.RELEASE\spring-boot-starter-security-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter\2.0.4.RELEASE\spring-boot-starter-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-logging\2.0.4.RELEASE\spring-boot-starter-logging-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;F:\mavenRepository\defaultRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;F:\mavenRepository\defaultRepository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;F:\mavenRepository\defaultRepository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;F:\mavenRepository\defaultRepository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;F:\mavenRepository\defaultRepository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;F:\mavenRepository\defaultRepository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-aop\5.0.8.RELEASE\spring-aop-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-beans\5.0.8.RELEASE\spring-beans-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\security\spring-security-config\5.0.7.RELEASE\spring-security-config-5.0.7.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\security\spring-security-core\5.0.7.RELEASE\spring-security-core-5.0.7.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\security\spring-security-web\5.0.7.RELEASE\spring-security-web-5.0.7.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-expression\5.0.8.RELEASE\spring-expression-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\io\netty\netty-all\4.1.27.Final\netty-all-4.1.27.Final.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-mail\2.0.4.RELEASE\spring-boot-starter-mail-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-context\5.0.8.RELEASE\spring-context-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-context-support\5.0.8.RELEASE\spring-context-support-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\com\sun\mail\javax.mail\1.6.1\javax.mail-1.6.1.jar;F:\mavenRepository\defaultRepository\javax\activation\activation\1.1\activation-1.1.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-data-mongodb\2.0.4.RELEASE\spring-boot-starter-data-mongodb-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\mongodb\mongodb-driver\3.6.4\mongodb-driver-3.6.4.jar;F:\mavenRepository\defaultRepository\org\mongodb\bson\3.6.4\bson-3.6.4.jar;F:\mavenRepository\defaultRepository\org\mongodb\mongodb-driver-core\3.6.4\mongodb-driver-core-3.6.4.jar;F:\mavenRepository\defaultRepository\org\springframework\data\spring-data-mongodb\2.0.9.RELEASE\spring-data-mongodb-2.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-tx\5.0.8.RELEASE\spring-tx-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\data\spring-data-commons\2.0.9.RELEASE\spring-data-commons-2.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;F:\mavenRepository\defaultRepository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;F:\mavenRepository\defaultRepository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;F:\mavenRepository\defaultRepository\org\apache\httpcomponents\httpmime\4.5.2\httpmime-4.5.2.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-thymeleaf\2.0.4.RELEASE\spring-boot-starter-thymeleaf-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\thymeleaf\thymeleaf-spring5\3.0.9.RELEASE\thymeleaf-spring5-3.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\thymeleaf\thymeleaf\3.0.9.RELEASE\thymeleaf-3.0.9.RELEASE.jar;F:\mavenRepository\defaultRepository\org\attoparser\attoparser\2.0.4.RELEASE\attoparser-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\unbescape\unbescape\1.1.5.RELEASE\unbescape-1.1.5.RELEASE.jar;F:\mavenRepository\defaultRepository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.1.RELEASE\thymeleaf-extras-java8time-3.0.1.RELEASE.jar;F:\mavenRepository\defaultRepository\org\dom4j\dom4j\2.0.0\dom4j-2.0.0.jar;F:\mavenRepository\defaultRepository\jaxen\jaxen\1.1.6\jaxen-1.1.6.jar;F:\mavenRepository\defaultRepository\org\apache\commons\commons-lang3\3.6\commons-lang3-3.6.jar;F:\mavenRepository\defaultRepository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;F:\mavenRepository\defaultRepository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;F:\mavenRepository\defaultRepository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-web\2.0.4.RELEASE\spring-boot-starter-web-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-json\2.0.4.RELEASE\spring-boot-starter-json-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar;F:\mavenRepository\defaultRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-starter-tomcat\2.0.4.RELEASE\spring-boot-starter-tomcat-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\apache\tomcat\embed\tomcat-embed-core\8.5.32\tomcat-embed-core-8.5.32.jar;F:\mavenRepository\defaultRepository\org\apache\tomcat\embed\tomcat-embed-el\8.5.32\tomcat-embed-el-8.5.32.jar;F:\mavenRepository\defaultRepository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.32\tomcat-embed-websocket-8.5.32.jar;F:\mavenRepository\defaultRepository\org\hibernate\validator\hibernate-validator\6.0.11.Final\hibernate-validator-6.0.11.Final.jar;F:\mavenRepository\defaultRepository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;F:\mavenRepository\defaultRepository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;F:\mavenRepository\defaultRepository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-web\5.0.8.RELEASE\spring-web-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-webmvc\5.0.8.RELEASE\spring-webmvc-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-core\5.0.8.RELEASE\spring-core-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\spring-jcl\5.0.8.RELEASE\spring-jcl-5.0.8.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-devtools\2.0.4.RELEASE\spring-boot-devtools-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot\2.0.4.RELEASE\spring-boot-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\org\springframework\boot\spring-boot-autoconfigure\2.0.4.RELEASE\spring-boot-autoconfigure-2.0.4.RELEASE.jar;F:\mavenRepository\defaultRepository\com\alibaba\fastjson\1.2.47\fastjson-1.2.47.jar;D:\software\JetBrains\IntelliJIDEA2017.2.5\lib\idea_rt.jar com.rw.article.CustomerChatApplication
Connected to the target VM, address: '127.0.0.1:53468', transport: 'socket'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

Starting CustomerChatApplication on zhouzhongqing with PID 9096 (F:\work\red_package\redpacket-admin\customer-chat\target\classes started by Administrator in F:\work\red_package\redpacket-admin)
The following profiles are active: standard
Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7e1bd8b6: startup date [Thu Jun 27 14:41:10 CST 2019]; root of context hierarchy
Tomcat initialized with port(s): 8091 (http)
2019-06-27 14:41:15,548 INFO (DirectJDKLog.java:180)- Initializing ProtocolHandler ["http-nio-8091"]
2019-06-27 14:41:15,572 INFO (DirectJDKLog.java:180)- Starting service [Tomcat]
2019-06-27 14:41:15,572 INFO (DirectJDKLog.java:180)- Starting Servlet Engine: Apache Tomcat/8.5.32
2019-06-27 14:41:15,581 INFO (DirectJDKLog.java:180)- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\software\Java8\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\software\apache-ant-1.10.5\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\software\phpStudy\MySQL/bin;D:\software\Python35\Scripts;D:\software\Tesseract-OCR;D:\software\gradle-4.5.1/bin;D:\software\apache-maven-3.5.0/bin;D:\software\Python35;C:\ProgramData\Oracle\Java\javapath;D:\software\Java8\jdk1.8.0_144\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\software\TortoiseSVN\bin;d:\software\Git\cmd;D:\software\scala\bin;D:\software\SlikSvn\bin;D:\software\nodejs\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;F:\software\CloudFoundry;F:\software\TortoiseGit\bin;D:\software\phpStudy\php\php-5.4.45-nts;C:\ProgramData\ComposerSetup\bin;d:\software\Fiddler;C:\Users\Administrator\AppData\Roaming\npm;F:\software\MicrosoftVSCode\bin;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin;.]
2019-06-27 14:41:15,780 INFO (DirectJDKLog.java:180)- Initializing Spring embedded WebApplicationContext
Root WebApplicationContext: initialization completed in 4838 ms
Mapping filter: 'characterEncodingFilter' to: [/*]
Mapping filter: 'springSecurityFilterChain' to: [/*]
Mapping filter: 'myFilterConfig' to: [/*]
Servlet dispatcherServlet mapped to [/]
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configServerProcess': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zookeeperListenser': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'custom.interface.url' in value "${custom.interface.url}"
2019-06-27 14:41:16,082 INFO (DirectJDKLog.java:180)- Stopping service [Tomcat]


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configServerProcess': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zookeeperListenser': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'custom.interface.url' in value "${custom.interface.url}"
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:398)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:330)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1258)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1246)
	at com.rw.article.CustomerChatApplication.main(CustomerChatApplication.java:12)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configServerProcess': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zookeeperListenser': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'custom.interface.url' in value "${custom.interface.url}"
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:514)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:485)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:619)
	at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:177)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)
	... 22 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zookeeperListenser': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'custom.interface.url' in value "${custom.interface.url}"
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:514)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:485)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:619)
	at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:177)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)
	... 35 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'custom.interface.url' in value "${custom.interface.url}"
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:378)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1247)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1096)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:514)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:485)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:619)
	at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:177)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)
	... 48 more
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'custom.interface.url' in value "${custom.interface.url}"
	at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
	at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
	at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237)
	at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211)
	at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175)
	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:839)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1083)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:372)
	... 70 more
Disconnected from the target VM, address: '127.0.0.1:53468', transport: 'socket'

Process finished with exit code 0

  • 出现意外停止的情况,多半是配置的问题。

你可能感兴趣的:(java)