idea 2019 1 spring boot 启动报错 An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

1、构建一个简单springboot工程,日志打印报错内容如下:

 1 15:38:28.673 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
 2 15:38:28.675 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/, /spring-boot/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter/target/classes/]
 3 15:38:28.675 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/G:/workspace/paic/target/classes/]
 4 
 5   .   ____          _            __ _ _
 6  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
 7 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 8  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
 9   '  |____| .__|_| |_|_| |_\__, | / / / /
10  =========|_|==============|___/=/_/_/_/
11  :: Spring Boot ::        (v2.0.7.RELEASE)
12 
13 2019-08-18 15:38:28.938  INFO 11012 --- [  restartedMain] com.paic.PaicApplication                 : Starting PaicApplication on WIN7 with PID 11012 (G:\workspace\paic\target\classes started by Administrator in G:\workspace)
14 2019-08-18 15:38:28.939  INFO 11012 --- [  restartedMain] com.paic.PaicApplication                 : No active profile set, falling back to default profiles: default
15 2019-08-18 15:38:28.975  INFO 11012 --- [  restartedMain] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2665e2f9: startup date [Sun Aug 18 15:38:28 CST 2019]; root of context hierarchy
16 2019-08-18 15:38:29.800 ERROR 11012 --- [  restartedMain] o.a.catalina.core.AprLifecycleListener   : An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
17 2019-08-18 15:38:29.956  INFO 11012 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8081 (http)
18 2019-08-18 15:38:29.965 ERROR 11012 --- [  restartedMain] o.a.catalina.core.AprLifecycleListener   : An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
19 2019-08-18 15:38:29.973  INFO 11012 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
20 2019-08-18 15:38:29.973  INFO 11012 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.35
21 2019-08-18 15:38:29.976 ERROR 11012 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
22 2019-08-18 15:38:30.036  INFO 11012 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
23 2019-08-18 15:38:30.036  INFO 11012 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1066 ms
24 2019-08-18 15:38:30.067  INFO 11012 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
25 2019-08-18 15:38:30.070  INFO 11012 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
26 2019-08-18 15:38:30.070  INFO 11012 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
27 2019-08-18 15:38:30.070  INFO 11012 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
28 2019-08-18 15:38:30.070  INFO 11012 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
29 2019-08-18 15:38:30.134  INFO 11012 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
30 2019-08-18 15:38:30.245  INFO 11012 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2665e2f9: startup date [Sun Aug 18 15:38:28 CST 2019]; root of context hierarchy
31 2019-08-18 15:38:30.272  INFO 11012 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String com.paic.controller.hello.login()
32 2019-08-18 15:38:30.275  INFO 11012 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
33 2019-08-18 15:38:30.275  INFO 11012 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
34 2019-08-18 15:38:30.288  INFO 11012 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
35 2019-08-18 15:38:30.288  INFO 11012 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
36 2019-08-18 15:38:30.403  INFO 11012 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
37 2019-08-18 15:38:30.421  INFO 11012 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
38 2019-08-18 15:38:30.453  INFO 11012 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8081 (http) with context path ''
39 2019-08-18 15:38:30.455  INFO 11012 --- [  restartedMain] com.paic.PaicApplication                 : Started PaicApplication in 1.773 seconds (JVM running for 2.439)

解决方案:看提示,意思是:1.2.12的不满足了,需要去下载1.2.14版本。

下载一个tcnative-1.dll文件覆盖到C:\Windows\System32就行,然后重启idea 启动服务就不会出现错误了

a、该文件下载路径如下

链接:https://pan.baidu.com/s/1q5SWpxS8sFynAWYmjzTAiw 
提取码:wp3e 

b、到官网上下载,选择对应的版本就行

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.14/binaries/

idea 2019 1 spring boot 启动报错 An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]_第1张图片

注意:压缩包中有针对32位系统和54位系统的文件tcnative-1.dll

idea 2019 1 spring boot 启动报错 An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]_第2张图片

