Quantcast
Channel: Active questions tagged servlets - Stack Overflow
Viewing all articles
Browse latest Browse all 675

Package jakarta.servlet is not visible [closed]

$
0
0

I see this message[ERROR] /C:/.../src/main/java/com/.../CompanyCodeAuthorisedFilter.java:[17,23] package jakarta.servlet.http is not visible [ERROR] (package jakarta.servlet.http is declared in the unnamed module, but module com.... does not read it)when I runmvn compilein my Spring Boot project.So I tried to add thisrequires jakarta.servlet;to my module-info.java file but it is in RED and it does not compile.Anyone knows why is that?

I triedmvn compileand expected it to compile.


Viewing all articles
Browse latest Browse all 675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>