0

In my gradle project, I am trying to bring up the application locally and getting below error :

Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.boot.web.servlet.support.SpringBootServletInitializer] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@73d16e93]

Caused by: java.lang.NoClassDefFoundError: jakarta/servlet/ServletContext

Versions used : Java 17 Springboot 3.1.3 Jakarta servlet 6.0.0

I looked up the compatible versions table, jakarta servlet above 4.x is compatible with spring 3.x Other version checks also done, but still the issue persists

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.