"There have been a lot of blogs that have been written about, please visit other bloggers for details." This is just a record of the new time when the problem to help the novice, because I and my colleagues have met, because not recorded, and spent time to find problems, and the Internet seems to be not many, so record down, hope to help other small partners.1, new Maven project.2. If there is no package for the project, click Add
Depressed for two days, when creating a MAVEN project, eclipse Error: Could not resolve artifact Org.apache.maven.archetypes:maven-archetype-webapp, details such as:The causes of such errors are divided into the following two types:1, Catalog related types are missing; 2. The IDE failed to download the relevant jar package completely.The solutions for both of these reasons are as follows: 1. Configure Catal
Create a Web project using the Eclipse's own maven plugin error:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:release from any of the configured Repositories.Could not resolve artifact Org.apache.maven.archetypes:maven-archetype-webapp:pom:releaseFailed to resolve version for org.apache
Maveneclipse TestI use a proxy to surf the internet. The following error in creating the Maven times:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:release from any of the configured Repositories.Workaround: First find Config/settting.xml to add proxy information----------This is the focus:Then re-create the
The error when creating a project with Eclipse today is as follows:Solution:1. Download the latest version of Maven-archetype-quickstart-1.1.jar2. command line to download directory execution mvn install:install-file-dgroupid=org.apache.maven.archetypes-dartifactid= Maven-archetype-quickstart-dversion=1.1-dpackaging=ja
Use the Maven Archetype plug-in to build a Maven project prototype template, archetypemaven
Create a prototype Template
1. Run the command archetype: generate in an empty directory. After downloading the necessary jar package, enter the built-in Prototype number;
1 Choose archetyp
Problem Description:
Create a Web project times by using the Maven plug-in from Eclipse:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:release from any of the configured Repositories.Could not resolve artifact Org.apache.maven.archetypes:maven-archetype-webapp:pom:releaseFailed to resol
Problem Description:
Create a Web project using the Eclipse's own maven plugin error:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:release from any of the configured Repositories.Could not resolve artifact Org.apache.maven.archetypes:maven-archetype-webapp:pom:releaseFailed to resolve
When using Maven to create a project module, the directory created by default archetype template, and the default Unit test tool for JUnit 3.8.1, and some commonly used resource files directory, configuration file (for example: log4j configuration file, Web page development commonly used template file style files, etc. need to be created manually, copy, then how to customize a suitable for their own habits
Problem:
Eclipse installed M2eclipse When the project was created after the error:
Unable to create project from archetype Org.apache.maven.archetypes:maven-archetype-quickstart:release
Workaround: Open Window > Preferences open Maven > Archetypes Click ' Add Remote Catalog ' and add the Following:catalog Fi Le:http://repo1.maven.org/maven2/
Anyone who has studied Maven knows that using the MyEclipse Maven plugin to build a skeleton of the project, such as Maven-archetype-quickstart, is one of the most common.
When the skeleton was first used, it felt good, reduced duplication of effort and improved development efficiency. With a long time to use, you wil
When you create a new MAVEN project item, you need to select archetype.
So, what is archetype.
Archetype means that the template prototype is meant to be a MAVEN project template toolkit. A prototype is defined from which all other things of the same type are made up of an o
Problem:Eclipse installed M2eclipse When the project was created after the error: from any of the configured repositories.Workaround:Step One:Download the latest version from http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-quickstart/ Maven-
What is Maven archetype? Simply put, it is the basic template of a Maven project. With this template, we can quickly create a new project of this type, and also build our own Project Skeleton.The Archetype function provided by Maven is implemented by the plug-in
The first two days of reloading the system, today to write a project, there are some problems.When you created a MAVEN Web project using Eclipse, you reported the issue of could not resolve archetype after the point was finished.
Could not resolve archetypeorg.apache.maven.archetypes:maven-archetype-webapp:1.0From any of the configured repositories.Could not
You can create your own archetype in either of the following ways: Create from project1First, use eclipse to create a new Maven project, and then put the configured public items under the corresponding directoryFor example, some common Java code will be stored under the src/main/Java directory;Some common configuration files will be put under the src/main/Resources Directory;
For the javeee project, some JS
When using eclipse + m2e plug-in to create a Maven project, too few archetype are found.
Http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html
The Arche
Problem:Eclipse installed M2eclipse When the project was created after the error:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:release from any of the configured Repositories.
Workaround:
Step One:From http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven
Maven archetype generates a custom project prototype (Template) and mavenarchetype
Maven archetype can create a project as a project prototype. Then, you only need to create a project using this prototype. Then, the initial project has all the configurations and code in the prototype project. generally speaking, it is
Many of them are functional project prototype/Skeleton Generation tools, but in the end, Maven archetypes with simple functions gradually have a unified hope.
Without it, you can easily clean up yourself and use it as an "official" younger brother of Maven, and then there are some other Jianghu bosses (appfuse, strust2, cxf) the example is the top-level tips.
Like many generation tools,
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.