spring boot报Stopping service [Tomcat]

  • Tomcat意外停止了,提示Stopping service [Tomcat],详细信息如下
    在这里插入图片描述
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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 其实这里面并没有什么有用的提示信息;引发这个异常的原因有很多;比较通用的解决办法就是让它多打印一些信息出来排除错误。

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

log4j.rootLogger=INFO, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout

 
 
  • 1
  • 2
  • 3
  • 如果没有log4j的依赖,记得添加依赖
		<dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>

 
 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 然后重新启动程序,就看到了一堆报错信息;是有一个配置找不到,表达式无法解析。
    在这里插入图片描述
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 “ c u s t o m . i n t e r f a c e . u r l " a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s P r o p e r t y V a l u e s ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 321 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . p o p u l a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1341 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . d o C r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 572 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . c r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 495 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . l a m b d a {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 custom.interface.url"atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)atorg.springframework.beans.factory.support.AbstractBeanFactory.lambdadoGetBean 0 ( A b s t r a c t B e a n F a c t o r y . j a v a : 317 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 315 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 199 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . p r e I n s t a n t i a t e S i n g l e t o n s ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 759 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . f i n i s h B e a n F a c t o r y I n i t i a l i z a t i o n ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 869 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . r e f r e s h ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 550 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . w e b . s e r v l e t . c o n t e x t . S e r v l e t W e b S e r v e r A p p l i c a t i o n C o n t e x t . r e f r e s h ( S e r v l e t W e b S e r v e r A p p l i c a t i o n C o n t e x t . j a v a : 140 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h ( S p r i n g A p p l i c a t i o n . j a v a : 762 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h C o n t e x t ( S p r i n g A p p l i c a t i o n . j a v a : 398 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 330 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1258 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1246 ) a t c o m . r w . a r t i c l e . C u s t o m e r C h a t A p p l i c a t i o n . m a i n ( C u s t o m e r C h a t A p p l i c a t i o n . j a v a : 12 ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 ) a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 ) a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . d e v t o o l s . r e s t a r t . R e s t a r t L a u n c h e r . r u n ( R e s t a r t L a u n c h e r . j a v a : 49 ) C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ c o n f i g S e r v e r P r o c e s s ′ : I n j e c t i o n o f r e s o u r c e d e p e n d e n c i e s f a i l e d ; n e s t e d e x c e p t i o n i s o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ z o o k e e p e r L i s t e n s e r ′ : I n j e c t i o n o f r e s o u r c e d e p e n d e n c i e s f a i l e d ; n e s t e d e x c e p t i o n i s o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ g e n e r i c C o n f i g u r a t i o n ′ : I n j e c t i o n o f a u t o w i r e d d e p e n d e n c i e s f a i l e d ; n e s t e d e x c e p t i o n i s j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : C o u l d n o t r e s o l v e p l a c e h o l d e r ′ c u s t o m . i n t e r f a c e . u r l ′ i n v a l u e " 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 " 0(AbstractBeanFactory.java:317)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)atorg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:762)atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:398)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:330)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1258)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1246)atcom.rw.article.CustomerChatApplication.main(CustomerChatApplication.java:12)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)Causedby:org.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnameconfigServerProcess:Injectionofresourcedependenciesfailed;nestedexceptionisorg.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnamezookeeperListenser:Injectionofresourcedependenciesfailed;nestedexceptionisorg.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnamegenericConfiguration:Injectionofautowireddependenciesfailed;nestedexceptionisjava.lang.IllegalArgumentException:Couldnotresolveplaceholdercustom.interface.urlinvalue"{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 ( A b s t r a c t B e a n F a c t o r y . j a v a : 317 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 315 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 204 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . a u t o w i r e R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 514 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . g e t R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 485 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r 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 0(AbstractBeanFactory.java:317)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:514)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:485)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessorResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:619)
at org.springframework.beans.factory.annotation.InjectionMetadata I n j e c t e d E l e m e n t . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 177 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . I n j e c t i o n M e t a d a t a . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 91 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s P r o p e r t y V a l u e s ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 318 ) . . . 22 m o r e C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ z o o k e e p e r L i s t e n s e r ′ : I n j e c t i o n o f r e s o u r c e d e p e n d e n c i e s f a i l e d ; n e s t e d e x c e p t i o n i s o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ g e n e r i c C o n f i g u r a t i o n ′ : I n j e c t i o n o f a u t o w i r e d d e p e n d e n c i e s f a i l e d ; n e s t e d e x c e p t i o n i s j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : C o u l d n o t r e s o l v e p l a c e h o l d e r ′ c u s t o m . i n t e r f a c e . u r l ′ i n v a l u e " 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 " InjectedElement.inject(InjectionMetadata.java:177)atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)...22moreCausedby:org.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnamezookeeperListenser:Injectionofresourcedependenciesfailed;nestedexceptionisorg.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnamegenericConfiguration:Injectionofautowireddependenciesfailed;nestedexceptionisjava.lang.IllegalArgumentException:Couldnotresolveplaceholdercustom.interface.urlinvalue"{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 ( A b s t r a c t B e a n F a c t o r y . j a v a : 317 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 315 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 204 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . a u t o w i r e R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 514 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . g e t R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 485 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r 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 0(AbstractBeanFactory.java:317)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:514)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:485)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessorResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:619)
at org.springframework.beans.factory.annotation.InjectionMetadata I n j e c t e d E l e m e n t . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 177 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . I n j e c t i o n M e t a d a t a . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 91 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s P r o p e r t y V a l u e s ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 318 ) . . . 35 m o r e C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ g e n e r i c C o n f i g u r a t i o n ′ : I n j e c t i o n o f a u t o w i r e d d e p e n d e n c i e s f a i l e d ; n e s t e d e x c e p t i o n i s j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : C o u l d n o t r e s o l v e p l a c e h o l d e r ′ c u s t o m . i n t e r f a c e . u r l ′ i n v a l u e " 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 " InjectedElement.inject(InjectionMetadata.java:177)atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)...35moreCausedby:org.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnamegenericConfiguration:Injectionofautowireddependenciesfailed;nestedexceptionisjava.lang.IllegalArgumentException:Couldnotresolveplaceholdercustom.interface.urlinvalue"{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 ( A b s t r a c t B e a n F a c t o r y . j a v a : 317 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 315 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 199 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . C o n s t r u c t o r R e s o l v e r . i n s t a n t i a t e U s i n g F a c t o r y M e t h o d ( C o n s t r u c t o r R e s o l v e r . j a v a : 372 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . i n s t a n t i a t e U s i n g F a c t o r y M e t h o d ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1247 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . c r e a t e B e a n I n s t a n c e ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1096 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . d o C r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 535 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . c r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 495 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . l a m b d a 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 0(AbstractBeanFactory.java:317)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)atorg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1247)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1096)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)atorg.springframework.beans.factory.support.AbstractBeanFactory.lambdadoGetBean 0 ( A b s t r a c t B e a n F a c t o r y . j a v a : 317 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 315 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 204 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . a u t o w i r e R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 514 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . g e t R e s o u r c e ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 485 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r 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 0(AbstractBeanFactory.java:317)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:514)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:485)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessorResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:619)
at org.springframework.beans.factory.annotation.InjectionMetadata I n j e c t e d E l e m e n t . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 177 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . I n j e c t i o n M e t a d a t a . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 91 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s P r o p e r t y V a l u e s ( C o m m o n A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 318 ) . . . 48 m o r e C a u s e d b y : j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : C o u l d n o t r e s o l v e p l a c e h o l d e r ′ c u s t o m . i n t e r f a c e . u r l ′ i n v a l u e " 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 " InjectedElement.inject(InjectionMetadata.java:177)atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)atorg.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)...48moreCausedby:java.lang.IllegalArgumentException:Couldnotresolveplaceholdercustom.interface.urlinvalue"{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 ( P r o p e r t y S o u r c e s P l a c e h o l d e r C o n f i g u r e r . j a v a : 175 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . r e s o l v e E m b e d d e d V a l u e ( A b s t r a c t B e a n F a c t o r y . j a v a : 839 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . d o R e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1083 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1062 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . A u t o w i r e d A n n o t a t i o n B e a n P o s t P r o c e s s o r 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 0(PropertySourcesPlaceholderConfigurer.java:175)atorg.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:839)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1083)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorAutowiredFieldElement.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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 出现意外停止的情况,多半是配置的问题。
                                </div>
            <link href="https://csdnimg.cn/release/phoenix/mdeditor/markdown_views-60ecaf1f42.css" rel="stylesheet">
                            </div>
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值