Sometimes, some packages cannot be found through maven. For example, today I encountered Could not find artifact org.restlet.jee:org.restlet:jar:2.3.0 ,
At this time, it can be solved by the following methods:
1. You can find the official repo of restlet and add it to the pom of the project:
<repositories> <repository> <id>maven-restlet</id> <name>Public online Restlet repository</name> <url>http://maven.restlet.org</url> </repository> </repositories>
2. If an error is still reported, then go directly to the above url ( http://maven.restlet.org) to download and put it in the relevant directory of the maven repo.