0

enter image description here

Hi, I'm developing my own personal project to adjust my chances for getting first Java dev job as much higher as possible. I've run into weird issue, as you can see on the picture when I've started configuring Web layer and I'd to add few more dependencies everything went fine except one single dependency "javax.servlet:javax.servlet-api:4.0.1" . I'm very confused as I can't really find an issue as: IDE doesn't mark imports red - which means that IDE can see this module in dependencies(it will actually even highlight package in which it is when I do leave cursor above the import)/ Gradle- as you can see on the picture does show this module in dependencies as well.

Problem starts when I'm trying to build the project it will pop up with the message: error: module not found: javax.servlet.api requires javax.servlet.api;

Please Help anyone, I'm looking for answer on internet for last few hours but I can't even find any similar topics(I've only seen similar topics concerning Maven not Gradle but fix in that topic didn't help me at all) enter image description hereenter image description here

Well I've tried everything that came into my mind but I don't know even when to start because at first look everything seems to be on its place and how it meant to be, I've double checked that with projects based on which I've studied Spring Framework and I can't find the issue.

0 Answers0