我有一個以下問題,我不知道如何解決。我相信有一些依賴不兼容問題,但我不知道如何檢查。Tomcat7應用程序無法啓動
有沒有人有任何想法從哪裏開始?
我正在使用maven來管理我的依賴關係。我認爲是問題的根源是
<dependency>
<groupId>org.lazan</groupId>
<artifactId>tapestry-cometd</artifactId>
<version>0.9.14</version>
</dependency>
但是我不知道如何檢查下劃線問題。
日誌可以在下圖中看到。
SEVERE: Exception starting filter app
java.lang.RuntimeException: Exception constructing service 'PushManager': Error invoking constructor public org.lazan.t5.cometd.services.internal.PushManagerImpl(org.cometd.bayeux.server.BayeuxServer,org.slf4j.Logger,org.lazan.t5.cometd.services.ComponentJSONRenderer,org.apache.tapestry5.ioc.services.TypeCoercer,javax.servlet.http.HttpServletRequest,org.lazan.t5.cometd.services.CometdGlobals): Exception constructing service 'BayeuxServer': Error invoking method public static org.cometd.bayeux.server.BayeuxServer org.lazan.t5.cometd.services.CometdModule.buildBayeuxServer(org.lazan.t5.cometd.web.BayeuxServerHttpServletRequestFilter,org.lazan.t5.cometd.services.Authorizers,org.lazan.t5.cometd.services.SubscriptionListeners,org.lazan.t5.cometd.services.CometdGlobals): Exception constructing service 'BayeuxServerHttpServletRequestFilter': Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:530)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1467)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: Error invoking constructor public org.lazan.t5.cometd.services.internal.PushManagerImpl(org.cometd.bayeux.server.BayeuxServer,org.slf4j.Logger,org.lazan.t5.cometd.services.ComponentJSONRenderer,org.apache.tapestry5.ioc.services.TypeCoercer,javax.servlet.http.HttpServletRequest,org.lazan.t5.cometd.services.CometdGlobals): Exception constructing service 'BayeuxServer': Error invoking method public static org.cometd.bayeux.server.BayeuxServer org.lazan.t5.cometd.services.CometdModule.buildBayeuxServer(org.lazan.t5.cometd.web.BayeuxServerHttpServletRequestFilter,org.lazan.t5.cometd.services.Authorizers,org.lazan.t5.cometd.services.SubscriptionListeners,org.lazan.t5.cometd.services.CometdGlobals): Exception constructing service 'BayeuxServerHttpServletRequestFilter': Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:57)org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:66)
... 52 more
Caused by: java.lang.RuntimeException: Exception constructing service 'BayeuxServer': Error invoking method public static org.cometd.bayeux.server.BayeuxServer org.lazan.t5.cometd.services.CometdModule.buildBayeuxServer(org.lazan.t5.cometd.web.BayeuxServerHttpServletRequestFilter,org.lazan.t5.cometd.services.Authorizers,org.lazan.t5.cometd.services.SubscriptionListeners,org.lazan.t5.cometd.services.CometdGlobals): Exception constructing service 'BayeuxServerHttpServletRequestFilter': Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:75)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:54)
at $BayeuxServer_20153764561c.delegate(Unknown Source)
at $BayeuxServer_20153764561c.addListener(Unknown Source)
at org.lazan.t5.cometd.services.internal.PushManagerImpl.<init>(PushManagerImpl.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48)
... 74 more
Caused by: java.lang.RuntimeException: Error invoking method public static org.cometd.bayeux.server.BayeuxServer org.lazan.t5.cometd.services.CometdModule.buildBayeuxServer(org.lazan.t5.cometd.web.BayeuxServerHttpServletRequestFilter,org.lazan.t5.cometd.services.Authorizers,org.lazan.t5.cometd.services.SubscriptionListeners,org.lazan.t5.cometd.services.CometdGlobals): Exception constructing service 'BayeuxServerHttpServletRequestFilter': Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.tapestry5.ioc.internal.util.MethodInvoker.invoke(MethodInvoker.java:61)
at org.apache.tapestry5.ioc.internal.util.LoggingInvokableWrapper.invoke(LoggingInvokableWrapper.java:42)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
at org.apache.tapestry5.ioc.internal.util.ConstructionPlan.createObject(ConstructionPlan.java:60)
at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:60)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:63)
at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:54)
at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:66)
... 83 more
Caused by: java.lang.RuntimeException: Exception constructing service 'BayeuxServerHttpServletRequestFilter': Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:75)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:54)
at $BayeuxServerHttpServletRequestFilter_201537645620.delegate(Unknown Source)
at $BayeuxServerHttpServletRequestFilter_201537645620.getBayeuxServer(Unknown Source)
at org.lazan.t5.cometd.services.CometdModule.buildBayeuxServer(CometdModule.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tapestry5.ioc.internal.util.MethodInvoker.invoke(MethodInvoker.java:50)
... 105 more
Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
at org.apache.tapestry5.ioc.internal.util.ConstructionPlan.createObject(ConstructionPlan.java:60)
at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:63)
at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:54)
at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:66)
... 114 more
Caused by: java.lang.RuntimeException: Error invoking constructor public org.lazan.t5.cometd.web.CometdHttpServletRequestFilter(org.apache.tapestry5.services.ApplicationGlobals,java.util.Map,org.apache.tapestry5.ioc.services.RegistryShutdownHub,java.lang.String): javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:57)
at org.apache.tapestry5.ioc.internal.util.LoggingInvokableWrapper.invoke(LoggingInvokableWrapper.java:42)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
... 134 more
Caused by: java.lang.RuntimeException: javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.lazan.t5.cometd.web.ServletHttpServletRequestFilter.<init>(ServletHttpServletRequestFilter.java:36)
at org.lazan.t5.cometd.web.CometdHttpServletRequestFilter.<init>(CometdHttpServletRequestFilter.java:24)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48)
... 136 more
Caused by: javax.servlet.ServletException: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:549)
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:191)
at org.atmosphere.cometd.CometdServlet.init(CometdServlet.java:50)
at org.lazan.t5.cometd.web.ServletHttpServletRequestFilter.<init>(ServletHttpServletRequestFilter.java:28)
... 142 more
Caused by: java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature.
at org.atmosphere.cpr.DefaultAsyncSupportResolver.newCometSupport(DefaultAsyncSupportResolver.java:233)
at org.atmosphere.cpr.DefaultAsyncSupportResolver.resolveWebSocket(DefaultAsyncSupportResolver.java:296)
at org.atmosphere.cpr.DefaultAsyncSupportResolver.resolve(DefaultAsyncSupportResolver.java:284)
at org.atmosphere.cpr.AtmosphereFramework.autoDetectContainer(AtmosphereFramework.java:1100)
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:500)
... 145 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.atmosphere.cpr.DefaultAsyncSupportResolver.newCometSupport(DefaultAsyncSupportResolver.java:229)
... 149 more
Caused by: java.lang.InstantiationError: org.eclipse.jetty.io.ThreadLocalBuffers
at org.eclipse.jetty.io.BuffersFactory.newBuffers(BuffersFactory.java:27)
at org.eclipse.jetty.websocket.WebSocketBuffers.<init>(WebSocketBuffers.java:53)
at org.eclipse.jetty.websocket.WebSocketFactory.<init>(WebSocketFactory.java:102)
at org.eclipse.jetty.websocket.WebSocketFactory.<init>(WebSocketFactory.java:97)
at org.atmosphere.container.JettyWebSocketUtil.getFactory(JettyWebSocketUtil.java:79)
at org.atmosphere.container.JettyAsyncSupportWithWebSocket.<init>(JettyAsyncSupportWithWebSocket.java:55)
... 154 more
的web.xml
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd」 版本= 「3.0」> 流WebApplication的
<!-- The only significant configuration for Tapestry 5, this informs Tapestry of where to look for pages, components and mixins. -->
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>com.bomahabo.flow.tapestry</param-value>
</context-param>
<context-param>
<param-name>tapestry.prod-modules</param-name>
<param-value>com.bomahabo.flow.tapestry.services.execution.ProductionModeModule</param-value>
</context-param>
<context-param>
<param-name>tapestry.dev-modules</param-name>
<param-value>com.bomahabo.flow.tapestry.services.execution.DevelopmentModeModule</param-value>
</context-param>
<context-param>
<param-name>tapestry.qa-modules</param-name>
<param-value>com.bomahabo.flow.tapestry.services.execution.QAModeModule</param-value>
</context-param>
<filter>
<filter-name>app</filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>app</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<error-page>
<error-code>404</error-code>
<location>/error/404</location>
</error-page>
依賴關係樹
+- org.apache.tapestry:tapestry-hibernate:jar:5.3.6:compile
| +- org.apache.tapestry:tapestry-hibernate-core:jar:5.3.6:compile
| | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final:compile
| | +- antlr:antlr:jar:2.7.6:compile
| | +- geronimo-spec:geronimo-spec-jta:jar:1.0-M1:runtime
| | +- dom4j:dom4j:jar:1.6.1:compile
| | | \- xml-apis:xml-apis:jar:1.0.b2:compile
| | +- javassist:javassist:jar:3.12.1.GA:compile
| | \- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
| \- org.apache.tapestry:tapestry-core:jar:5.3.6:compile
| +- org.apache.tapestry:tapestry-json:jar:5.3.6:compile
| \- org.antlr:antlr-runtime:jar:3.3:compile
| \- org.antlr:stringtemplate:jar:3.2.1:compile
+- org.apache.tapestry:tapestry-upload:jar:5.3.6:compile
| +- commons-io:commons-io:jar:2.0.1:compile
| \- commons-fileupload:commons-fileupload:jar:1.2.2:compile
+- org.apache.tapestry:tapestry-yuicompressor:jar:5.3.6:compile
| \- com.yahoo.platform.yui:yuicompressor:jar:2.4.7:compile
| \- rhino:js:jar:1.6R7:compile
+- org.got5:tapestry5-jquery:jar:3.3.3:compile
| \- commons-lang:commons-lang:jar:2.6:compile
+- org.lazan:tapestry-cometd:jar:0.9.14:compile
| \- org.atmosphere:atmosphere-cometd:jar:1.0.0:compile
| +- org.cometd.java:cometd-java-server:jar:2.4.3:compile
| | +- org.cometd.java:bayeux-api:jar:2.4.3:compile
| | +- org.cometd.java:cometd-java-common:jar:2.4.3:compile
| | +- org.eclipse.jetty:jetty-util:jar:7.6.4.v20120524:compile
| | \- org.eclipse.jetty:jetty-jmx:jar:7.6.4.v20120524:compile
| +- org.cometd.java:cometd-websocket-jetty:jar:2.4.3:compile
| | +- org.cometd.java:cometd-java-client:jar:2.4.3:compile
| | | \- org.eclipse.jetty:jetty-client:jar:7.6.4.v20120524:compile
| | \- org.eclipse.jetty:jetty-websocket:jar:7.6.4.v20120524:compile
| +- org.cometd.java:cometd-java-annotations:jar:2.4.3:compile
| \- org.atmosphere:atmosphere-runtime:jar:1.0.0:compile
| +- org.atmosphere:atmosphere-compat-jbossweb:jar:1.0.0:compile
| +- org.atmosphere:atmosphere-compat-tomcat:jar:1.0.0:compile
| \- org.atmosphere:atmosphere-compat-tomcat7:jar:1.0.0:compile
+- org.got5:tapestry5-highcharts:jar:1.2.1-SNAPSHOT:compile
+- org.tynamo:tapestry-security:jar:0.4.7-SNAPSHOT:compile
| +- org.apache.shiro:shiro-web:jar:1.2.0:compile
| | \- org.apache.shiro:shiro-core:jar:1.2.0:compile
| | \- commons-beanutils:commons-beanutils:jar:1.8.3:compile
| +- org.apache.tapestry:tapestry-ioc:jar:5.3.4:compile
| | +- org.apache.tapestry:tapestry-func:jar:5.3.4:compile
| | +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
| | +- javax.inject:javax.inject:jar:1:compile
| | +- log4j:log4j:jar:1.2.14:compile
| | +- org.apache.tapestry:tapestry5-annotations:jar:5.3.4:compile
| | \- org.apache.tapestry:plastic:jar:5.3.4:compile
| +- org.tynamo:tynamo-common:jar:0.0.3:compile
| \- org.tynamo:tapestry-exceptionpage:jar:0.1.2:compile
+- org.tynamo:tapestry-resteasy:jar:0.3.0:compile
| +- org.jboss.resteasy:resteasy-jaxrs:jar:2.3.0.GA:compile
| | +- org.jboss.resteasy:jaxrs-api:jar:2.3.0.GA:compile
| | +- org.scannotation:scannotation:jar:1.0.3:compile
| | +- javax.annotation:jsr250-api:jar:1.0:compile
| | +- commons-httpclient:commons-httpclient:jar:3.1:compile
| | \- net.jcip:jcip-annotations:jar:1.0:compile
| \- org.jboss.resteasy:resteasy-jaxb-provider:jar:2.3.0.GA:compile
| +- com.sun.xml.bind:jaxb-impl:jar:2.2.4:compile
| | \- javax.xml.bind:jaxb-api:jar:2.2.3:compile
| \- com.sun.xml.stream:sjsxp:jar:1.0.1:compile
| \- javax.xml.stream:stax-api:jar:1.0:compile
+- org.jboss.resteasy:resteasy-jettison-provider:jar:2.3.4.Final:compile
| \- org.codehaus.jettison:jettison:jar:1.3.1:compile
+- org.jboss.resteasy:resteasy-multipart-provider:jar:2.2.0.GA:compile
| \- org.apache.james:apache-mime4j:jar:0.6:compile
+- com.amazonaws:aws-java-sdk:jar:1.3.22:compile
| +- commons-logging:commons-logging:jar:1.1.1:compile
| +- org.apache.httpcomponents:httpclient:jar:4.1:compile
| | \- org.apache.httpcomponents:httpcore:jar:4.1:compile
| +- commons-codec:commons-codec:jar:1.3:compile
| +- org.codehaus.jackson:jackson-core-asl:jar:1.8.9:compile
| \- org.codehaus.jackson:jackson-mapper-asl:jar:1.8.9:compile
+- org.hibernate:hibernate-c3p0:jar:3.6.10.Final:compile
| +- org.hibernate:hibernate-core:jar:3.6.10.Final:compile
| | +- commons-collections:commons-collections:jar:3.1:compile
| | \- javax.transaction:jta:jar:1.1:compile
| +- c3p0:c3p0:jar:0.9.1:compile
| \- org.slf4j:slf4j-api:jar:1.6.1:compile
+- hsqldb:hsqldb:jar:1.8.0.10:compile
+- mysql:mysql-connector-java:jar:5.1.21:compile
+- javax.mail:mail:jar:1.4.5:compile
| \- javax.activation:activation:jar:1.1:compile
+- joda-time:joda-time:jar:2.1:compile
+- net.coobird:thumbnailator:jar:0.4.2:compile
+- org.apache.tapestry:tapestry-test:jar:5.3.6:test
| +- org.seleniumhq.selenium:selenium-server:jar:2.14.0:test
| | +- bouncycastle:bcprov-jdk15:jar:135:test
| | +- mx4j:mx4j-tools:jar:3.0.1:test
| | +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.9:test
| | \- org.yaml:snakeyaml:jar:1.8:test
| +- org.eclipse.jetty:jetty-plus:jar:7.0.0.v20091005:test
| | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:test
| +- org.seleniumhq.selenium:selenium-java:jar:2.14.0:test
| | +- org.seleniumhq.selenium:selenium-android-driver:jar:2.14.0:test
| | | \- org.seleniumhq.selenium:selenium-remote-driver:jar:2.14.0:test
| | | +- cglib:cglib-nodep:jar:2.1_3:test
| | | +- org.json:json:jar:20080701:test
| | | \- com.google.guava:guava:jar:10.0.1:test
| | | \- com.google.code.findbugs:jsr305:jar:1.3.9:test
| | +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.14.0:test
| | +- org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.14.0:test
| | | +- org.seleniumhq.selenium:selenium-api:jar:2.14.0:test
| | | \- net.sourceforge.htmlunit:htmlunit:jar:2.9:test
| | | +- xalan:xalan:jar:2.7.1:test
| | | | \- xalan:serializer:jar:2.7.1:test
| | | +- org.apache.httpcomponents:httpmime:jar:4.1.2:test
| | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.9:test
| | | +- xerces:xercesImpl:jar:2.9.1:test
| | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.15:test
| | | \- net.sourceforge.cssparser:cssparser:jar:0.9.5:test
| | | \- org.w3c.css:sac:jar:1.3:test
| | +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.14.0:test
| | | \- org.apache.commons:commons-exec:jar:1.1:test
| | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.14.0:test
| | | \- net.java.dev.jna:jna:jar:3.3.0:test
| | +- org.seleniumhq.selenium:selenium-iphone-driver:jar:2.14.0:test
| | \- org.seleniumhq.selenium:selenium-support:jar:2.14.0:test
| +- org.eclipse.jetty:jetty-webapp:jar:7.0.0.v20091005:test
| | +- org.eclipse.jetty:jetty-xml:jar:7.0.0.v20091005:test
| | \- org.eclipse.jetty:jetty-servlet:jar:7.0.0.v20091005:test
| | \- org.eclipse.jetty:jetty-security:jar:7.0.0.v20091005:test
| +- jetty:org.mortbay.jetty:jar:5.1.12:test
| +- org.eclipse.jetty:jetty-jndi:jar:7.0.0.v20091005:test
| +- org.eclipse.jetty:jetty-server:jar:7.0.0.v20091005:test
| | +- org.eclipse.jetty:jetty-continuation:jar:7.0.0.v20091005:compile
| | \- org.eclipse.jetty:jetty-http:jar:7.0.0.v20091005:compile
| | \- org.eclipse.jetty:jetty-io:jar:7.0.0.v20091005:compile
| +- org.apache.tomcat:dbcp:jar:6.0.30:test
| +- org.apache.tomcat:coyote:jar:6.0.30:test
| | +- org.apache.tomcat:servlet-api:jar:6.0.30:test
| | \- org.apache.tomcat:juli:jar:6.0.30:test
| \- org.apache.tomcat:catalina:jar:6.0.30:test
| \- org.apache.tomcat:annotations-api:jar:6.0.30:test
+- org.testng:testng:jar:5.12.1:test
| \- junit:junit:jar:3.8.1:test
+- org.easymock:easymock:jar:2.5.2:test
\- javax.servlet:servlet-api:jar:2.5:provided
我還想提一下,它運行成功乳清我在本地運行 - 這是使用maven-jetty插件,但是當我將它部署到Tomcat 7時,它失敗。
在我看來,如Tomcat缺少一些依賴是jettys的,但我不知道我應該怎麼加
任何想法嗎?
感謝你和新年快樂
恐怕這有點更陌生。我再次嘗試過各種組合,這就是我發現的。如果我運行32位Tomcat 6而沒有任何更改,它會像你一樣崩潰(正如你所說的由於diff版本)。但是,如果我在32位Tomcat 7上運行它,它工作正常。如果我在64位Tomcat 7下運行它,它會在任何組合下崩潰。順便說一句,你認爲有可能將對cometd-websocket-jetty的依賴性升級到2.5.1,它將更新與jetty相關的依賴關係到相同的版本7.6.8我認爲 –