c、重启服务后就不会出现日志的三个错误了

 1 "D:\Program Files\Java\jdk1.8.0_131\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2019.1\lib\idea_rt.jar=62394:D:\Program Files\JetBrains\IntelliJ IDEA 2019.1\bin" -Dfile.encoding=UTF-8 -classpath "D:\Program Files\Java\jdk1.8.0_131\jre\lib\charsets.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\deploy.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\access-bridge-64.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\cldrdata.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\dnsns.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jaccess.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jfxrt.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\localedata.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\nashorn.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunec.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunjce_provider.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunmscapi.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunpkcs11.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\zipfs.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\javaws.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\jce.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\jfr.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\jfxswt.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\jsse.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\management-agent.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\plugin.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\resources.jar;D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar;G:\workspace\paic\target\classes;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-devtools\2.0.7.RELEASE\spring-boot-devtools-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot\2.0.7.RELEASE\spring-boot-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-context\5.0.11.RELEASE\spring-context-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-autoconfigure\2.0.7.RELEASE\spring-boot-autoconfigure-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-starter\2.0.7.RELEASE\spring-boot-starter-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-starter-logging\2.0.7.RELEASE\spring-boot-starter-logging-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\apache-maven-3.5.3\repo\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\apache-maven-3.5.3\repo\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;D:\apache-maven-3.5.3\repo\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;D:\apache-maven-3.5.3\repo\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;D:\apache-maven-3.5.3\repo\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\apache-maven-3.5.3\repo\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;D:\apache-maven-3.5.3\repo\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-core\5.0.11.RELEASE\spring-core-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-jcl\5.0.11.RELEASE\spring-jcl-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-starter-web\2.0.7.RELEASE\spring-boot-starter-web-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-starter-json\2.0.7.RELEASE\spring-boot-starter-json-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\jackson\core\jackson-databind\2.9.7\jackson-databind-2.9.7.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\jackson\core\jackson-core\2.9.7\jackson-core-2.9.7.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.7\jackson-datatype-jdk8-2.9.7.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.7\jackson-datatype-jsr310-2.9.7.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.7\jackson-module-parameter-names-2.9.7.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-starter-tomcat\2.0.7.RELEASE\spring-boot-starter-tomcat-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\apache\tomcat\embed\tomcat-embed-core\8.5.35\tomcat-embed-core-8.5.35.jar;D:\apache-maven-3.5.3\repo\org\apache\tomcat\embed\tomcat-embed-el\8.5.35\tomcat-embed-el-8.5.35.jar;D:\apache-maven-3.5.3\repo\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.35\tomcat-embed-websocket-8.5.35.jar;D:\apache-maven-3.5.3\repo\org\hibernate\validator\hibernate-validator\6.0.13.Final\hibernate-validator-6.0.13.Final.jar;D:\apache-maven-3.5.3\repo\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\apache-maven-3.5.3\repo\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;D:\apache-maven-3.5.3\repo\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-web\5.0.11.RELEASE\spring-web-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-beans\5.0.11.RELEASE\spring-beans-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-webmvc\5.0.11.RELEASE\spring-webmvc-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-aop\5.0.11.RELEASE\spring-aop-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\spring-expression\5.0.11.RELEASE\spring-expression-5.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\springframework\boot\spring-boot-starter-thymeleaf\2.0.7.RELEASE\spring-boot-starter-thymeleaf-2.0.7.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\thymeleaf\thymeleaf-spring5\3.0.11.RELEASE\thymeleaf-spring5-3.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\thymeleaf\thymeleaf\3.0.11.RELEASE\thymeleaf-3.0.11.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;D:\apache-maven-3.5.3\repo\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.2.RELEASE\thymeleaf-extras-java8time-3.0.2.RELEASE.jar" com.paic.PaicApplication
 2 15:45:44.669 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
 3 15:45:44.672 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/, /spring-boot/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter/target/classes/]
 4 15:45:44.672 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/G:/workspace/paic/target/classes/]
 5 
 6   .   ____          _            __ _ _
 7  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
 8 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 9  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
10   '  |____| .__|_| |_|_| |_\__, | / / / /
11  =========|_|==============|___/=/_/_/_/
12  :: Spring Boot ::        (v2.0.7.RELEASE)
13 
14 2019-08-18 15:45:45.008  INFO 6208 --- [  restartedMain] com.paic.PaicApplication                 : Starting PaicApplication on WIN7 with PID 6208 (G:\workspace\paic\target\classes started by Administrator in G:\workspace)
15 2019-08-18 15:45:45.009  INFO 6208 --- [  restartedMain] com.paic.PaicApplication                 : No active profile set, falling back to default profiles: default
16 2019-08-18 15:45:45.049  INFO 6208 --- [  restartedMain] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2d504ee2: startup date [Sun Aug 18 15:45:45 CST 2019]; root of context hierarchy
17 2019-08-18 15:45:45.982  INFO 6208 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8081 (http)
18 2019-08-18 15:45:45.997  INFO 6208 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
19 2019-08-18 15:45:45.997  INFO 6208 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.35
20 2019-08-18 15:45:46.000  INFO 6208 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : An older version [1.2.14] of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.18]
21 2019-08-18 15:45:46.001  INFO 6208 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : Loaded APR based Apache Tomcat Native library [1.2.14] using APR version [1.6.2].
22 2019-08-18 15:45:46.001  INFO 6208 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
23 2019-08-18 15:45:46.001  INFO 6208 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
24 2019-08-18 15:45:47.046  INFO 6208 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 1.0.2l  25 May 2017]
25 2019-08-18 15:45:47.099  INFO 6208 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
26 2019-08-18 15:45:47.099  INFO 6208 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2053 ms
27 2019-08-18 15:45:47.130  INFO 6208 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
28 2019-08-18 15:45:47.133  INFO 6208 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
29 2019-08-18 15:45:47.133  INFO 6208 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
30 2019-08-18 15:45:47.133  INFO 6208 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
31 2019-08-18 15:45:47.133  INFO 6208 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
32 2019-08-18 15:45:47.191  INFO 6208 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
33 2019-08-18 15:45:47.350  INFO 6208 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2d504ee2: startup date [Sun Aug 18 15:45:45 CST 2019]; root of context hierarchy
34 2019-08-18 15:45:47.387  INFO 6208 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String com.paic.controller.hello.login()
35 2019-08-18 15:45:47.395  INFO 6208 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
36 2019-08-18 15:45:47.396  INFO 6208 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
37 2019-08-18 15:45:47.419  INFO 6208 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
38 2019-08-18 15:45:47.419  INFO 6208 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
39 2019-08-18 15:45:47.570  INFO 6208 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
40 2019-08-18 15:45:47.589  INFO 6208 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
41 2019-08-18 15:45:47.620  INFO 6208 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8081 (http) with context path ''
42 2019-08-18 15:45:47.622  INFO 6208 --- [  restartedMain] com.paic.PaicApplication                 : Started PaicApplication in 2.942 seconds (JVM running for 3.525)

 

你可能感兴趣的:(idea 2019 1 spring boot 启动报错 An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14])