Skip to content

jruby-gradle plugin fails with a 9.1.3.0-SNAPSHOT #4114

@robertpanzer

Description

@robertpanzer

Environment

JRuby 9.1.3.0-SNAPSHOT (999cea0)
MacOS and Windows
Java 1.8.0_91
Grade 2.14

Expected Behavior

The JRuby Gradle plugin should be able to install Ruby gems in the AsciidoctorJ build.

Actual Behavior

The build fails with this error:

:asciidoctorj:jrubyPrepare
[Fatal Error] erubis-2.7.0.pom:15:35: The content of elements must consist of well-formed character data or markup.
[Fatal Error] erubis-2.7.0.pom:15:35: The content of elements must consist of well-formed character data or markup.
Exception in thread "main" java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
        at org.jruby.RubyInstanceConfig.<init>(RubyInstanceConfig.java:84)
        at org.jruby.Main.<init>(Main.java:101)
        at org.jruby.Main.main(Main.java:200)
Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 3 more
:asciidoctorj:jrubyPrepare FAILED

It seems like the classes are missing in the 9.1.3.0-SNAPSHOT.
They are present in a jruby-core-9.1.2.0.jar but missing in jruby-core-9.1.3.0-SNAPSHOT.jar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions