Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-29730

support for running on apple m1 chip

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.36.0
    • Fix Version/s: 3.38.0
    • Component/s: Bootstrap
    • Labels:
      None
    • Environment:
    • Story Points:
      0.5
    • Release Note:
      Yes
    • Sprint:
      NXRM Neo Sprint 22
    • Notability:
      n/a

      Description

      Will there need to be a special release of Nexus to support the new Apple M1 chip?

       

      Mac Info:

      Mac OS Monterey 12.0.1 (21A559)
      Apple M1 Pro 10 cores, 10 threads
      

       

      JDK Info:

      ➜  bin java -version
      openjdk version "1.8.0_312"
      OpenJDK Runtime Environment (Zulu 8.58.0.13-CA-macos-aarch64) (build 1.8.0_312-b07)
      OpenJDK 64-Bit Server VM (Zulu 8.58.0.13-CA-macos-aarch64) (build 25.312-b07, mixed mode)
      

        

      Nexus 3.36.0-01 Runtime log

      java.lang.NoClassDefFoundError: com/sun/jna/Platfor 

      ➜  bin ./nexus run2021-11-23 00:21:48,996+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.pax.logging.NexusLogActivator - start2021-11-23 00:21:49,186+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.features.internal.FeaturesWrapper - Fast FeaturesService starting2021-11-23 00:21:49,592+0800 WARN  [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JInitialiser - Your logging framework class org.ops4j.pax.logging.slf4j.Slf4jLogger is not known - if it needs access to the standard println methods on the console you will need to register it by calling registerLoggingSystemPackage2021-11-23 00:21:49,592+0800 INFO  [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Package org.ops4j.pax.logging.slf4j registered; all classes within it or subpackages of it will be allowed to print to System.out and System.err2021-11-23 00:21:49,594+0800 INFO  [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams2021-11-23 00:21:49,596+0800 INFO  [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Redirected System.out and System.err to SLF4J for this context2021-11-23 00:21:49,598+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - Properties:2021-11-23 00:21:49,598+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-host='0.0.0.0'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-port='8081'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   fabric.etc='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/fabric'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   jetty.etc='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.base='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.data='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/sonatype-work/nexus3'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.etc='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/karaf'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.home='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.instances='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/sonatype-work/nexus3/instances'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   logback.etc='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/logback'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-args='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty/jetty.xml,/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty/jetty-http.xml,/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty/jetty-requestlog.xml'2021-11-23 00:21:49,599+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-context-path='/'2021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-edition='nexus-pro-edition'2021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-features='nexus-pro-feature'2021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus.hazelcast.discovery.isEnabled='true'2021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   ssl.etc='/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/ssl'2021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - Java: 1.8.0_312, OpenJDK 64-Bit Server VM, Azul Systems, Inc., 25.312-b072021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - OS: Mac OS X, 12.0.1, aarch642021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - User: edwin, zh, /Users/edwin2021-11-23 00:21:49,600+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - CWD: /Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-012021-11-23 00:21:49,601+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - TMP: /Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/sonatype-work/nexus3/tmp2021-11-23 00:21:49,605+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting2021-11-23 00:21:49,608+0800 INFO  [FelixStartLevel] *SYSTEM org.eclipse.jetty.util.log - Logging initialized @1455ms to org.eclipse.jetty.util.log.Slf4jLog2021-11-23 00:21:49,610+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty/jetty.xml2021-11-23 00:21:49,696+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty/jetty-http.xml2021-11-23 00:21:49,710+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/nexus-3.30.0-01/etc/jetty/jetty-requestlog.xml2021-11-23 00:21:49,721+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting: Server@65c56e9d{STOPPED}[9.4.38.v20210224]2021-11-23 00:21:49,722+0800 INFO  [jetty-main-1] *SYSTEM org.eclipse.jetty.server.Server - jetty-9.4.38.v20210224; built: 2021-02-24T20:25:07.675Z; git: 288f3cc74549e8a913bf363250b0744f2695b8e6; jvm 1.8.0_312-b072021-11-23 00:21:49,749+0800 INFO  [jetty-main-1] *SYSTEM org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node02021-11-23 00:21:49,749+0800 INFO  [jetty-main-1] *SYSTEM org.eclipse.jetty.server.session - No SessionScavenger set, using defaults2021-11-23 00:21:49,750+0800 INFO  [jetty-main-1] *SYSTEM org.eclipse.jetty.server.session - node0 Scavenging every 660000ms2021-11-23 00:21:49,754+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Initializing2021-11-23 00:21:49,755+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Loading OSS Edition2021-11-23 00:21:49,756+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Installing: nexus-oss-edition/3.30.0.01 (nexus-orient/3.30.0.01)2021-11-23 00:21:50,772+0800 INFO  [jetty-main-1] *SYSTEM org.ehcache.core.osgi.EhcacheActivator - Detected OSGi Environment (core is in bundle: org.ehcache [132]): Using OSGi Based Service Loading2021-11-23 00:21:50,910+0800 WARN  [jetty-main-1] *SYSTEM org.sonatype.nexus.features.internal.FeaturesWrapper - Problem starting reference:file:system/net/java/dev/jna/jna-platform/4.5.0/jna-platform-4.5.0.jarorg.osgi.framework.BundleException: Unable to resolve com.sun.jna.platform [224](R 224.0): missing requirement [com.sun.jna.platform [224](R 224.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=com.sun.jna)(bundle-version>=4.5.0)) [caused by: Unable to resolve com.sun.jna [13](R 13.0): missing requirement [com.sun.jna [13](R 13.0)] osgi.native; (|(&(osgi.native.osname~=win32)(osgi.native.processor~=x86))(&(osgi.native.osname~=win32)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=win)(osgi.native.processor~=x86))(&(osgi.native.osname~=win)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=wince)(osgi.native.processor~=arm))(&(osgi.native.osname~=sunos)(osgi.native.processor~=x86))(&(osgi.native.osname~=sunos)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=sunos)(osgi.native.processor~=sparc))(&(osgi.native.osname~=sunos)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=aix)(osgi.native.processor~=ppc))(&(osgi.native.osname~=aix)(osgi.native.processor~=ppc64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc64le))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=linux)(osgi.native.processor~=arm))(&(osgi.native.osname~=linux)(osgi.native.processor~=armel))(&(osgi.native.osname~=linux)(osgi.native.processor~=aarch64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ia64))(&(osgi.native.osname~=linux)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=linux)(osgi.native.processor~=mips64el))(&(osgi.native.osname~=linux)(osgi.native.processor~=s390x))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=macosx)(|(osgi.native.processor~=x86)(osgi.native.processor~=x86-64)(osgi.native.processor~=ppc))))] Unresolved requirements: [[com.sun.jna.platform [224](R 224.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=com.sun.jna)(bundle-version>=4.5.0))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149) at org.apache.felix.framework.Felix.startBundle(Felix.java:2119) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) at org.sonatype.nexus.features.internal.FeaturesWrapper.startBundle(FeaturesWrapper.java:262) at java.util.ArrayList.forEach(ArrayList.java:1259) at org.sonatype.nexus.features.internal.FeaturesWrapper.fastInstallFeature(FeaturesWrapper.java:185) at org.sonatype.nexus.features.internal.FeaturesWrapper.invoke(FeaturesWrapper.java:129) at com.sun.proxy.$Proxy1.installFeatures(Unknown Source) at org.sonatype.nexus.bootstrap.osgi.BootstrapListener.installNexusEdition(BootstrapListener.java:320) at org.sonatype.nexus.bootstrap.osgi.BootstrapListener.contextInitialized(BootstrapListener.java:125) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1068) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:572) at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:997) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:746) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:911) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at com.codahale.metrics.jetty9.InstrumentedHandler.doStart(InstrumentedHandler.java:101) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:423) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:387) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:274)2021-11-23 00:21:50,911+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Installed: nexus-oss-edition/3.30.0.01 (nexus-orient/3.30.0.01)2021-11-23 00:21:51,136+0800 INFO  [jetty-main-1] *SYSTEM org.apache.shiro.nexus.NexusWebSessionManager - Global session timeout: 1800000 ms2021-11-23 00:21:51,137+0800 INFO  [jetty-main-1] *SYSTEM org.apache.shiro.nexus.NexusWebSessionManager - Session-cookie prototype: name=NXSESSIONID2021-11-23 00:21:51,155+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.common [3.30.0.01]2021-11-23 00:21:51,196+0800 INFO  [jetty-main-1] *SYSTEM org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.0.Final...2021-11-23 00:21:52,258+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.quartz [3.30.0.01]2021-11-23 00:21:52,258+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.oss-edition [3.30.0.01]2021-11-23 00:21:52,264+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.oss-edition [3.30.0.01]2021-11-23 00:21:52,265+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Running lifecycle phases [KERNEL, STORAGE, RESTORE, UPGRADE, SCHEMAS, EVENTS, SECURITY, SERVICES, CAPABILITIES, TASKS]2021-11-23 00:21:52,266+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start KERNEL2021-11-23 00:21:52,267+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.internal.log.LogbackLoggerOverrides - File: /Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/sonatype-work/nexus3/etc/logback/logback-overrides.xml2021-11-23 00:21:52,268+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.internal.log.LogbackLogManager - Configuring2021-11-23 00:21:52,274+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Installing: [nexus-oss-feature/3.30.0.01, nexus-cma-feature/3.30.0.01, nexus-cma-extra/3.30.0.01, nexus-ossindex-plugin/3.30.0.01]2021-11-23 00:21:55,736+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Installed: [nexus-oss-feature/3.30.0.01, nexus-cma-feature/3.30.0.01, nexus-cma-extra/3.30.0.01, nexus-ossindex-plugin/3.30.0.01]2021-11-23 00:21:55,750+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-audit-plugin [3.30.0.01].........2021-11-23 00:21:58,707+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl$1 - OrientDB Server v2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x) is starting up...2021-11-23 00:21:58,708+0800 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl$1 - Databases directory: /Users/edwin/opt/nexus-3.30.0-01-mac-update-n3.36.0-01/sonatype-work/nexus3/db2021-11-23 00:21:58,842+0800 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Configuration of usage of soft references inside of containers of results of SQL execution2021-11-23 00:21:58,843+0800 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Initial and maximum values of heap memory usage are equal, containers of results of SQL executors will use soft references by default2021-11-23 00:21:58,843+0800 INFO  [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Auto configuration of disk cache size.2021-11-23 00:21:58,844+0800 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - Failed transition: NEW -> STARTEDjava.lang.reflect.InvocationTargetException: null at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:45) at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193) at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57) at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78) at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54) at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$22a85a19.start(<generated>) at org.sonatype.nexus.internal.orient.OrientBootstrap.doStart(OrientBootstrap.java:71) at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69) at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$372cf656.CGLIB$start$2(<generated>) at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$372cf656$$FastClassByGuice$$34f30301.invoke(<generated>) at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228) at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76) at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39) at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193) at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57) at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78) at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54) at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$372cf656.start(<generated>) at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:199) at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:111) at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:321) at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:218) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1431) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.lang.Thread.run(Thread.java:748)Caused by: java.lang.NoClassDefFoundError: com/sun/jna/Platform at com.orientechnologies.common.jna.ONative.instance(ONative.java:30) at com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.configureDefaultDiskCacheSize(OMemoryAndLocalPaginatedEnginesInitializer.java:167) at com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.configureDefaults(OMemoryAndLocalPaginatedEnginesInitializer.java:77) at com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.initialize(OMemoryAndLocalPaginatedEnginesInitializer.java:62) at com.orientechnologies.orient.core.engine.local.OEngineLocalPaginated.startup(OEngineLocalPaginated.java:56) at com.orientechnologies.orient.core.Orient.startEngine(Orient.java:930) at com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:523) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:173) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:154) at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:151) at com.orientechnologies.orient.server.OSystemDatabase.<init>(OSystemDatabase.java:44) at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1309) at com.orientechnologies.orient.server.OServer.activate(OServer.java:367) at org.sonatype.nexus.internal.orient.DatabaseServerImpl.doStart(DatabaseServerImpl.java:209) at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69) at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39) at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193) at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57) at org.sonatype.nexus.internal.orient.OrientBootstrap.doStart(OrientBootstrap.java:71) at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69) at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39) at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193) at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57) ... 7 common frames omittedCaused by: java.lang.ClassNotFoundException: com.sun.jna.Platform not found by com.orientechnologies.orientdb-core [222] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ... 30 common frames omitted
      

       

       I'm edwin from China BeiJing,my github:http://github.com/why168

        Attachments

          Activity

            People

            Assignee:
            dmasalovych Dmitry Masalovych
            Reporter:
            edwin05 Edwin
            Last Updated By:
            Dmitry Masalovych Dmitry Masalovych
            Team:
            NXRM - Neo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title