At the beginning of learning JAVA, not really understand, when the idea configuration maven project, Maven import shows that this is not introduced jar package? How to do, made for a long time, SSM has been unable to run, hey
It seems that there is something wrong with creating the project. You can recreate the project by clicking on the following figure. It is better to use the local installation.
Another is that you change the address of your local installed Maven warehouse as follows:
I use Ali cloud:
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>
When it comes to this exotic problem, it’s all kinds of doubts, all kinds of attempts, all kinds of unconventional methods, and if you can’t do that, you’ll have to delete your local one.
MavenWarehouse, create new projects;