Back to Threads
Avatar
Jan 23

SpringBoot Nightmare: I Couldn't Find `SpringBootRequestHandler`! (Solved) - OpenSIPS Trunking Solutions

Overview

I have implemented a simple aws lambda application with spring cloud function. Read also: The Slayeas Leak: A Whistleblower's Explosive Claims You Need To Hear

SpringBoot Nightmare: I Couldn't Find `SpringBootRequestHandler`! (Solved) - OpenSIPS Trunking Solutions

When i create labmda function and send the request in aws then the following error has.

SpringBoot Nightmare: I Couldn't Find `SpringBootRequestHandler`! (Solved) - OpenSIPS Trunking Solutions

We found that springbootrequesthandler is deprecated and we tried other ways like requesthandler but still @autowired is coming as null. Read also: Unidentified Ginger Leak: Prepare For A Mind-Blowing Revelation

I just started to learn spring boot, the first program helloworld encountered the problem that the annotations of @restcontroller and @requestmapping (/hello) would report.

By default, the dispatcherservlet does not throw a nohandlerfoundexception.

You need to enable that:

I was learning spring boot and created a boilerplate code with start. spring. io.

However, when i tried to run the app on intellij, i received this error:

Could not find or.

Class org. springframework. cloud. function. adapter. aws. springbootrequesthandler does not.

I am trying to build a spring cloud function project and deploy to aws lambda with serverless framework.

I am using kotlin.

I took configuration/pom from various projects i have.

But every time i run it i get this error: Read also: Craigslist Lincoln Listing: The Clues You've Been Missing

That error is regarding these.

Here is how to replace the deprecated springbootrequesthandler using spring cloud 3. x

Hello, i have an custom springbootrequesthandler, but it doesnt get invoked when testing with postman. whereas my function gets invoced properly.