我已经检查了这个与我的问题非常相似的问题,但是区别是 我使用的端口 > 1024(即我使用的端口12345),这就是回答者所说的。我正在尝试在Openshift服务器上运行Tomcat实例。感谢您的帮助!谢谢!
nohup java -Xms384m -Xmx412m -jar target/*.war --server.port=12345
请注意,“-jar”是对的吗?我要部署.war文件而不是.jar?我认为..对不起,这个有点新。
2015-10-07 19:30:13.317 INFO 261765 — [main] osjeaAnnotationMBeanExporter:在启动时注册JMX暴露的bean 2015-10-07 19:30:13.409 DEBUG 261765 — [ main] oswsresource.ResourceUrlProvider:正在寻找用于资源处理程序映射2015-10-07 19:30:13.411调试261765 — [ main] oswsresource.ResourceUrlProvider:找到的资源处理程序映射:URL pattern =“ / / favicon.ico”,locations = [类路径资源[META-INF / resources /],类路径资源[resources /],类路径资源[static /],类路径资源[public /],类路径资源[]],resolvers = [org.springframework.web.servlet.resource.PathResourceResolver@f5e53a1] 2015-10-07 19:30:13.412 DEBUG 261765- -[main] oswsresource.ResourceUrlProvider:找到的资源处理程序映射:URL pattern =“ / webjars / ”,locations = [类路径资源[META-INF / resources / webjars /]],resolvers = [org.springframework。 web.servlet.resource.PathResourceResolver@1f5137b7] 2015-10-07 19:30:13.414调试261765 — [main] oswsresource.ResourceUrlProvider:找到了资源处理程序映射:URL pattern =“ / **”,位置= [ServletContext资源[/],类路径资源[META-INF / resources /],类路径资源[resources /],类路径资源[static /],类路径资源[ public /]],resolvers = [org.springframework.web.servlet.resource.PathResourceResolver@3f8892d1] 2015-10-07 19:30:14.022错误261765 — [main] oacoyote.http11.Http11NioProtocol:无法开始结束与ProtocolHandler [“ http- nio-12345”]关联的点a.coyote.http11.Http11NioProtocol:无法启动与ProtocolHandler [“ http-nio-12345”]关联的终点a.coyote.http11.Http11NioProtocol:无法启动与ProtocolHandler [“ http-nio-12345”]关联的终点 java.net.SocketException:在sun.nio.ch.Net.bind(Net.java:436)在sun.nio.ch.Net.bind0(本机方法)处的权限被拒绝在sun.nio.ch.Net.bind( Net.java:428)位于sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)位于sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)位于org.apache.tomcat.util.net位于org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:653)的.NioEndpoint.bind(NioEndpoint.java:473),位于org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:449)的。 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)上的org.apache.catalina.connector.Connector.startInternal(Connector.java:1007)org.apache.catalina.core.StandardService.addConnector( StandardService.java:241),网址为org.springframework.boot.context。Embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:186)在…
2015-10-07 19:30:13.317 INFO 261765 — [main] osjeaAnnotationMBeanExporter:在启动时注册JMX暴露的bean 2015-10-07 19:30:13.409 DEBUG 261765 — [ main] oswsresource.ResourceUrlProvider:正在寻找用于资源处理程序映射2015-10-07 19:30:13.411调试261765 — [ main] oswsresource.ResourceUrlProvider:找到的资源处理程序映射:URL pattern =“ / / favicon.ico”,locations = [类路径资源[META-INF / resources /],类路径资源[resources /],类路径资源[static /],类路径资源[public /],类路径资源[]],resolvers = [org.springframework.web.servlet.resource.PathResourceResolver@f5e53a1] 2015-10-07 19:30:13.412 DEBUG 261765- -[main] oswsresource.ResourceUrlProvider:找到的资源处理程序映射:URL pattern =“ / webjars / ”,locations = [类路径资源[META-INF / resources / webjars /]],resolvers = [org.springframework。 web.servlet.resource.PathResourceResolver@1f5137b7] 2015-10-07 19:30:13.414调试261765 — [main] oswsresource.ResourceUrlProvider:找到了资源处理程序映射:URL pattern =“ / **”,位置= [ServletContext资源[/],类路径资源[META-INF / resources /],类路径资源[resources /],类路径资源[static /],类路径资源[ public /]],resolvers = [org.springframework.web.servlet.resource.PathResourceResolver@3f8892d1] 2015-10-07 19:30:14.022错误261765 — [main] oacoyote.http11.Http11NioProtocol:无法开始结束与ProtocolHandler [“ http- nio-12345”]关联的点a.coyote.http11.Http11NioProtocol:无法启动与ProtocolHandler [“ http-nio-12345”]关联的终点a.coyote.http11.Http11NioProtocol:无法启动与ProtocolHandler [“ http-nio-12345”]关联的终点
java.net.SocketException:在sun.nio.ch.Net.bind(Net.java:436)在sun.nio.ch.Net.bind0(本机方法)处的权限被拒绝在sun.nio.ch.Net.bind( Net.java:428)位于sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)位于sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)位于org.apache.tomcat.util.net位于org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:653)的.NioEndpoint.bind(NioEndpoint.java:473),位于org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:449)的。 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)上的org.apache.catalina.connector.Connector.startInternal(Connector.java:1007)org.apache.catalina.core.StandardService.addConnector( StandardService.java:241),网址为org.springframework.boot.context。Embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:186)在…
logging.level.org.springframework.web =调试 logging.level.org.hibernate =错误 error.whitelabel.enabled = false server.port = 12345
logging.level.org.springframework.web =调试
logging.level.org.hibernate =错误
error.whitelabel.enabled = false
server.port = 12345
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <display-name>Demo Web Application</display-name> <servlet> <servlet-name>mvc-dispatcher</servlet-name> <servlet-class> org.springframework.web.servlet.DispatcherServlet </servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>mvc-dispatcher</servlet-name> <!--<url-pattern>/</url-pattern>--> <url-pattern>*.html</url-pattern> </servlet-mapping> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/mvc-dispatcher-servlet.xml</param-value> </context-param> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"> <mvc:annotation-driven /> </beans>
最后…
package hello; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.context.web.SpringBootServletInitializer; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController @SpringBootApplication public class Application extends SpringBootServletInitializer { @Autowired UserRepository userRepository; @RequestMapping ("/isRunning") boolean isRunning () { return true; } @RequestMapping ("/") String home () { return "Home"; } @Override protected SpringApplicationBuilder configure (SpringApplicationBuilder application) { return application.sources(Application.class); } public static void main (String[] args) { SpringApplication.run(Application.class); System.out.println("RUNNING! :D"); } }
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <packaging>war</packaging> <groupId>org.springframework</groupId> <artifactId>gs-crud-with-vaadin</artifactId> <version>0.1.0</version> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.2.6.RELEASE</version> </parent> <properties> <java.version>1.7</java.version> <tomcat.version>7.0.59</tomcat.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project>
好的,所以我运行了rhc app-tidy -a {APP_NAME},它现在可以正常部署并启动并且可以正常工作,但是我仍然有相同的错误日志输出…这是为什么?怎么了?
2015-10-08 03:15:41.254错误290379 — [main] oacoyote.http11.Http11NioProtocol:无法启动与ProtocolHandler [“ http- nio-8080”]关联的终点 java.net.SocketException:在sun.nio.ch.Net.bind(Net.java:436)在sun.nio.ch.Net.bind0(本机方法)处的权限被拒绝在sun.nio.ch.Net.bind( Net.java:428)位于sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)位于sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)位于org.apache.tomcat.util.net位于org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:653)的.NioEndpoint.bind(NioEndpoint.java:473),位于org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:449)的。 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)上的org.apache.catalina.connector.Connector.startInternal(Connector.java:1007)org.apache.catalina.core.StandardService.addConnector( StandardService.java:241),网址为org.springframework.boot.context。位于org.springframework.boot.context.Context.org.spring.org.embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:186)位于org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:149) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)处的org.springframework.boot.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)处的startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288) org.springframework.boot.SpringApplication中的.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)。在org.springframework.boot.SpringApplication的org.springframework.boot.SpringApplication.run(SpringApplication.java:321)刷新(SpringApplication.java:687)在org.springframework.boot.SpringApplication的org.springframework.boot.SpringApplication.run(SpringApplication.java:967) .run(SpringApplication.java:956)at hello.Application.main(Application.java:41)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上java.lang.reflect.Method.invoke(Method.java:483)上的sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)在java.lang.Thread.run(Thread.java:745)在org.springframework.boot.Spring上运行(SpringApplication.java:321).SpringApplication.run(在org.springframework.boot.SpringApplication.run上运行(SpringApplication.java:967)在hello.Application.main(Application)上运行(SpringApplication.java:956) .java:41),位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法),位于java.sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)处的lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread.run(Thread.java:745)处在org.springframework.boot.Spring上运行(SpringApplication.java:321).SpringApplication.run(在org.springframework.boot.SpringApplication.run上运行(SpringApplication.java:967)在hello.Application.main(Application)上运行(SpringApplication.java:956) .java:41),位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法),位于java.sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)处的lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread.run(Thread.java:745)处956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(本地方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread。运行(Thread.java:745)956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(本地方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread。运行(Thread.java:745)483)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.Thread.run(Thread.java:745)483)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.Thread.run(Thread.java:745) 2015-10-08 03:15:41.263错误290379 — [main] o.apache.catalina.core.StandardService:无法启动连接器[Connector [org.apache.coyote.http11.Http11NioProtocol-8080]] Java的org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)上的reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .lang.Thread.run(Thread.java:745)原因:org.apache.catalina.LifecycleException:service.getName():“ Tomcat”; 协议处理程序启动在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)的org.apache.catalina.connector.Connector.startInternal(Connector.java:1014)处失败...导致省略18个常见框架作者:java.net.SocketException:在sun.nio.ch.Net.bind(Net.java:436)的sun.nio.ch.Net.bind0(本机方法)处的许可在sun.nio.ch.Net处被拒绝。在sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:上绑定(Net.java:428): 2015-10-08 03:15:41.347 INFO 290379 — [main] o.apache.catalina.core.StandardService:正在停止服务Tomcat 2015-10-08 03:15:41.682 INFO 290379 — [main]。 blClasspathLoggingApplicationListener:应用程序无法以类路径启动:[file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / classes!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/spring-boot-starter-data- jpa-1.2.6.RELEASE .jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring -boot- starter-1.2.6。RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- boot-1.2.6.RELEASE.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war !/WEB-INF/lib/spring- boot-autoconfigure-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/spring-boot-starter- logging-1.2.6.RELEASE.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app -root / runtime / repo / target / gs-crud- with-vaadin-0.1.0.war!/WEB-INF/lib/log4j-over-slf4j-1.7.12.jar!/,jar:file:/ var /lib/openshift/5612fdaa89f5cfa2090000dd/app-root/runtime/repo/target/gs- crud-with-vaadin-0.1.0.war!/WEB-INF/lib/logback-classic-1.1.3.jar!/, jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/logback- core-1.1.3.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/snakeyaml-1.14。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- boot-starter- aop-1.2.6.RELEASE.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0 .war!/WEB-INF/lib/spring- aop-4.1.7.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB- INF/lib/aopalliance-1.0.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/aspectjrt-1.8.6.jar!/, jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/aspectjweaver-1.8.6。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- core-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-boot-starter-jdbc-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/spring- jdbc-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/tomcat- jdbc-7.0.59.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / tomcat-juli- 7.0.59.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- tx-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0 .war!/WEB- INF/lib/hibernate-entitymanager-4.3.11.Final.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/jboss- logging-3.1.3.GA.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/jboss- logging-annotations-1.2.0。 Beta1.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate- core-4.3.11.Final.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war !/WEB- INF/lib/antlr-2.7.7.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB- INF/lib/jandex-1.1.0.Final.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB- INF/lib/dom4j-1.6.1.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/xml- apis-1.0.b2.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate-commons- 注解4.0.5.Final.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate-jpa-2.1-api-1.0.0.Final.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/javassist-3.18.1-GA.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo /target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/javax.transaction- api-1.2.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/spring- orm-4.1.7.RELEASE。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- beans-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-data-jpa-1.7.3.RELEASE.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with -vaadin-0.1.0.war!/WEB-INF/lib/spring-data- commons-1.9.3.RELEASE.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime /repo/target/gs-crud-with- vaadin-0.1.0.war!/WEB-INF/lib/spring- context-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/slf4j-api-1.7.12.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-aspects- 4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB- INF / lib / spring-boot-starter-log4j-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud- with -vaadin-0.1.0.war!/WEB-INF/lib/jcl-over-slf4j-1.7.12.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo /target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/jul-to- slf4j-1.7.12.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/slf4j-log4j12-1.7.12.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/log4j-1.2。 17.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-boot-starter- web-1.2.6.RELEASE.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB- INF/lib/jackson-databind-2.4.6.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/jackson- annotations-2.4.6.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/jackson- core-2.4.6.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate-validator- 5.1.3.Final.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB- INF / lib / validation- api-1.1.0.Final.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB- INF/lib/classmate-1.0.0.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with -vaadin-0.1.0.war!/WEB-INF/lib/spring- web-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/spring- webmvc-4.1.7.RELEASE。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- 表达式4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / h2-1.4.188.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0 .war!/ WEB-INF / lib提供/spring-boot-starter-tomcat-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo /target/gs- crud-with-vaadin-0.1.0.war!/WEB-INF/lib-provided/tomcat-embed- core-7.0.59.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib- provided/tomcat-embed-el-7.0。 59.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib- 提供/tomcat-embed-logging- juli-7.0.59.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB-INF/lib- provided/tomcat-embed-websocket-7.0.59.jar!/] 2015-10-08 03:15:41.683 INFO 290379 — [main] utoConfigurationReportLoggingInitializer:/ WEB-INF / lib提供的/tomcat-embed-logging-juli-7.0.59.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs- Crud- with-vaadin-0.1.0.war!/WEB-INF/lib-proved/tomcat-embed- websocket-7.0.59.jar!/] 2015-10-08 03:15:41.683 INFO 290379 — [main] utoConfigurationReportLoggingInitializer:/ WEB-INF / lib提供的/tomcat-embed- logging-juli-7.0.59.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs- Crud- with-vaadin-0.1.0.war!/WEB-INF/lib-proved/tomcat-embed- websocket-7.0.59.jar!/] 2015-10-08 03:15:41.683 INFO 290379 — [main] utoConfigurationReportLoggingInitializer: 启动ApplicationContext时出错。要显示自动配置报告,请启用调试日志记录(以–debug开头) 2015-10-08 03:15:41.724错误290379 — [main] osboot.SpringApplication:应用程序启动失败 java.lang.IllegalStateException:Tomcat连接器在org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:157)处处于失败状态.java:288),位于org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141),位于org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)。在org.springframework.boot的boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)在org.springframework.boot.SpringApplication.refresh(SpringApplication.java:687)。org.springframework.boot.spring上的SpringApplication.run(SpringApplication.java:321).org.spring.org.springframework.boot.SpringApplication.run(SpringApplication.java:967)的hello.Application.main处org.springframework.boot.SpringApplication.run(SpringApplication.java:956) (Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(原生方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread.run(Thread.java:745)上springframework.boot.SpringApplication.run(SpringApplication.java:956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner)处java.lang.reflect.Method.invoke(Method.java:483)处sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)处的java:62) .java:53),位于java.lang.Thread.run(Thread.java:745)springframework.boot.SpringApplication.run(SpringApplication.java:956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner)处java.lang.reflect.Method.invoke(Method.java:483)处sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)处的java:62) .java:53),位于java.lang.Thread.run(Thread.java:745)java.lang.org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)上的DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .Thread.run(Thread.java:745)java.lang.org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)上的DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .Thread.run(Thread.java:745) 2015-10-08 03:15:41.724 INFO 290379 — [main] ationConfigEmbeddedWebApplicationContext:关闭org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7c2b6a03:启动日期[2015年10月8日星期四03:14:59 EDT] 上下文层次结构的根2015-10-08 03:15:41.739 INFO 290379 — [main] osjeaAnnotationMBeanExporter:关闭时注销JMX公开的bean 2015-10-08 03:15:41.777 INFO 290379 — [ Application.main(Application.java:41)…还有6个启动jbossews的墨盒找到127.7.143.1:8080监听端口归档工件除非接受许可,否则无法自动安装JDK。已完成:成功
2015-10-08 03:15:41.254错误290379 — [main] oacoyote.http11.Http11NioProtocol:无法启动与ProtocolHandler [“ http- nio-8080”]关联的终点
java.net.SocketException:在sun.nio.ch.Net.bind(Net.java:436)在sun.nio.ch.Net.bind0(本机方法)处的权限被拒绝在sun.nio.ch.Net.bind( Net.java:428)位于sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)位于sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)位于org.apache.tomcat.util.net位于org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:653)的.NioEndpoint.bind(NioEndpoint.java:473),位于org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:449)的。 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)上的org.apache.catalina.connector.Connector.startInternal(Connector.java:1007)org.apache.catalina.core.StandardService.addConnector( StandardService.java:241),网址为org.springframework.boot.context。位于org.springframework.boot.context.Context.org.spring.org.embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:186)位于org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:149) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)处的org.springframework.boot.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)处的startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288) org.springframework.boot.SpringApplication中的.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)。在org.springframework.boot.SpringApplication的org.springframework.boot.SpringApplication.run(SpringApplication.java:321)刷新(SpringApplication.java:687)在org.springframework.boot.SpringApplication的org.springframework.boot.SpringApplication.run(SpringApplication.java:967) .run(SpringApplication.java:956)at hello.Application.main(Application.java:41)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上java.lang.reflect.Method.invoke(Method.java:483)上的sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)在java.lang.Thread.run(Thread.java:745)在org.springframework.boot.Spring上运行(SpringApplication.java:321).SpringApplication.run(在org.springframework.boot.SpringApplication.run上运行(SpringApplication.java:967)在hello.Application.main(Application)上运行(SpringApplication.java:956) .java:41),位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法),位于java.sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)处的lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread.run(Thread.java:745)处在org.springframework.boot.Spring上运行(SpringApplication.java:321).SpringApplication.run(在org.springframework.boot.SpringApplication.run上运行(SpringApplication.java:967)在hello.Application.main(Application)上运行(SpringApplication.java:956) .java:41),位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法),位于java.sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)处的lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread.run(Thread.java:745)处956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(本地方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread。运行(Thread.java:745)956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(本地方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread。运行(Thread.java:745)483)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.Thread.run(Thread.java:745)483)在org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)在java.lang.Thread.run(Thread.java:745)
2015-10-08 03:15:41.263错误290379 — [main] o.apache.catalina.core.StandardService:无法启动连接器[Connector [org.apache.coyote.http11.Http11NioProtocol-8080]]
Java的org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)上的reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .lang.Thread.run(Thread.java:745)原因:org.apache.catalina.LifecycleException:service.getName():“ Tomcat”; 协议处理程序启动在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)的org.apache.catalina.connector.Connector.startInternal(Connector.java:1014)处失败...导致省略18个常见框架作者:java.net.SocketException:在sun.nio.ch.Net.bind(Net.java:436)的sun.nio.ch.Net.bind0(本机方法)处的许可在sun.nio.ch.Net处被拒绝。在sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:上绑定(Net.java:428):
2015-10-08 03:15:41.347 INFO 290379 — [main] o.apache.catalina.core.StandardService:正在停止服务Tomcat 2015-10-08 03:15:41.682 INFO 290379 — [main]。 blClasspathLoggingApplicationListener:应用程序无法以类路径启动:[file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / classes!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/spring-boot-starter-data- jpa-1.2.6.RELEASE .jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring -boot- starter-1.2.6。RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- boot-1.2.6.RELEASE.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war !/WEB-INF/lib/spring- boot-autoconfigure-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/spring-boot-starter- logging-1.2.6.RELEASE.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app -root / runtime / repo / target / gs-crud- with-vaadin-0.1.0.war!/WEB-INF/lib/log4j-over-slf4j-1.7.12.jar!/,jar:file:/ var /lib/openshift/5612fdaa89f5cfa2090000dd/app-root/runtime/repo/target/gs- crud-with-vaadin-0.1.0.war!/WEB-INF/lib/logback-classic-1.1.3.jar!/, jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/logback- core-1.1.3.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/snakeyaml-1.14。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- boot-starter- aop-1.2.6.RELEASE.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0 .war!/WEB-INF/lib/spring- aop-4.1.7.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB- INF/lib/aopalliance-1.0.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/aspectjrt-1.8.6.jar!/, jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/aspectjweaver-1.8.6。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- core-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-boot-starter-jdbc-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/spring- jdbc-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/tomcat- jdbc-7.0.59.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / tomcat-juli- 7.0.59.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- tx-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0 .war!/WEB- INF/lib/hibernate-entitymanager-4.3.11.Final.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/jboss- logging-3.1.3.GA.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/jboss- logging-annotations-1.2.0。 Beta1.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate- core-4.3.11.Final.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war !/WEB- INF/lib/antlr-2.7.7.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB- INF/lib/jandex-1.1.0.Final.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB- INF/lib/dom4j-1.6.1.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/xml- apis-1.0.b2.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate-commons- 注解4.0.5.Final.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate-jpa-2.1-api-1.0.0.Final.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/javassist-3.18.1-GA.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo /target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/javax.transaction- api-1.2.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/spring- orm-4.1.7.RELEASE。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- beans-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-data-jpa-1.7.3.RELEASE.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with -vaadin-0.1.0.war!/WEB-INF/lib/spring-data- commons-1.9.3.RELEASE.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime /repo/target/gs-crud-with- vaadin-0.1.0.war!/WEB-INF/lib/spring- context-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/slf4j-api-1.7.12.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-aspects- 4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB- INF / lib / spring-boot-starter-log4j-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud- with -vaadin-0.1.0.war!/WEB-INF/lib/jcl-over-slf4j-1.7.12.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo /target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/jul-to- slf4j-1.7.12.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/slf4j-log4j12-1.7.12.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB- INF/lib/log4j-1.2。 17.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring-boot-starter- web-1.2.6.RELEASE.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB- INF/lib/jackson-databind-2.4.6.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud -with-vaadin-0.1.0.war!/WEB-INF/lib/jackson- annotations-2.4.6.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/jackson- core-2.4.6.jar! /,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / hibernate-validator- 5.1.3.Final.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB- INF / lib / validation- api-1.1.0.Final.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB- INF/lib/classmate-1.0.0.jar!/,jar:file:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs-crud-with -vaadin-0.1.0.war!/WEB-INF/lib/spring- web-4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib/spring- webmvc-4.1.7.RELEASE。 jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / spring- 表达式4.1.7.RELEASE.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib / h2-1.4.188.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0 .war!/ WEB-INF / lib提供/spring-boot-starter-tomcat-1.2.6.RELEASE.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo /target/gs- crud-with-vaadin-0.1.0.war!/WEB-INF/lib-provided/tomcat-embed- core-7.0.59.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/WEB-INF/lib- provided/tomcat-embed-el-7.0。 59.jar!/,jar:file:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1.0.war!/ WEB-INF / lib- 提供/tomcat-embed-logging- juli-7.0.59.jar!/,jar:文件:/var/lib/openshift/5612fdaa89f5cfa2090000dd/app- root/runtime/repo/target/gs-crud-with-vaadin-0.1 .0.war!/WEB-INF/lib- provided/tomcat-embed-websocket-7.0.59.jar!/] 2015-10-08 03:15:41.683 INFO 290379 — [main] utoConfigurationReportLoggingInitializer:/ WEB-INF / lib提供的/tomcat-embed-logging-juli-7.0.59.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs- Crud- with-vaadin-0.1.0.war!/WEB-INF/lib-proved/tomcat-embed- websocket-7.0.59.jar!/] 2015-10-08 03:15:41.683 INFO 290379 — [main] utoConfigurationReportLoggingInitializer:/ WEB-INF / lib提供的/tomcat-embed- logging-juli-7.0.59.jar!/,jar:文件:/ var / lib / openshift / 5612fdaa89f5cfa2090000dd / app-root / runtime / repo / target / gs- Crud- with-vaadin-0.1.0.war!/WEB-INF/lib-proved/tomcat-embed- websocket-7.0.59.jar!/] 2015-10-08 03:15:41.683 INFO 290379 — [main] utoConfigurationReportLoggingInitializer:
启动ApplicationContext时出错。要显示自动配置报告,请启用调试日志记录(以–debug开头)
2015-10-08 03:15:41.724错误290379 — [main] osboot.SpringApplication:应用程序启动失败
java.lang.IllegalStateException:Tomcat连接器在org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:157)处处于失败状态.java:288),位于org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141),位于org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)。在org.springframework.boot的boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)在org.springframework.boot.SpringApplication.refresh(SpringApplication.java:687)。org.springframework.boot.spring上的SpringApplication.run(SpringApplication.java:321).org.spring.org.springframework.boot.SpringApplication.run(SpringApplication.java:967)的hello.Application.main处org.springframework.boot.SpringApplication.run(SpringApplication.java:956) (Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(原生方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)在java.lang.Thread.run(Thread.java:745)上springframework.boot.SpringApplication.run(SpringApplication.java:956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner)处java.lang.reflect.Method.invoke(Method.java:483)处sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)处的java:62) .java:53),位于java.lang.Thread.run(Thread.java:745)springframework.boot.SpringApplication.run(SpringApplication.java:956)位于hello.Application.main(Application.java:41)位于sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl。 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner)处java.lang.reflect.Method.invoke(Method.java:483)处sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)处的java:62) .java:53),位于java.lang.Thread.run(Thread.java:745)java.lang.org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)上的DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .Thread.run(Thread.java:745)java.lang.org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)上的java.lang.reflect.Method.invoke(Method.java:483)上的DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .Thread.run(Thread.java:745)
2015-10-08 03:15:41.724 INFO 290379 — [main] ationConfigEmbeddedWebApplicationContext:关闭org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7c2b6a03:启动日期[2015年10月8日星期四03:14:59 EDT] 上下文层次结构的根2015-10-08 03:15:41.739 INFO 290379 — [main] osjeaAnnotationMBeanExporter:关闭时注销JMX公开的bean 2015-10-08 03:15:41.777 INFO 290379 — [
Application.main(Application.java:41)…还有6个启动jbossews的墨盒找到127.7.143.1:8080监听端口归档工件除非接受许可,否则无法自动安装JDK。已完成:成功
因此,所引发的异常应该是StupidDeveloperException。无论如何,我已经在该端口上启动了tomcat,并且在尝试再次将其绑定到同一端口之前没有停止它,从而导致了该错误。谢谢大家的投入!