Maven Dependencies taking too long to download
up vote
-5
down vote
favorite
my spring boot project creation takes more than 3 hours just to download dependencies, for example Web, Devtools and JPA.
I am using intellij and using
http://start.spring.io/
what could be the cause of failing to download such small sized dependencies
java maven spring-boot
add a comment |
up vote
-5
down vote
favorite
my spring boot project creation takes more than 3 hours just to download dependencies, for example Web, Devtools and JPA.
I am using intellij and using
http://start.spring.io/
what could be the cause of failing to download such small sized dependencies
java maven spring-boot
1
Maybe include a result from speedtest.net to show whether or not it's network related. Would also help to include some download logs
– Markoorn
Nov 8 at 9:28
1
Maybe network Problems or unreachable repositories, try mvn -X ... to see debug informations
– Jens
Nov 8 at 9:29
add a comment |
up vote
-5
down vote
favorite
up vote
-5
down vote
favorite
my spring boot project creation takes more than 3 hours just to download dependencies, for example Web, Devtools and JPA.
I am using intellij and using
http://start.spring.io/
what could be the cause of failing to download such small sized dependencies
java maven spring-boot
my spring boot project creation takes more than 3 hours just to download dependencies, for example Web, Devtools and JPA.
I am using intellij and using
http://start.spring.io/
what could be the cause of failing to download such small sized dependencies
java maven spring-boot
java maven spring-boot
asked Nov 8 at 9:26
Tapiwanashe Shoshore
64
64
1
Maybe include a result from speedtest.net to show whether or not it's network related. Would also help to include some download logs
– Markoorn
Nov 8 at 9:28
1
Maybe network Problems or unreachable repositories, try mvn -X ... to see debug informations
– Jens
Nov 8 at 9:29
add a comment |
1
Maybe include a result from speedtest.net to show whether or not it's network related. Would also help to include some download logs
– Markoorn
Nov 8 at 9:28
1
Maybe network Problems or unreachable repositories, try mvn -X ... to see debug informations
– Jens
Nov 8 at 9:29
1
1
Maybe include a result from speedtest.net to show whether or not it's network related. Would also help to include some download logs
– Markoorn
Nov 8 at 9:28
Maybe include a result from speedtest.net to show whether or not it's network related. Would also help to include some download logs
– Markoorn
Nov 8 at 9:28
1
1
Maybe network Problems or unreachable repositories, try mvn -X ... to see debug informations
– Jens
Nov 8 at 9:29
Maybe network Problems or unreachable repositories, try mvn -X ... to see debug informations
– Jens
Nov 8 at 9:29
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
I had this problem myself.
It was because my maven repo was on a network drive while the application I was building was on a local drive.
When I moved the repo to the local drive it fixed the issue.
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
add a comment |
up vote
0
down vote
accepted
i have realised the problem was that i had allocated a smaller memory to Intellij
go to On the Help menu, click Edit Custom VM Options. and edit the Xmx 8224 means 8Gb allocated to intellij
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I had this problem myself.
It was because my maven repo was on a network drive while the application I was building was on a local drive.
When I moved the repo to the local drive it fixed the issue.
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
add a comment |
up vote
0
down vote
I had this problem myself.
It was because my maven repo was on a network drive while the application I was building was on a local drive.
When I moved the repo to the local drive it fixed the issue.
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
add a comment |
up vote
0
down vote
up vote
0
down vote
I had this problem myself.
It was because my maven repo was on a network drive while the application I was building was on a local drive.
When I moved the repo to the local drive it fixed the issue.
I had this problem myself.
It was because my maven repo was on a network drive while the application I was building was on a local drive.
When I moved the repo to the local drive it fixed the issue.
answered Nov 8 at 10:36
Spinners
14
14
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
add a comment |
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
You mean the local cache? meaning $HOME/.m2/repository on a network drive? Yes this will explain a lot...
– khmarbaise
Nov 8 at 19:06
add a comment |
up vote
0
down vote
accepted
i have realised the problem was that i had allocated a smaller memory to Intellij
go to On the Help menu, click Edit Custom VM Options. and edit the Xmx 8224 means 8Gb allocated to intellij
add a comment |
up vote
0
down vote
accepted
i have realised the problem was that i had allocated a smaller memory to Intellij
go to On the Help menu, click Edit Custom VM Options. and edit the Xmx 8224 means 8Gb allocated to intellij
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
i have realised the problem was that i had allocated a smaller memory to Intellij
go to On the Help menu, click Edit Custom VM Options. and edit the Xmx 8224 means 8Gb allocated to intellij
i have realised the problem was that i had allocated a smaller memory to Intellij
go to On the Help menu, click Edit Custom VM Options. and edit the Xmx 8224 means 8Gb allocated to intellij
answered Nov 16 at 9:47
Tapiwanashe Shoshore
64
64
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204786%2fmaven-dependencies-taking-too-long-to-download%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Maybe include a result from speedtest.net to show whether or not it's network related. Would also help to include some download logs
– Markoorn
Nov 8 at 9:28
1
Maybe network Problems or unreachable repositories, try mvn -X ... to see debug informations
– Jens
Nov 8 at 9:29