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
// build.gradle
ext {
set "tomcat.version", "8.5.5"
}
./gradlew assemble
cd build/libs
java -Dgrails.env=development -jar myapp-0.1.war
http://localhost:8080/console
Expected Behaviour
plugin view should be rendered correctly
Actual Behaviour
Error 500: Internal Server Error
URI
/console/index
Class
javax.servlet.ServletException
Message
Could not resolve view with name '/console/index' in servlet with name 'grailsDispatcherServlet'
Line | Method
->> 1237 | render in org.springframework.web.servlet.DispatcherServlet
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1037 | processDispatchResult in ''
| 980 | doDispatch . . . . . in ''
| 897 | doService in ''
| 970 | processRequest . . . in org.springframework.web.servlet.FrameworkServlet
| 861 | doGet in ''
| 622 | service . . . . . . . in javax.servlet.http.HttpServlet
| 846 | service in org.springframework.web.servlet.FrameworkServlet
| 729 | service . . . . . . . in javax.servlet.http.HttpServlet
| 230 | internalDoFilter in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter . . . . . . in ''
| 52 | doFilter in org.apache.tomcat.websocket.server.WsFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 55 | doFilterInternal . . in org.springframework.boot.web.filter.ApplicationContextHeaderFilter
| 107 | doFilter in org.springframework.web.filter.OncePerRequestFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 105 | doFilterInternal . . in org.springframework.boot.actuate.trace.WebRequestTraceFilter
| 107 | doFilter in org.springframework.web.filter.OncePerRequestFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 77 | doFilterInternal . . in org.grails.web.servlet.mvc.GrailsWebRequestFilter
| 107 | doFilter in org.springframework.web.filter.OncePerRequestFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 67 | doFilterInternal . . in org.grails.web.filters.HiddenHttpMethodFilter
| 107 | doFilter in org.springframework.web.filter.OncePerRequestFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 197 | doFilterInternal . . in org.springframework.web.filter.CharacterEncodingFilter
| 107 | doFilter in org.springframework.web.filter.OncePerRequestFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 96 | doFilterInternal . . in org.springframework.web.filter.CorsFilter
| 107 | doFilter in org.springframework.web.filter.OncePerRequestFilter
| 192 | internalDoFilter . . in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter in ''
| 107 | doFilterInternal . . in org.springframework.boot.actuate.autoconfigure.MetricsFilter
| 192 | internalDoFilter in org.apache.catalina.core.ApplicationFilterChain
| 165 | doFilter . . . . . . in ''
| 198 | invoke in org.apache.catalina.core.StandardWrapperValve
| 108 | invoke . . . . . . . in org.apache.catalina.core.StandardContextValve
| 472 | invoke in org.apache.catalina.authenticator.AuthenticatorBase
| 140 | invoke . . . . . . . in org.apache.catalina.core.StandardHostValve
| 79 | invoke in org.apache.catalina.valves.ErrorReportValve
| 87 | invoke . . . . . . . in org.apache.catalina.core.StandardEngineValve
| 349 | service in org.apache.catalina.connector.CoyoteAdapter
| 784 | service . . . . . . . in org.apache.coyote.http11.Http11Processor
| 66 | process in org.apache.coyote.AbstractProcessorLight
| 802 | process . . . . . . . in org.apache.coyote.AbstractProtocol$ConnectionHandler
| 1410 | doRun in org.apache.tomcat.util.net.NioEndpoint$SocketProcessor
| 49 | run . . . . . . . . . in org.apache.tomcat.util.net.SocketProcessorBase
| -1 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 61 | run . . . . . . . . . in org.apache.tomcat.util.threads.TaskThread$WrappingRunnable
^ -1 | run in java.lang.Thread
same error with inline plugins packaged into as jars into the main app war file.
i applied the workaround pinning tomcat to 8.5.5 - see op. still saw this behavior. did it work for you after upgrading to boot-1.4.4? if so, i am fine with waiting for 3.2.5 ofc.
Uh oh!
There was an error while loading. Please reload this page.
Task List
Steps to Reproduce
./gradlew assemble
cd build/libs
java -Dgrails.env=development -jar myapp-0.1.war
http://localhost:8080/console
Expected Behaviour
plugin view should be rendered correctly
Actual Behaviour
same error with inline plugins packaged into as jars into the main app war file.
Environment Information
Example Application
misc
The text was updated successfully, but these errors were encountered: