In the previous article, how to use idea to create a MAVEN project: http://www.cnblogs.com/lay2017/p/8468510.html, this article will use the previous build of the MAVEN projectLet's take a look at how to convert a MAVEN project to a Java Web projectFirst we'll adjust the
configuration interface, as shown above;
then click installations–> Add Select Maven installation directory, here my Maven installation directory for D:\maven\apache-maven-3.2.3, select your Maven installation directory and click OK, then click Apply, click OK, and
t
you to manage software project management tools for building, reporting, and documenting your project with a small section of descriptive information.The Maven Bin directory contains a mvn run script, and the boot directory contains a framework for the ClassLoader, which Maven uses to load its own class library; The c
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 archetype: 2 1: internal -> org.apache.maven.archetypes:maven-archetype-archetype (An arche
Requirement: Create a servlet version 3.0,java version is 1.7 maven Web projectCreate an environment:System: Window 7Software: Eclipse, MavenTo create a step:1. Create a MAVEN project using the Eclipse tool and specify where the project is stored2. Choose to create a Web project
maven Project automatically loads jar packs
The required tools are as follows: IntelliJ idea 13.1; Download Address: Please own Baidu search maven3.5, here is best to use apache-maven-3.2.1; Download Address link: http://maven.apache.org/download.cgi owns a maven project by
IDEA import maven project step, idea import maven
Let's just start our steps.
First, you have installed IDEA, I have IDEA15, followed by your maven plug-ins. However, these basic plug-ins are basically downloaded from IDEA, you can directly configure maven. You can download
Build maven with the new version of IntelliJ IDEA, and create a web project with Maven (Graphic tutorial), intellijmaven
I have never tried maven to manage projects before, but it is inconvenient to manually find the package export package. So today I started a maven test wi
The project that participates in the company is the Eclipse + maven under Windows. Want to play Maven on your computer, so here's the process of building a MAVEN project under Mac + idea. First installs Maven: 1. Download the la
Maven.③ List of project dependencies.The value of this property is an array with some coordinates for the other items.④ build a list of plug-ins.This property is an array that defines some of the plug-ins that the project needs, such as the source Pack tool, the Web containerThere are also some attributes that are described behind.Some methods of the
webxml attribute is required problem
MVN install a Web project, the error is as follows:
[ERROR] Failed to execute goal Org.apache.maven.plugins:maven-war-plugin:2.1.1:war
(Default-war) on project Com.alpha.webapp:Error assembling WAR:
webxml attribute is required (or pre-existing web-inf/web.xml if executing in Update mode), [Help 1]
[ERROR]
[ERROR]-See the full stack trace of the errors, re-run
First, the new MAVEN project1. Create a simple Java Web application.2. Fill in the organization unique identification and project unique identification3, according to do4, click Finish to complete the project creation, to create a good project structure.5, set the
Artifactid is the module name, which is generally recommended to use the project nameThe value of version is that the revision name is typically a snapshotA small example of using MAVEN builds:1: Build directory structure using MAVEN conventions2: Build the project accordin
Tip: Use maven to install the JDK first.Download install MavenFirst, download the latest version of maven,:http://maven.apache.org/download.cgiSecond, download maven to the E:\maven folder and unzipThird, add the environment variable maven_home and modify path:Iv. after the configuration is complete, enter mvn-v at the
Modular maven project and mavenPreface
The modularization of the project facilitates the division of tasks, post-maintenance, and easy expansion. modules can also be independently deployed as services;Create a parent project with the packaging type POM
The maven plug-in I us
tip: Use maven to install the JDK first.
Download install Maven
First, download the latest version of MAVEN, download address: http://maven.apache.org/download.cgi
Second, download maven to the E:\maven folder and unzip
Third, add the environment variable maven_home and mo
Importing a Maven project from Git, right-clicking the jar package that you want to update the MAVEN reference, and discovering that the right-click menu does not have a MAVEN menu item at all. What to do? Very simple, follow these steps:After importing from Git, right-click the pr
The following error occurred today in a new Web project:
Failed to read artifact descriptor for Org.apache.maven.plugins:maven-resources-plugin
Eclipse's error tips are as follows:
Could not calculate builds Plan:plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies Coul D is resolved:failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6Plugin org.apache.maven.plugins:maven-re
To set up maven in MyEclipse first:The support setup for MyEclipse to this maven is complete. Below we create a MAVEN standard Web project in MyEclipse: New to Web project so far a MAVEN standard Web
After update maven under MAVEN project Eclipse error: Java.lang.ClassNotFoundException:ContextLoaderL
Severity: Error Configuring Application Listener of Class Org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: Org.springframework.web.context.ContextLoaderListenerat Org.apache.catalina.loader.W
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.