I'm currently managing my project code using Maven sub - modules. There are two sub - modules, sr - api and sr - common. The top - level module is responsible for centrally managing module dependencies. Now, when I try to add the spring - jdbc dependency to the sr - api sub - module, I'm getting an error. Also, the parent pom doesn't seem to recognize the Spring project. I've attached a picture with detailed information.
Could someone help me figure out what's going wrong?

I'm currently managing my project code using Maven sub - modules. There are two sub - modules,
sr - apiandsr - common. The top - level module is responsible for centrally managing module dependencies. Now, when I try to add thespring - jdbcdependency to thesr - apisub - module, I'm getting an error. Also, the parentpomdoesn't seem to recognize the Spring project. I've attached a picture with detailed information.Could someone help me figure out what's going wrong?