Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-55

UnsupportedClassVersionError while installing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1.0, 0.2.0
    • None
    • Build
    • None

    Description

      [WARNING] Error injecting: com.buschmais.jqassistant.scm.maven.ScanMojo
      com.google.inject.ProvisionException: Unable to provision, see the following errors:

      1) Error injecting constructor, java.lang.UnsupportedClassVersionError: com/buschmais/jqassistant/plugin/json/api/model/JSONArrayDescriptor : Unsupported major.minor version 52.0
        at com.buschmais.jqassistant.scm.maven.provider.PluginRepositoryProvider.<init>(Unknown Source)
        at org.eclipse.sisu.wire.LocatorWiring
        while locating com.buschmais.jqassistant.scm.maven.provider.PluginRepositoryProvider annotated with interface org.eclipse.sisu.inject.TypeArguments$Implicit
        at org.eclipse.sisu.wire.LocatorWiring
        while locating com.buschmais.jqassistant.scm.maven.provider.PluginRepositoryProvider
          for field at com.buschmais.jqassistant.scm.maven.AbstractMojo.pluginRepositoryProvider(Unknown Source)
        while locating com.buschmais.jqassistant.scm.maven.ScanMojo

      1 error
              at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
              at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
              at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
              at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
              at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
              at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
              at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
              at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
              at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
              at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
              at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
              at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
              at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
              at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
              at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
              at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:519)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
              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:606)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
              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:606)
              at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39)
              at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122)
              at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:50)
      Caused by: java.lang.UnsupportedClassVersionError: com/buschmais/jqassistant/plugin/json/api/model/JSONArrayDescriptor : Unsupported major.minor version 52.0
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
              at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
              at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
              at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
              at com.buschmais.jqassistant.core.plugin.impl.AbstractPluginRepository.getType(AbstractPluginRepository.java:47)
              at com.buschmais.jqassistant.core.plugin.impl.ModelPluginRepositoryImpl.getDescriptorTypes(ModelPluginRepositoryImpl.java:39)
              at com.buschmais.jqassistant.core.plugin.impl.ModelPluginRepositoryImpl.<init>(ModelPluginRepositoryImpl.java:25)
              at com.buschmais.jqassistant.core.plugin.impl.PluginRepositoryImpl.<init>(PluginRepositoryImpl.java:25)
              at com.buschmais.jqassistant.scm.maven.provider.PluginRepositoryProvider.<init>(PluginRepositoryProvider.java:21)
              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:526)
              at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
              at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
              at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
              at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
              at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision(BeanScheduler.java:230)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
              at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
              at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
              at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
              at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
              at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
              at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
              at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
              at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
              at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
              at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
              at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
              at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
              at org.eclipse.sisu.wire.BeanProviders.firstOf(BeanProviders.java:179)
              at org.eclipse.sisu.wire.BeanProviders$7.get(BeanProviders.java:160)
              at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
              at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
              at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
              at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
              at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
              at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
              at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)
              at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
              at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
              at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
              at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
              at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
              at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
              at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
              at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
              at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
              at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
              ... 48 more

      Attachments

        Activity

          People

            cdutz Christofer Dutz
            MrWhy Bjoern Haverland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: