Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asciidoctorj stopped working with Spring Boot 2 #666

Closed
cancerian0684 opened this issue Jul 18, 2018 · 2 comments
Closed

Asciidoctorj stopped working with Spring Boot 2 #666

cancerian0684 opened this issue Jul 18, 2018 · 2 comments

Comments

@cancerian0684
Copy link

Hi Team, After I migrated my current project to Spring Boot 2.0.3 from 1.5.14, Asciidoctorj stopped working with the below error:

Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:959)
        at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
        at RUBY.<main>(<script>:15)

Below is my build.gradle file

bootJar {
    launchScript()
    mainClassName = "com.javablog.App"
    requiresUnpack 'org.jruby:jruby-complete', 'org.asciidoctor:asciidoctorj', 'org.asciidoctor:asciidoctorj-pdf'
}

dependencies {
      compile('org.springframework.boot:spring-boot-starter-web') {
     compile('org.asciidoctor:asciidoctorj:1.5.7')
}
@mojavelinux
Copy link
Member

Could this be the same as #647?

@abelsromero
Copy link
Member

We could close it now that we have a test for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants