Jetty 9.2.2 JDK 1.7 Cargo Daemon MultipleException AnnotationConfiguration.scanForAnnotations

时间:2014-10-02 00:20:43

标签: java cargo jetty-9

Jetty版本:jetty-distribution-9.2.2.v20140723

JDK:1.7.0_65-b17

我正在使用Cargo Daemon与货运码头-7-and-forward-deployer

我已根据其他答案的建议将asm jar更新为5.0.3。但我每隔一段时间仍然会收到以下异常。

我的问题是,任何人都遇到了同样的问题,并找到了解决方案,以及如何从多重例外的码头(原因)中获取更多信息。

[Scanner-0] WARN  o.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@1b6e5ef3
org.eclipse.jetty.util.MultiException: Multiple exceptions
    at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:529) ~[jetty-annotations-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:440) ~[jetty-annotations-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:471) ~[jetty-webapp-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1329) ~[jetty-webapp-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) ~[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:497) ~[jetty-webapp-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) [jetty-deploy-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) [jetty-deploy-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498) [jetty-deploy-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146) [jetty-deploy-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:198) [jetty-deploy-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:70) [jetty-deploy-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:663) [jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:531) [jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) [jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) [jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    at java.util.TimerThread.mainLoop(Timer.java:555) [na:1.7.0_65]
    at java.util.TimerThread.run(Timer.java:505) [na:1.7.0_65]

似乎在webapps依赖性发生变化时发生。并重新部署。

0 个答案:

没有答案