You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
(<script>:12)
The Azure Service[Web App]'s detail as below:
Publish:code
Runtime stack:Java 17
Java web server stack:Java SE(Embedded Web Server)
Operating System:Windows
I have added the dependency in a Maven build file (pom.xml).How can I resolve this issue?
The text was updated successfully, but these errors were encountered:
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:
(<script>:12)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.
The Azure Service[Web App]'s detail as below:
Publish:code
Runtime stack:Java 17
Java web server stack:Java SE(Embedded Web Server)
Operating System:Windows
I have added the dependency in a Maven build file (pom.xml).How can I resolve this issue?
The text was updated successfully, but these errors were encountered: