SPRING:HTTP://DOCS.SPRING.IO/DOWNLOADS/NIGHTLY/SNAPSHOT-DOWNLOAD.PHP?PROJECT=SPR;spring:http://repo.spring.io/release/org/springframework/spring/;mysql:http://mirrors.sohu.com/mysql/;hibernate:http://sourceforge.net/projects/hibernate/files/;struts:http://archive.apache.org/dist/struts/binaries/;tomcat:http://tomcat.apache.org/;Gradle:http://www.gradle.org/downloads;cas-server:http://developer.jasig.org/cas/;cas-client:http://developer.jasig.org/cas-clients/;Java Development Framework full
Network transmission problems between PC and Maven
Open the. M2 Local repository directory, through the search function of the win folder, find the *.lastupdated, and then delete all the found files
Re-Maven Update Project,
Tick on force Update of Snapshots/releases when operating in eclipse
If you add the-u parameter to the command-line operation
In general, the above method solves the problem. If the problem persists, verify that the network is unblocked between the h
MAVEN official Jar Package libraries is a foreign warehouse, download compare turtle speed, here recommended Alibaba Cloud Central warehouse:
Open the Conf/settings.xml under the MAVEN Local installation address, locate the
Also recommended two more good Maven center warehouse, easy to find:
1, http://mvnrepository.com/
2, http://maven.aliyun.com/nexus/
Multiple annotations found at the line:-Artifacttransferexception:failure to transfer COM.FASTERXML.JACKSON.CORE:JACKSON-DATABIND:JAR:2.9.0.PR3 from HTTP ://Repo1.maven.org/maven2 was cached in the local repository, resolution would not be reattempted until the update interval ofCentral have elapsed or updates are forced. Original error:could not transfer artifact com.fasterxml.jackson.core:jackson-DATABIND:JAR:2.9.0.PR3 from/to Central (HTTP://REPO1.MAVEN.ORG/MAVEN2): No response received after
the downloading Spring artifacts below, go in and find the SpringSource's super chain, Go in and then point artifacts page, then in the left list first simple Brower, the following process and the second step.First step: Open official website: http://www.springsource.org/download/community;Step Two: Click on the imageStep three: Click on the iconFourth step: Find the following link, click to enterFifth step: Find the following link again clickSixth s
If you need to download the jars instead of using a build system, create a Maven pom file like this with the desired versi OnThen execute:Mvn-f Download-zuul-pom.xml dependency:copy-dependenciesIt would download Zuul-core-*.jar and its dependencies into./target/dependency/.Maven pom.xml
The recent example of using Gradle to run some spring is particularly slow when downloading some jars because it is a foreign Maven repository that is visited.Open source China provides a domestic MAVEN library, so it can be set up in Gradle, providing access speed. In the Build.gradle file, add:Buildscript { repositories { "http://maven.oschina.net" } mavenlocal () mavencentral ( ) }}"Http://maven.oschina.net" is the address of the open source China Maven library.Conf
Create a folder under any directory, under which you create a pom.xml file, a bat batch script;
Select the bat batch script right-click Edit and copy the following: Call Mvn-f pom.xml dependency: Copy-dependencies@Pause
Pom.xml does not need to be as complex as the actual project, the example is as follows (XML version= "1.0"?>Projectxmlns= "http://maven.apache.org/POM/4.0.0"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "http://maven.apache.org/POM/4.0.0 http://ma
Many files on the web use Lein to compile storm source, but I downloaded the version apache-storm-0.9.2-incubating not lein project files, but there is pom.xml, you can use Maven compile.Execution at the top of the Storm project: MVN package-dskiptests=trueErrors may be encountered as described below (jackson-core-2.0.6 is just an example ):Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process (default) on Project Storm : Failed To resolve dependencies for o
Speed up jar package download in maven, mavenjar
The default repository for downloading jar packages by maven is http://my.repository.com/repo/pathat a slower speed. The download speed can be improved by configuring the mirror image.
1. Open eclipse ---> Window ---> Preferences ---> select User Settings under Maven and
1, Configuration M2_home/conf/settions.xmlServer> ID>Maven-publicID> username>Adminusername> Password>Admin123Password>Server>Mirror> ID>Maven-publicID> mirrorof>Maven-publicmirrorof> name>Maven-publicname> URL>http://127.0.0.1:8081/repository/maven-public/URL>Mirror>2. Configure the pom.xml of the project that needs to download the jar packageProjectxmlns= "http://maven.apache.org/POM/
Background: On eclipse, sometimes want to see the existing project to use the third-party jar source code, the mouse moved to the method, press "Ctrl + Left", jump hint "source not found".Steps to resolve:1. On Eclipse "window"--"Preferences"--"Maven", check "Download Artifact Sources", "Download Artifact JavaDoc".2, in the project pom.xml--> right-->run as-->mav
JSP file download (jar package is not used)
Java code:
Public class Download extends HttpServlet {public Download () {super ();} public void destroy () {super. destroy (); // Just puts destroy string in log // Put your code here} public void doGet (HttpServletRequest request, HttpServletResponse response) throws Servl
Now http://repo.spring.io/release/org/springframework/spring/The first kind, simple and rude direct
1
http://repo.springsource.org/libs-release-local/org/springframework/spring/3.2.4.RELEASE/spring-framework-3.2.4.RELEASE-dist.zip
Stick directly to the Address bar or download tool, each time there is an update as long as the version number can be;The second Kind
1
http://repo.springsource.org/libs-r
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.