Error in creating Maven project in Intellij (Linux - VM)How can I permanently enable line numbers in IntelliJ?Create ArrayList from arrayHow can I create an executable JAR with dependencies using Maven?Creating a memory leak with JavaCreate a Wicket Quickstart mavenRESOLVE Maven Failed to retrieve plugin descriptor and Build FailurePermission denied creating a Maven Enterprise Application on Netbeans on LinuxCreate a Project from Maven in commandHow to add virtual-host and how to change context root WAS DEV MavenCreating Vaadin 6 maven project
How do I extrude a face to a single vertex
Indicating multiple different modes of speech (fantasy language or telepathy)
Longest common substring in linear time
Why has "pence" been used in this sentence, not "pences"?
How should I respond when I lied about my education and the company finds out through background check?
Why did the EU agree to delay the Brexit deadline?
What linear sensor for a keyboard?
Can I rely on this github repository files?
Can somebody explain Brexit in a few child-proof sentences?
Is it improper etiquette to ask your opponent what his/her rating is before the game?
Could solar power be utilized and substitute coal in the 19th Century
Bob has never been a M before
Have I saved too much for retirement so far?
Why do IPv6 unique local addresses have to have a /48 prefix?
How to align and center standalone amsmath equations?
Is camera lens focus an exact point or a range?
How will losing mobility of one hand affect my career as a programmer?
Do Legal Documents Require Signing In Standard Pen Colors?
Can a significant change in incentives void an employment contract?
Is there a word to describe the feeling of being transfixed out of horror?
Varistor? Purpose and principle
Open a doc from terminal, but not by its name
What is the grammatical term for “‑ed” words like these?
Should I install hardwood flooring or cabinets first?
Error in creating Maven project in Intellij (Linux - VM)
How can I permanently enable line numbers in IntelliJ?Create ArrayList from arrayHow can I create an executable JAR with dependencies using Maven?Creating a memory leak with JavaCreate a Wicket Quickstart mavenRESOLVE Maven Failed to retrieve plugin descriptor and Build FailurePermission denied creating a Maven Enterprise Application on Netbeans on LinuxCreate a Project from Maven in commandHow to add virtual-host and how to change context root WAS DEV MavenCreating Vaadin 6 maven project
I was trying to create a Maven project in Intellij in Linux 16. It keeps throwing me an error. Trying the solutions available on the net but nothing worked.
This is the error I am getting:
/usr/lib/jvm/java-7-oracle-cloudera/bin/java
-Dmaven.multiModuleProjectDirectory=/tmp/archetypetmp
-Dmaven.multiModuleProjectDirectory -Dmaven.home=/usr/share/maven
-Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dfile.encoding=UTF-8
-classpath /usr/share/maven/boot/plexus-classworlds-2.x.jar
org.codehaus.classworlds.Launcher -Didea.version=2018.3.5
-DinteractiveMode=false -DgroupId=com.test.java "-DartifactId=Java Proj"
-Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-
plugin:RELEASE:generate
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins
/maven-archetype-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-
archetype-plugin/maven-metadata.xml from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.460 s
[INFO] Finished at: 2019-03-08T01:41:55-05:00
[INFO] Final Memory: 7M/146M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or
one of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-archetype-
plugin:jar:RELEASE: Failed to resolve version for
org.apache.maven.plugins:maven-archetype-plugin:jar:RELEASE: Could not
find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-
metadata.xml in local (/home/vishnu/.m2/repository) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN
/PluginResolutionException
[ERROR] Maven execution terminated abnormally (exit code 1)
java maven intellij-idea
add a comment |
I was trying to create a Maven project in Intellij in Linux 16. It keeps throwing me an error. Trying the solutions available on the net but nothing worked.
This is the error I am getting:
/usr/lib/jvm/java-7-oracle-cloudera/bin/java
-Dmaven.multiModuleProjectDirectory=/tmp/archetypetmp
-Dmaven.multiModuleProjectDirectory -Dmaven.home=/usr/share/maven
-Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dfile.encoding=UTF-8
-classpath /usr/share/maven/boot/plexus-classworlds-2.x.jar
org.codehaus.classworlds.Launcher -Didea.version=2018.3.5
-DinteractiveMode=false -DgroupId=com.test.java "-DartifactId=Java Proj"
-Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-
plugin:RELEASE:generate
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins
/maven-archetype-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-
archetype-plugin/maven-metadata.xml from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.460 s
[INFO] Finished at: 2019-03-08T01:41:55-05:00
[INFO] Final Memory: 7M/146M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or
one of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-archetype-
plugin:jar:RELEASE: Failed to resolve version for
org.apache.maven.plugins:maven-archetype-plugin:jar:RELEASE: Could not
find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-
metadata.xml in local (/home/vishnu/.m2/repository) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN
/PluginResolutionException
[ERROR] Maven execution terminated abnormally (exit code 1)
java maven intellij-idea
1
What maven command leads to this error? What does your pom.xml look like?
– Ruslan
Mar 8 at 7:27
Thanks Ruslan. I have posted the answer below.
– Rookie Programmer
Mar 8 at 7:38
The Intellij does not choose the jre by default in the runner settings.
– Rookie Programmer
Mar 8 at 7:38
To use central repository with Java 7 you need to define-Dhttps.protocols=TLSv1.2
cause Central has changed that a longer time ago...
– khmarbaise
Mar 8 at 11:47
add a comment |
I was trying to create a Maven project in Intellij in Linux 16. It keeps throwing me an error. Trying the solutions available on the net but nothing worked.
This is the error I am getting:
/usr/lib/jvm/java-7-oracle-cloudera/bin/java
-Dmaven.multiModuleProjectDirectory=/tmp/archetypetmp
-Dmaven.multiModuleProjectDirectory -Dmaven.home=/usr/share/maven
-Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dfile.encoding=UTF-8
-classpath /usr/share/maven/boot/plexus-classworlds-2.x.jar
org.codehaus.classworlds.Launcher -Didea.version=2018.3.5
-DinteractiveMode=false -DgroupId=com.test.java "-DartifactId=Java Proj"
-Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-
plugin:RELEASE:generate
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins
/maven-archetype-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-
archetype-plugin/maven-metadata.xml from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.460 s
[INFO] Finished at: 2019-03-08T01:41:55-05:00
[INFO] Final Memory: 7M/146M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or
one of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-archetype-
plugin:jar:RELEASE: Failed to resolve version for
org.apache.maven.plugins:maven-archetype-plugin:jar:RELEASE: Could not
find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-
metadata.xml in local (/home/vishnu/.m2/repository) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN
/PluginResolutionException
[ERROR] Maven execution terminated abnormally (exit code 1)
java maven intellij-idea
I was trying to create a Maven project in Intellij in Linux 16. It keeps throwing me an error. Trying the solutions available on the net but nothing worked.
This is the error I am getting:
/usr/lib/jvm/java-7-oracle-cloudera/bin/java
-Dmaven.multiModuleProjectDirectory=/tmp/archetypetmp
-Dmaven.multiModuleProjectDirectory -Dmaven.home=/usr/share/maven
-Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dfile.encoding=UTF-8
-classpath /usr/share/maven/boot/plexus-classworlds-2.x.jar
org.codehaus.classworlds.Launcher -Didea.version=2018.3.5
-DinteractiveMode=false -DgroupId=com.test.java "-DartifactId=Java Proj"
-Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-
plugin:RELEASE:generate
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins
/maven-archetype-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-
archetype-plugin/maven-metadata.xml from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.460 s
[INFO] Finished at: 2019-03-08T01:41:55-05:00
[INFO] Final Memory: 7M/146M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or
one of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-archetype-
plugin:jar:RELEASE: Failed to resolve version for
org.apache.maven.plugins:maven-archetype-plugin:jar:RELEASE: Could not
find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-
metadata.xml in local (/home/vishnu/.m2/repository) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN
/PluginResolutionException
[ERROR] Maven execution terminated abnormally (exit code 1)
java maven intellij-idea
java maven intellij-idea
edited Mar 8 at 17:57
halfer
14.7k759116
14.7k759116
asked Mar 8 at 7:11
Rookie ProgrammerRookie Programmer
162
162
1
What maven command leads to this error? What does your pom.xml look like?
– Ruslan
Mar 8 at 7:27
Thanks Ruslan. I have posted the answer below.
– Rookie Programmer
Mar 8 at 7:38
The Intellij does not choose the jre by default in the runner settings.
– Rookie Programmer
Mar 8 at 7:38
To use central repository with Java 7 you need to define-Dhttps.protocols=TLSv1.2
cause Central has changed that a longer time ago...
– khmarbaise
Mar 8 at 11:47
add a comment |
1
What maven command leads to this error? What does your pom.xml look like?
– Ruslan
Mar 8 at 7:27
Thanks Ruslan. I have posted the answer below.
– Rookie Programmer
Mar 8 at 7:38
The Intellij does not choose the jre by default in the runner settings.
– Rookie Programmer
Mar 8 at 7:38
To use central repository with Java 7 you need to define-Dhttps.protocols=TLSv1.2
cause Central has changed that a longer time ago...
– khmarbaise
Mar 8 at 11:47
1
1
What maven command leads to this error? What does your pom.xml look like?
– Ruslan
Mar 8 at 7:27
What maven command leads to this error? What does your pom.xml look like?
– Ruslan
Mar 8 at 7:27
Thanks Ruslan. I have posted the answer below.
– Rookie Programmer
Mar 8 at 7:38
Thanks Ruslan. I have posted the answer below.
– Rookie Programmer
Mar 8 at 7:38
The Intellij does not choose the jre by default in the runner settings.
– Rookie Programmer
Mar 8 at 7:38
The Intellij does not choose the jre by default in the runner settings.
– Rookie Programmer
Mar 8 at 7:38
To use central repository with Java 7 you need to define
-Dhttps.protocols=TLSv1.2
cause Central has changed that a longer time ago...– khmarbaise
Mar 8 at 11:47
To use central repository with Java 7 you need to define
-Dhttps.protocols=TLSv1.2
cause Central has changed that a longer time ago...– khmarbaise
Mar 8 at 11:47
add a comment |
1 Answer
1
active
oldest
votes
Okay, so I solved it. I did not change the JRE, so just dont forget the JRE. Posting the answer so that it will be useful for somebody in the future. Attaching an image for reference.
Also use this for the VM options.
-Dmaven.multiModuleProjectDirectory
Snapshot of the solution
That is not the problem..
– khmarbaise
Mar 8 at 11:46
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f55058392%2ferror-in-creating-maven-project-in-intellij-linux-vm%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Okay, so I solved it. I did not change the JRE, so just dont forget the JRE. Posting the answer so that it will be useful for somebody in the future. Attaching an image for reference.
Also use this for the VM options.
-Dmaven.multiModuleProjectDirectory
Snapshot of the solution
That is not the problem..
– khmarbaise
Mar 8 at 11:46
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
add a comment |
Okay, so I solved it. I did not change the JRE, so just dont forget the JRE. Posting the answer so that it will be useful for somebody in the future. Attaching an image for reference.
Also use this for the VM options.
-Dmaven.multiModuleProjectDirectory
Snapshot of the solution
That is not the problem..
– khmarbaise
Mar 8 at 11:46
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
add a comment |
Okay, so I solved it. I did not change the JRE, so just dont forget the JRE. Posting the answer so that it will be useful for somebody in the future. Attaching an image for reference.
Also use this for the VM options.
-Dmaven.multiModuleProjectDirectory
Snapshot of the solution
Okay, so I solved it. I did not change the JRE, so just dont forget the JRE. Posting the answer so that it will be useful for somebody in the future. Attaching an image for reference.
Also use this for the VM options.
-Dmaven.multiModuleProjectDirectory
Snapshot of the solution
answered Mar 8 at 7:37
Rookie ProgrammerRookie Programmer
162
162
That is not the problem..
– khmarbaise
Mar 8 at 11:46
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
add a comment |
That is not the problem..
– khmarbaise
Mar 8 at 11:46
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
That is not the problem..
– khmarbaise
Mar 8 at 11:46
That is not the problem..
– khmarbaise
Mar 8 at 11:46
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
But it worked for me.
– Rookie Programmer
Mar 8 at 23:37
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.
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%2f55058392%2ferror-in-creating-maven-project-in-intellij-linux-vm%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
What maven command leads to this error? What does your pom.xml look like?
– Ruslan
Mar 8 at 7:27
Thanks Ruslan. I have posted the answer below.
– Rookie Programmer
Mar 8 at 7:38
The Intellij does not choose the jre by default in the runner settings.
– Rookie Programmer
Mar 8 at 7:38
To use central repository with Java 7 you need to define
-Dhttps.protocols=TLSv1.2
cause Central has changed that a longer time ago...– khmarbaise
Mar 8 at 11:47