This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jan 10, 2019 12:58:47 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent | |
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib | |
Jan 10, 2019 12:58:47 AM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["http-bio-8443"] | |
Jan 10, 2019 12:58:47 AM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["ajp-bio-8009"] | |
Jan 10, 2019 12:58:47 AM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 337 ms | |
Jan 10, 2019 12:58:47 AM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Catalina |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomErrorWebExceptionHandler : AbstractErrorWebExceptionHandler() { | |
// Define constructor here | |
override fun getRoutingFunction(errorAttributes: ErrorAttributes): RouterFunction<ServerResponse> { | |
return RouterFunctions | |
.route<ServerResponse>(aPredicate, aHandler) | |
// .andRoute(anotherPredicate, anotherHandler) | |
.filter { request, next -> |