无法在Linux上启动Archiva v2.1.0 - java.lang.UnsupportedClassVersionError

时间:2014-08-06 11:29:58

标签: linux archiva

我正在尝试最新版本的Archiva(v2.1.0)。 正如我在this post中提到的,我在使用该服务启动Archiva时遇到了问题,所以我使用以下命令直接在其安装文件夹中启动它:

/opt/archiva-2.0/bin/archiva start

一切都很好看:

Starting Apache Archiva...

但是在/opt/archiva-2.0/logs/wrapper-20140806.log中,我得到一个 java.lang.UnsupportedClassVersionError

STATUS | wrapper  | 2014/08/06 13:13:35 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/08/06 13:13:36 | Launching a JVM...
INFO   | jvm 1    | 2014/08/06 13:13:36 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2014/08/06 13:13:36 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2014/08/06 13:13:36 | 
INFO   | jvm 1    | 2014/08/06 13:13:36 | 2014-08-06 13:13:36.763:WARN:oejd.ContextDeployer:ContextDeployer is deprecated. Use ContextProvider
INFO   | jvm 1    | 2014/08/06 13:13:36 | 2014-08-06 13:13:36.769:WARN:oejd.WebAppDeployer:WebAppDeployer is deprecated. Use WebAppProvider
INFO   | jvm 1    | 2014/08/06 13:13:36 | 2014-08-06 13:13:36.885:INFO:oejs.Server:jetty-8.1.14.v20131031
INFO   | jvm 1    | 2014/08/06 13:13:36 | 2014-08-06 13:13:36.905:INFO:oejs.NCSARequestLog:Opened /opt/archiva-2.0/logs/request-20140806.log
INFO   | jvm 1    | 2014/08/06 13:13:36 | 2014-08-06 13:13:36.952:INFO:oejd.ContextDeployer:Deploy /opt/archiva-2.0/contexts/archiva.xml -> o.e.j.w.WebAppContext{/,null},/opt/archiva-2.0/apps/archiva
INFO   | jvm 1    | 2014/08/06 13:13:39 | 2014-08-06 13:13:39.526:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
INFO   | jvm 1    | 2014/08/06 13:13:39 | 2014-08-06 13:13:39.602:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
INFO   | jvm 1    | 2014/08/06 13:13:39 | 2014-08-06 13:13:39.640:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/opt/archiva-2.0/apps/archiva/},/opt/archiva-2.0/apps/archiva
INFO   | jvm 1    | 2014/08/06 13:13:39 | java.lang.reflect.InvocationTargetException
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer.deploy(ContextDeployer.java:359)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer.access$000(ContextDeployer.java:82)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:107)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:336)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer.doStart(ContextDeployer.java:421)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.Server.doStart(Server.java:282)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.start.Main.start(Main.java:615)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.start.Main.main(Main.java:96)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.Thread.run(Thread.java:662)
INFO   | jvm 1    | 2014/08/06 13:13:39 | Caused by: 
INFO   | jvm 1    | 2014/08/06 13:13:39 | java.lang.UnsupportedClassVersionError: org/apache/archiva/web/startup/ArchivaStartup : Unsupported major.minor version 51.0
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.ClassLoader.defineClass1(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1528)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1893)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer.deploy(ContextDeployer.java:359)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer.access$000(ContextDeployer.java:82)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:107)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:336)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.deploy.ContextDeployer.doStart(ContextDeployer.java:421)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.server.Server.doStart(Server.java:282)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.start.Main.start(Main.java:615)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.eclipse.jetty.start.Main.main(Main.java:96)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2014/08/06 13:13:39 |   at java.lang.Thread.run(Thread.java:662)
INFO   | jvm 1    | 2014/08/06 13:13:39 | 2014-08-06 13:13:39.656:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
STATUS | wrapper  | 2014/08/06 13:19:27 | TERM trapped.  Shutting down.
INFO   | jvm 1    | 2014/08/06 13:19:28 | 2014-08-06 13:19:28.342:INFO:oejs.Server:Graceful shutdown SelectChannelConnector@0.0.0.0:8080
INFO   | jvm 1    | 2014/08/06 13:19:28 | 2014-08-06 13:19:28.343:INFO:oejs.Server:Graceful shutdown o.e.j.w.WebAppContext{/,file:/opt/archiva-2.0/apps/archiva/},/opt/archiva-2.0/apps/archiva
INFO   | jvm 1    | 2014/08/06 13:19:29 | 2014-08-06 13:19:29.371:INFO:/:Closing Spring root WebApplicationContext
INFO   | jvm 1    | 2014/08/06 13:19:30 | 2014-08-06 13:19:30.201:INFO:oejsh.ContextHandler:stopped o.e.j.w.WebAppContext{/,file:/opt/archiva-2.0/apps/archiva/},/opt/archiva-2.0/apps/archiva
STATUS | wrapper  | 2014/08/06 13:19:30 | <-- Wrapper Stopped
STATUS | wrapper  | 2014/08/06 13:19:34 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/08/06 13:19:34 | Launching a JVM...
INFO   | jvm 1    | 2014/08/06 13:19:34 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2014/08/06 13:19:34 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2014/08/06 13:19:34 | 
INFO   | jvm 1    | 2014/08/06 13:19:35 | 2014-08-06 13:19:35.411:WARN:oejd.ContextDeployer:ContextDeployer is deprecated. Use ContextProvider
INFO   | jvm 1    | 2014/08/06 13:19:35 | 2014-08-06 13:19:35.415:WARN:oejd.WebAppDeployer:WebAppDeployer is deprecated. Use WebAppProvider
INFO   | jvm 1    | 2014/08/06 13:19:35 | 2014-08-06 13:19:35.502:INFO:oejs.Server:jetty-8.1.14.v20131031
INFO   | jvm 1    | 2014/08/06 13:19:35 | 2014-08-06 13:19:35.514:INFO:oejs.NCSARequestLog:Opened /opt/archiva-2.0/logs/request-20140806.log
INFO   | jvm 1    | 2014/08/06 13:19:35 | 2014-08-06 13:19:35.543:INFO:oejd.ContextDeployer:Deploy /opt/archiva-2.0/contexts/archiva.xml -> o.e.j.w.WebAppContext{/,null},/opt/archiva-2.0/apps/archiva
INFO   | jvm 1    | 2014/08/06 13:19:38 | 2014-08-06 13:19:38.608:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
INFO   | jvm 1    | 2014/08/06 13:19:38 | 2014-08-06 13:19:38.716:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
INFO   | jvm 1    | 2014/08/06 13:19:38 | 2014-08-06 13:19:38.817:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/opt/archiva-2.0/apps/archiva/},/opt/archiva-2.0/apps/archiva
INFO   | jvm 1    | 2014/08/06 13:19:38 | java.lang.reflect.InvocationTargetException
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer.deploy(ContextDeployer.java:359)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer.access$000(ContextDeployer.java:82)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:107)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:336)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer.doStart(ContextDeployer.java:421)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.Server.doStart(Server.java:282)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.start.Main.start(Main.java:615)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.start.Main.main(Main.java:96)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.Thread.run(Thread.java:662)
INFO   | jvm 1    | 2014/08/06 13:19:38 | Caused by: 
INFO   | jvm 1    | 2014/08/06 13:19:38 | java.lang.UnsupportedClassVersionError: org/apache/archiva/web/startup/ArchivaStartup : Unsupported major.minor version 51.0
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.ClassLoader.defineClass1(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1528)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1893)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer.deploy(ContextDeployer.java:359)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer.access$000(ContextDeployer.java:82)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:107)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:336)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.deploy.ContextDeployer.doStart(ContextDeployer.java:421)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.server.Server.doStart(Server.java:282)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.start.Main.start(Main.java:615)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.eclipse.jetty.start.Main.main(Main.java:96)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2014/08/06 13:19:38 |   at java.lang.Thread.run(Thread.java:662)
INFO   | jvm 1    | 2014/08/06 13:19:38 | 2014-08-06 13:19:38.842:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080

请注意,我在/opt/archiva-2.0/logs文件夹中没有其他文件,但archiva.pid除外。

我使用独立发行版(apache-archiva-2.1.0-bin.zip),无需额外配置。

根据the docs的要求,我的JAVA_HOME设置为 /usr/java/jdk1.6.0_45

有什么想法吗?谢谢!

1 个答案:

答案 0 :(得分:2)

下载页面上的信息已过期。 2.1.0的release notes表示您需要Java 1.7