Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10552

oak-solr-osgi fails on Java 17

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.60.0
    • indexing
    • None

    Description

      [ERROR] Manifest org.apache.jackrabbit:oak-solr-osgi:bundle:1.59-SNAPSHOT : Got unexpected exception while analyzing:org.apache.felix.scrplugin.SCRDescriptorException: Unable to scan class files: com.fasterxml.jackson.core.io.doubleparser.FastDoubleSwar (Class file format probably not supported by ASM ?)
          at org.apache.felix.scrplugin.helper.ClassScanner.processClass(ClassScanner.java:229)
          at org.apache.felix.scrplugin.helper.ClassScanner.process(ClassScanner.java:169)
          at org.apache.felix.scrplugin.helper.ClassScanner.scanSources(ClassScanner.java:146)
          at org.apache.felix.scrplugin.SCRDescriptorGenerator.execute(SCRDescriptorGenerator.java:146)
          at org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin.analyzeJar(SCRDescriptorBndPlugin.java:179)
          at aQute.bnd.osgi.Analyzer.doPlugins(Analyzer.java:992)
          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:208)
          at aQute.bnd.osgi.Builder.analyze(Builder.java:444)
          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:1035)
          at aQute.bnd.osgi.Builder.build(Builder.java:127)
          at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:321)
          at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:125)
          at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:380)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:342)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:330)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:175)
          at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:76)
          at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:163)
          at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:160)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:827)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:272)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:195)
          at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
          at java.base/java.lang.reflect.Method.invoke(Method.java:580)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 63
          at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
          at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
          at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
          at org.objectweb.asm.ClassReader.<init>(ClassReader.java:283)
          at org.apache.felix.scrplugin.helper.ClassScanner.processClass(ClassScanner.java:209)
          ... 37 more 

      Attachments

        Issue Links

          Activity

            People

              fortino Fabrizio Fortino
              fortino Fabrizio Fortino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: