Failed to initialize end point associated with ProtocolHandler ["http-nio-80"] java.net.SocketExcept

声明:项目使用springboot,maven,mysql


一周新的开始,启动了项目的前端子系统就给我报个这个东西。

2018-06-11 11:19:47.908 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Initializing ProtocolHandler ["http-nio-8081"]

2018-06-11 11:19:47.913 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Starting ProtocolHandler ["http-nio-8081"]
2018-06-11 11:19:48.075 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Using a shared selector for servlet write/read
2018-06-11 11:19:48.084 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Initializing ProtocolHandler ["http-nio-80"]
2018-06-11 11:19:48.084 ERROR [main] org.apache.juli.logging.DirectJDKLog 182 log : Failed to initialize end point associated with ProtocolHandler ["http-nio-80"]
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_161]
at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_161]
at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_161]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_161]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[?:1.8.0_161]
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:750) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.connector.Connector.initInternal(Connector.java:960) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:239) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:194) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:151) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) [spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at com.ronglian.forntPortal.FrontPortalBootApplication.main(FrontPortalBootApplication.java:32) [classes/:?]
2018-06-11 11:19:48.090 ERROR [main] org.apache.juli.logging.DirectJDKLog 182 log : Failed to start connector [Connector[HTTP/1.1-80]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-80]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:239) [tomcat-embed-core-8.0.33.jar:8.0.33]
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:194) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:151) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) [spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at com.ronglian.forntPortal.FrontPortalBootApplication.main(FrontPortalBootApplication.java:32) [classes/:?]
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:962) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
... 14 more
Caused by: java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_161]
at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_161]
at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_161]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_161]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[?:1.8.0_161]
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:750) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.connector.Connector.initInternal(Connector.java:960) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ~[tomcat-embed-core-8.0.33.jar:8.0.33]
... 14 more
2018-06-11 11:19:48.097 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Pausing ProtocolHandler ["http-nio-8081"]
2018-06-11 11:19:48.153 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Pausing ProtocolHandler ["http-nio-80"]
2018-06-11 11:19:48.153 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Stopping service Tomcat
2018-06-11 11:19:48.158 INFO  [localhost-startStop-1] com.ronglian.forntPortal.config.XssFilter 47 destroy : destroy xssFilter...
2018-06-11 11:19:48.171 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Stopping ProtocolHandler ["http-nio-8081"]
2018-06-11 11:19:48.180 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : The stop() method was called on component [StandardServer[-1]] after stop() had already been called. The second call will be ignored.
2018-06-11 11:19:48.180 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Destroying ProtocolHandler ["http-nio-8081"]
2018-06-11 11:19:48.181 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Stopping ProtocolHandler ["http-nio-80"]
2018-06-11 11:19:48.181 INFO  [main] org.apache.juli.logging.DirectJDKLog 180 log : Destroying ProtocolHandler ["http-nio-80"]
2018-06-11 11:19:48.182 ERROR [main] org.springframework.boot.SpringApplication 827 handleRunFailure : Application startup failed
org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat servlet container
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:165) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
at com.ronglian.forntPortal.FrontPortalBootApplication.main(FrontPortalBootApplication.java:32) [classes/:?]
Caused by: java.lang.IllegalStateException: Tomcat connector in failed state
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:159) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
... 10 more

