Eclipse 中的 Jetty 8.1.1.v20120215 和 web 应用程序 (JSF + Maven)

2024-02-03

我正在尝试在 Eclipse 中运行我的 web 应用程序(使用 JSf)Jetty 8.1.1.v20120215。我下载了 Jetty Adapter,然后在 Eclipse 中添加了 Jetty Server 8.1。然后我在 Jetty 网络服务器下盯着我的网络应用程序。并出现以下错误。从 statck 跟踪看来,Jetting 没有获得一些所需的 jar。正如我使用 maven 时在我的 web 应用程序中添加的所有这些 jar 一样。我还可以在 Eclipse 中看到 Eclipse 中引用的库下列出的那些文件。

2012-03-01 16:46:00.492:INFO:oejs.Server:jetty-8.1.1.v20120215
2012-03-01 16:46:00.515:INFO:oejdp.ScanningAppProvider:Deployment monitor /home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps at interval 1
2012-03-01 16:46:00.519:INFO:oejdp.ScanningAppProvider:Deployment monitor /home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/contexts at interval 1
2012-03-01 16:46:00.521:INFO:oejd.DeploymentManager:Deployable added: /home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/contexts/mc-webapp.xml
2012-03-01 16:46:03.223:WARN:oejuc.AbstractLifeCycle:FAILED o.e.j.w.WebAppContext{/mc-webapp,[file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/blitzer-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/dark-hive-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/ui-lightness-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/sam-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/rocket-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/myfaces-api-2.1.5.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/swanky-purse-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/trontastic-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/south-street-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/primefaces-3.0.1.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/hot-sneaks-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/glass-x-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/le-frog-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/casablanca-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/overcast-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/ui-darkness-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/midnight-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/eggplant-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/humanity-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/smoothness-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/flick-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/vader-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/cupertino-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/black-tie-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/bluesky-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/pepper-grinder-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/mc-theme.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/home-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/mint-choc-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/sunny-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/excite-bike-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/start-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/redmond-1.0.3.jar!/META-INF/resources/, jar:file:/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp/WEB-INF/lib/myfaces-impl-2.1.5.jar!/META-INF/resources/]},/home/mitesh.patel/dev/mc-sandbox/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mc-webapp: java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
    at org.eclipse.jetty.annotations.AnnotationConfiguration.createAnnotationParser(AnnotationConfiguration.java:111)
    at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:73)
    at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:428)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
    at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
    at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
    at org.eclipse.jetty.server.Server.doStart(Server.java:263)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
    at org.eclipse.jetty.start.Main.start(Main.java:602)
    at org.eclipse.jetty.start.Main.main(Main.java:82)
Caused by: 
java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.eclipse.jetty.annotations.AnnotationConfiguration.createAnnotationParser(AnnotationConfiguration.java:111)
    at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:73)
    at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:428)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
    at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
    at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
    at org.eclipse.jetty.server.Server.doStart(Server.java:263)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
    at org.eclipse.jetty.start.Main.start(Main.java:602)
    at org.eclipse.jetty.start.Main.main(Main.java:82)
2012-03-01 16:46:03.226:WARN:oejd.DeploymentManager:Unable to reach node goal: started
java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
    at org.eclipse.jetty.annotations.AnnotationConfiguration.createAnnotationParser(AnnotationConfiguration.java:111)
    at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:73)
    at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:428)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
    at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
    at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
    at org.eclipse.jetty.server.Server.doStart(Server.java:263)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
    at org.eclipse.jetty.start.Main.start(Main.java:602)
    at org.eclipse.jetty.start.Main.main(Main.java:82)
Caused by: 
java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.eclipse.jetty.annotations.AnnotationConfiguration.createAnnotationParser(AnnotationConfiguration.java:111)
    at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:73)
    at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:428)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
    at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
    at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:58)
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
    at org.eclipse.jetty.server.Server.doStart(Server.java:263)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
    at org.eclipse.jetty.start.Main.start(Main.java:602)
    at org.eclipse.jetty.start.Main.main(Main.java:82)
2012-03-01 16:46:03.250:INFO:oejs.AbstractConnector:Started [email protected] /cdn-cgi/l/email-protection:8080

我不知道如何解决。


这对我有用。找到 Jetty 服务器的 Eclipse 启动配置并将其打开进行编辑。在类路径下添加 /lib(和子目录)中的所有 jar,以及 /start.jar。尝试跑步。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Eclipse 中的 Jetty 8.1.1.v20120215 和 web 应用程序 (JSF + Maven) 的相关文章

随机推荐

  • 如何使用REUSE_ALV_FIELDCATALOG_MERGE功能模块?

    我正在尝试使用功能模块REUSE ALV FIELDCATALOG MERGE传递 ddic 中的字段标签以显示在 alv 报告的列标题中 但是 那没有用 如果我评论I STRUCTURE NAME TY YNAH CUS OBJ REQ
  • 使用 javascript 在 html 页面中查找单词

    如何快速搜索 html 页面中的单词 我怎样才能得到这个词所在的html标签 这样我就可以使用整个标签 要查找单词所在的元素 您必须遍历整个树 仅查找文本节点 并应用与上面相同的测试 在文本节点中找到单词后 返回该节点的父节点 var wo
  • 在seaborn中绘制带有孵化的堆积条形图

    我正在尝试使用带有孵化功能的seaborn matplotlib 绘制堆积条形图 但孵化不合适 如图所示 我的代码如下 sc bar sns barplot x Salt Concentration y EPS Produced data
  • Spring 元素必须指定引用或值

    我在 Spring 和构造函数注入方面遇到问题 我想动态创建具有名称的对象 String 和特殊 ID long 但是当加载 spring xml 文件时会发生异常 线程 main 中的异常 java lang ExceptionInIni
  • 将弹出窗口置于前面

    在我的应用程序中 我有一个弹出窗口 其中包含当我选择某些选项时打开的信息 第一次还可以 在所有内容前面弹出突出显示 但是 当它失去焦点时 当用户转到其他窗口时 如果用户再次单击同一选项 我希望弹出窗口再次显示在所有内容的前面 我尝试过类似的
  • iPhone 应用程序的分发(App Store)版本中出现错误

    我创建了一个具有自建照片工具的应用程序 当我测试 调试和临时 时 它工作正常 它是使用 UIScrollView 构建的 并在照片的插槽滚动到屏幕上时将每个照片添加到 UIScroll 视图 但现在该应用程序已在 App Store 中 并
  • 具有多个命令的 Git 别名的语法[重复]

    这个问题在这里已经有答案了 我想创建一个 Git 别名来执行多个命令 但我找不到有关如何完成此操作的文档 具有多个命令的 Git 别名的语法是什么 这是在哪里记录的 来自 man git config alias git 1 命令包装器的命
  • 如何向 R Shiny 表添加行

    我正在尝试使用 R Shiny 构建一个表单 一旦单击表单末尾的操作按钮 它将用于填充表格 我无法弄清楚如何获取表单中的数据并将其添加到表中的新行中 现在 它只是用表单中的任何内容不断更新第一行 我在这里重现了代码的简单版本 ui r li
  • UITabBarController 中的 UIViewController 和 UISplitViewController shouldAutorotateToInterfaceOrientation

    我的 iPad 代码有一些问题 我有一个 UITabBarController 其中包含一些 UIViewController 和 UISplitViewController 问题是 UIViewController 甚至 UISplitV
  • 使用 Javascript 动态创建具有递增 ID 的 dom 元素

    我有一个 ID 为 orangeButton 的 div 每次单击它时都会创建一个新的 div 这工作正常 但是 我希望每个新创建的 div 都有一个增量编号添加到它的 ID 中 我不知道该怎么做 这是我迄今为止带有注释的代码的小提琴 ht
  • Inno Setup 安装 - 访问被拒绝

    我已经使用 inno setup 创建了一个安装 我的应用程序 除其他外 运行后会在子文件夹中创建一个 pdf 文件 然后打开它 但 Windows 7 说访问被拒绝并弹出异常 怎么了 如何使用 innosetup 授予对子文件夹的访问权限
  • 在 python 中处理 try except 的更简洁的方法

    所以 假设我有 3 个不同的调用something something1 and something2 现在 我称之为 try something something1 something2 except Keyerror as e pri
  • VS2012中“从源代码管理中排除”发生了什么

    我想从 TFS 2012 源代码管理中排除代码文件夹中的某些文件 在 VS2012 之前 这是通过 源代码管理资源管理器 右键菜单中的 从源代码管理中排除 命令来完成的 但在VS2012中我找不到它 有人知道它在哪里吗 顺便说一句 我正在使
  • 将类型限制为特定类型

    是否可以将泛型方法限制在特定类型上 我想写这样的东西 public T GetValue
  • 如何在Android中使用SetGroup()在组中显示通知?

    我尝试过使用 0 通知 ID 以及唯一的通知 ID 还使用了 setGroup 如下所示 它仍然每次都会生成一个新的通知 我想合并通知正文并将标题设置为通用 class MyFirebaseMessagingService Firebase
  • 正则表达式非捕获组 - 无用?

    我试图理解这个概念 但我真的看不出它有什么用 所以我假设我没有抓住重点 例如 这个正则表达式 0 9 st nd rd th 将匹配带或不带 st rd 等后缀的数字 So 1st match 0 9 st nd rd th g 返回 第一
  • 如何在 R 中导出 GBM 模型?

    是否有标准 或可用 方法在 R 中导出 GBM 模型 PMML 可以工作 但是当我尝试使用 pmml 库时 可能是错误的 我收到错误 例如 我的代码看起来类似于 library gbm library pmml model lt gbm f
  • VSCode:用户设置中的 TextMate 正则表达式

    我正在尝试更改主题以更适合我的日常使用 但在尝试自定义特定单词或模式时遇到了一些麻烦 我现在正在使用这种格式 editor tokenColorCustomizations textMateRules scope comment setti
  • 如何使用 Spark 计算累积和

    我有一个 String Int 的 rdd 它按键排序 val data Array c1 6 c2 3 c3 4 val rdd sc parallelize data sortByKey 现在我想以零开始第一个键的值 并将后续键作为先前
  • Eclipse 中的 Jetty 8.1.1.v20120215 和 web 应用程序 (JSF + Maven)

    我正在尝试在 Eclipse 中运行我的 web 应用程序 使用 JSf Jetty 8 1 1 v20120215 我下载了 Jetty Adapter 然后在 Eclipse 中添加了 Jetty Server 8 1 然后我在 Jet