Can't get Spring to work from Maven

Answered

I just been importing all the Spring libraries directly from the Project Structure.

But I was wondering, what's the correct way to import the Spring Framework 5 from Maven?

I made a simple Java project and I didn't use the Maven project template (this was on purpose), then I went ahead to:

Project Structure > Libraries > New > From Maven...

It imported a bunch of stuff, however, it is not working and I don't know why, what am I doing wrong?

example, it doesn't find ClassPathXmlApplicationContext

Please help me, thank you

0
1 comment
Avatar
Permanently deleted user

Just noticed my mistake, I wasn't importing the needed libraries, I noticed the context library from here

https://mvnrepository.com/tags/spring

 

:)

 

0

Please sign in to leave a comment.