2018-06-11 11:19:48.184 INFO  [main] org.springframework.boot.logging.ClasspathLoggingApplicationListener 57 onApplicationEvent : Application failed to start with classpath: [file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/deploy.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/cldrdata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/dnsns.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jaccess.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jfxrt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/localedata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/nashorn.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunec.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/zipfs.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/javaws.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jce.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfr.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfxswt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jsse.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/management-agent.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/plugin.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/resources.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/rt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/ant-javafx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/dt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/javafx-mx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/jconsole.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/packager.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/sa-jdi.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/tools.jar, file:/Users/liuqibin/workspace/RL/uec_bio_cloud/uec_front_portal/target/classes/, file:/Users/liuqibin/javadev/Repository/org/springframework/cloud/spring-cloud-config-client/1.1.0.RELEASE/spring-cloud-config-client-1.1.0.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-autoconfigure/1.3.5.RELEASE/spring-boot-autoconfigure-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot/1.3.5.RELEASE/spring-boot-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/cloud/spring-cloud-commons/1.1.0.RELEASE/spring-cloud-commons-1.1.0.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/security/spring-security-crypto/4.0.4.RELEASE/spring-security-crypto-4.0.4.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/cloud/spring-cloud-context/1.1.0.RELEASE/spring-cloud-context-1.1.0.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-web/4.2.6.RELEASE/spring-web-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-aop/4.2.6.RELEASE/spring-aop-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-beans/4.2.6.RELEASE/spring-beans-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-context/4.2.6.RELEASE/spring-context-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/core/jackson-annotations/2.6.6/jackson-annotations-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-core/4.2.6.RELEASE/spring-core-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-web/1.3.5.RELEASE/spring-boot-starter-web-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter/1.3.5.RELEASE/spring-boot-starter-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-tomcat/1.3.5.RELEASE/spring-boot-starter-tomcat-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/apache/tomcat/embed/tomcat-embed-core/8.0.33/tomcat-embed-core-8.0.33.jar, file:/Users/liuqibin/javadev/Repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.33/tomcat-embed-el-8.0.33.jar, file:/Users/liuqibin/javadev/Repository/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.33/tomcat-embed-logging-juli-8.0.33.jar, file:/Users/liuqibin/javadev/Repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.33/tomcat-embed-websocket-8.0.33.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-validation/1.3.5.RELEASE/spring-boot-starter-validation-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar, file:/Users/liuqibin/javadev/Repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/Users/liuqibin/javadev/Repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-webmvc/4.2.6.RELEASE/spring-webmvc-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-expression/4.2.6.RELEASE/spring-expression-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-amqp/1.3.5.RELEASE/spring-boot-starter-amqp-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-messaging/4.2.6.RELEASE/spring-messaging-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/amqp/spring-rabbit/1.5.6.RELEASE/spring-rabbit-1.5.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/amqp/spring-amqp/1.5.6.RELEASE/spring-amqp-1.5.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/retry/spring-retry/1.1.2.RELEASE/spring-retry-1.1.2.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-tx/4.2.6.RELEASE/spring-tx-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/com/rabbitmq/http-client/1.0.0.RELEASE/http-client-1.0.0.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/com/rabbitmq/amqp-client/3.5.7/amqp-client-3.5.7.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-thymeleaf/1.3.5.RELEASE/spring-boot-starter-thymeleaf-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/thymeleaf/thymeleaf-spring4/2.1.4.RELEASE/thymeleaf-spring4-2.1.4.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/thymeleaf/thymeleaf/2.1.4.RELEASE/thymeleaf-2.1.4.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/ognl/ognl/3.0.8/ognl-3.0.8.jar, file:/Users/liuqibin/javadev/Repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar, file:/Users/liuqibin/javadev/Repository/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar, file:/Users/liuqibin/javadev/Repository/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.3.3/thymeleaf-layout-dialect-1.3.3.jar, file:/Users/liuqibin/javadev/Repository/org/codehaus/groovy/groovy/2.4.6/groovy-2.4.6.jar, file:/Users/liuqibin/javadev/Repository/org/apache/shiro/shiro-spring/1.2.4/shiro-spring-1.2.4.jar, file:/Users/liuqibin/javadev/Repository/org/apache/shiro/shiro-core/1.2.4/shiro-core-1.2.4.jar, file:/Users/liuqibin/javadev/Repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar, file:/Users/liuqibin/javadev/Repository/org/apache/shiro/shiro-web/1.2.4/shiro-web-1.2.4.jar, file:/Users/liuqibin/javadev/Repository/org/apache/shiro/shiro-ehcache/1.2.4/shiro-ehcache-1.2.4.jar, file:/Users/liuqibin/javadev/Repository/net/sf/ehcache/ehcache-core/2.5.0/ehcache-core-2.5.0.jar, file:/Users/liuqibin/javadev/Repository/org/apache/shiro/shiro-cas/1.2.4/shiro-cas-1.2.4.jar, file:/Users/liuqibin/javadev/Repository/org/jasig/cas/client/cas-client-core/3.2.2/cas-client-core-3.2.2.jar, file:/Users/liuqibin/javadev/Repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar, file:/Users/liuqibin/javadev/Repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar, file:/Users/liuqibin/javadev/Repository/com/alibaba/fastjson/1.2.11/fastjson-1.2.11.jar, file:/Users/liuqibin/javadev/Repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-websocket/1.3.5.RELEASE/spring-boot-starter-websocket-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-websocket/4.2.6.RELEASE/spring-websocket-4.2.6.RELEASE.jar, file:/Users/liuqibin/workspace/RL/uec_bio_cloud/uec_common_base/target/classes/, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-redis/1.3.5.RELEASE/spring-boot-starter-redis-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/data/spring-data-redis/1.6.4.RELEASE/spring-data-redis-1.6.4.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-oxm/4.2.6.RELEASE/spring-oxm-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/spring-context-support/4.2.6.RELEASE/spring-context-support-4.2.6.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/redis/clients/jedis/2.7.3/jedis-2.7.3.jar, file:/Users/liuqibin/javadev/Repository/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar, file:/Users/liuqibin/javadev/Repository/com/caucho/hessian/3.1.3/hessian-3.1.3.jar, file:/Users/liuqibin/javadev/Repository/org/apache/poi/poi/3.9/poi-3.9.jar, file:/Users/liuqibin/javadev/Repository/commons-codec/commons-codec/1.5/commons-codec-1.5.jar, file:/Users/liuqibin/javadev/Repository/com/itextpdf/itextpdf/5.5.8/itextpdf-5.5.8.jar, file:/Users/liuqibin/javadev/Repository/com/itextpdf/itext-asian/5.2.0/itext-asian-5.2.0.jar, file:/Users/liuqibin/javadev/Repository/org/apache/ant/ant/1.9.4/ant-1.9.4.jar, file:/Users/liuqibin/javadev/Repository/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar, file:/Users/liuqibin/javadev/Repository/net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-aop/1.3.5.RELEASE/spring-boot-starter-aop-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar, file:/Users/liuqibin/javadev/Repository/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar, file:/Users/liuqibin/javadev/Repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar, file:/Users/liuqibin/javadev/Repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar, file:/Users/liuqibin/javadev/Repository/oro/oro/2.0.8/oro-2.0.8.jar, file:/Users/liuqibin/javadev/Repository/org/pacesys/openstack4j/3.1.1-SNAPSHOT/openstack4j-3.1.1-SNAPSHOT.jar, file:/Users/liuqibin/javadev/Repository/org/pacesys/openstack4j/connectors/openstack4j-resteasy/3.1.1-SNAPSHOT/openstack4j-resteasy-3.1.1-SNAPSHOT.jar, file:/Users/liuqibin/javadev/Repository/org/jboss/resteasy/resteasy-client/3.1.4.Final/resteasy-client-3.1.4.Final.jar, file:/Users/liuqibin/javadev/Repository/org/jboss/resteasy/resteasy-jaxrs/3.1.4.Final/resteasy-jaxrs-3.1.4.Final.jar, file:/Users/liuqibin/javadev/Repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.1.Beta1/jboss-jaxrs-api_2.0_spec-1.0.1.Beta1.jar, file:/Users/liuqibin/javadev/Repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/jboss-annotations-api_1.2_spec-1.0.0.Final.jar, file:/Users/liuqibin/javadev/Repository/commons-io/commons-io/2.5/commons-io-2.5.jar, file:/Users/liuqibin/javadev/Repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar, file:/Users/liuqibin/javadev/Repository/org/jboss/resteasy/resteasy-jaxrs-services/3.1.4.Final/resteasy-jaxrs-services-3.1.4.Final.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.6.6/jackson-jaxrs-json-provider-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.6.6/jackson-jaxrs-base-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.6.6/jackson-module-jaxb-annotations-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/org/pacesys/openstack4j-core/3.1.1-SNAPSHOT/openstack4j-core-3.1.1-SNAPSHOT.jar, file:/Users/liuqibin/javadev/Repository/com/google/guava/guava/18.0/guava-18.0.jar, file:/Users/liuqibin/javadev/Repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.6.6/jackson-dataformat-yaml-2.6.6.jar, file:/Users/liuqibin/javadev/Repository/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar, file:/Users/liuqibin/javadev/Repository/com/github/fge/json-patch/1.9/json-patch-1.9.jar, file:/Users/liuqibin/javadev/Repository/com/github/fge/jackson-coreutils/1.6/jackson-coreutils-1.6.jar, file:/Users/liuqibin/javadev/Repository/com/github/fge/msg-simple/1.1/msg-simple-1.1.jar, file:/Users/liuqibin/javadev/Repository/com/github/fge/btf/1.2/btf-1.2.jar, file:/Users/liuqibin/javadev/Repository/com/aliyun/aliyun-java-sdk-core/4.0.2/aliyun-java-sdk-core-4.0.2.jar, file:/Users/liuqibin/javadev/Repository/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar, file:/Users/liuqibin/javadev/Repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar, file:/Users/liuqibin/javadev/Repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar, file:/Users/liuqibin/javadev/Repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar, file:/Users/liuqibin/javadev/Repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar, file:/Users/liuqibin/javadev/Repository/com/sun/xml/bind/jaxb-core/2.1.14/jaxb-core-2.1.14.jar, file:/Users/liuqibin/javadev/Repository/com/sun/xml/bind/jaxb-impl/2.1/jaxb-impl-2.1.jar, file:/Users/liuqibin/javadev/Repository/javax/activation/activation/1.1.1/activation-1.1.1.jar, file:/Users/liuqibin/javadev/Repository/com/aliyun/aliyun-java-sdk-ecs/4.6.0/aliyun-java-sdk-ecs-4.6.0.jar, file:/Users/liuqibin/workspace/RL/uec_bio_cloud/uec_common_web/target/classes/, file:/Users/liuqibin/workspace/RL/uec_bio_cloud/uec_common_os/target/classes/, file:/Users/liuqibin/javadev/Repository/com/github/theborakompanioni/thymeleaf-extras-shiro/1.2.1/thymeleaf-extras-shiro-1.2.1.jar, file:/Users/liuqibin/javadev/Repository/org/owasp/antisamy/antisamy/1.5.3/antisamy-1.5.3.jar, file:/Users/liuqibin/javadev/Repository/org/apache/xmlgraphics/batik-css/1.7/batik-css-1.7.jar, file:/Users/liuqibin/javadev/Repository/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1.7.jar, file:/Users/liuqibin/javadev/Repository/org/apache/xmlgraphics/batik-util/1.7/batik-util-1.7.jar, file:/Users/liuqibin/javadev/Repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar, file:/Users/liuqibin/javadev/Repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar, file:/Users/liuqibin/javadev/Repository/net/sourceforge/nekohtml/nekohtml/1.9.22/nekohtml-1.9.22.jar, file:/Users/liuqibin/javadev/Repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar, file:/Users/liuqibin/javadev/Repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar, file:/Users/liuqibin/javadev/Repository/org/springframework/boot/spring-boot-starter-log4j2/1.3.5.RELEASE/spring-boot-starter-log4j2-1.3.5.RELEASE.jar, file:/Users/liuqibin/javadev/Repository/org/apache/logging/log4j/log4j-slf4j-impl/2.4.1/log4j-slf4j-impl-2.4.1.jar, file:/Users/liuqibin/javadev/Repository/org/apache/logging/log4j/log4j-api/2.4.1/log4j-api-2.4.1.jar, file:/Users/liuqibin/javadev/Repository/org/apache/logging/log4j/log4j-core/2.4.1/log4j-core-2.4.1.jar, file:/Users/liuqibin/javadev/Repository/org/slf4j/jcl-over-slf4j/1.7.21/jcl-over-slf4j-1.7.21.jar, file:/Users/liuqibin/javadev/Repository/org/slf4j/jul-to-slf4j/1.7.21/jul-to-slf4j-1.7.21.jar, file:/Applications/IntelliJ%20IDEA.app/Contents/lib/idea_rt.jar]


因为项目中把各个子项目的配置文件专门当做一个子系统来启动,在前端的配置文件中已经设置好了端口号

Failed to initialize end point associated with ProtocolHandler [

这个就奇怪了,首先想到的是以前做后端系统的时候好像也有过类似的情况,就先看了看是不是HTTPS配置的原因,一看确实缺少了HTTPS的配置,加上

Failed to initialize end point associated with ProtocolHandler [

重新启动,还报错?这错误都压根不变?!

这不对,上网查,得  五花八门, 受不了。

大概一看,不是端口被占用,就是在centos中非root账户不能使用1024以下的端口,我明明改了端口号了呀

找了半天,唯一的感觉就是自己的头越来越大。但是!经过组长小姐姐的随口一说!!才知道以前有人专门设置一个东西!Failed to initialize end point associated with ProtocolHandler [

这个玩意。。。。。 我  

这是在springboot启动类中的一个方法,用来设置端口号,然后就改了8081,但是

Failed to initialize end point associated with ProtocolHandler [

端口被占用,只能通过isof i:8081 找找 有没有被占用, 但是很奇怪的是,明明没有被占用啊。

不管了,再改一个。改个85总不会被占用了吧

但是,生活总是会惊喜不断

Failed to initialize end point associated with ProtocolHandler [

好嘛,这除了端口变成85,连错误都没变。

又突然想起来,非root用户,不能使用1024以下的端口,然后就改了一个1025,重启!

终于成功了! 

所以在此记录一下该错误,日后有了同样错误则方便查找。

你可能感兴趣的:(Java,mysql,IntelliJ,IDEA,tomcat,mac)