asciidoctor / asciidoctorj

:coffee: Java bindings for Asciidoctor. Asciidoctor on the JVM!
http://asciidoctor.org
Apache License 2.0
617 stars 172 forks source link

An error occurred when creating an instance of 'asciidoctor' while running the program on Azure Service[Web App]. #1263

Closed RunningSine closed 4 months ago

RunningSine commented 4 months ago

I developed a simple API application using Spring Boot, which handles AsciiDoc formatted content and converts it to HTML format. During local debugging, I can successfully access the API using Postman and receive the correct results. However, when I deploy this application as a *.jar file to Azure Service[Web App] and call the remote program using Postman, I encounter the following error: org.jruby.exceptions.LoadError: (LoadError) no such file to load -- asciidoctor at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85) at RUBY.

( Githubissues.
  • Githubissues is a development platform for aggregating issues.