Tags: MoD compilation record view error click Control Lips IntroductionHow Eclipse imports MAVEN projects has been a problem for a lot of program apes and beginners, and it's a pain to use eclipse without knowing how to import Maven projects. Do not worry about the small part today brings you detailed
The reason: Eclipse did not find Maven dependencies after introducing the MAVEN project. Make the code error, as shown in the following figure:
and the normal MAVEN project is this.
To solve the problem, reload, so that the
Some recent projects need to be managed by MAVEN, one of which is to add the previous Eclipse Java Project Project and Web project to MAVEN management, and another scenario is to pull the MAVE
install the Eclipse Maven pluginConfigure Maven
Configuring the MAVEN installation directoryOpen window–> perferences–> maven in turn, expand MAVEN's configuration interface, such as;Then click installations–> Add to select the
Some recent projects need to be managed by MAVEN, one of which is to add the previous Eclipse Java Project Project and Web project to MAVEN management, and another scenario is to pull the MAVE
install the Eclipse Maven pluginConfigure Maven
Configuring the MAVEN installation directoryOpen window–> perferences–> maven in turn, expand MAVEN's configuration interface, such as;Then click installations–> Add to select the
Development environment:Eclipse Jee Mars (current version eclipse4.5 as of December 1, 2015): http://www.eclipse.org/downloads/Because this version already integrates the M2E plug-in, the Mars version of Eclipse is also relatively stable, can save some unnecessary trouble.I. Building a MAVEN Project
Before we build a
The MAVEN multi-module project is hot-deployed under Eclipse, where you can experience the code for any module in the entire project, without the need for MAVEN packaging to see the effect,
1, first ready to create a MAVEN multi-
and a dependency 4.1 to create a MAVEN project, as follows
first method of creation: Manually created using the command line
MVN archetype:generate-dgroupid=com.lewis.seckill-dartifactid=seckill-dpackage=com.lewis.seckill-dversion=1.0- Snapshot-darchetypeartifactid=maven-archetype-webapp
A Maven-archetype-webapp ske
Recently, I wanted to build a simple framework of spring mvc+mybatis+oracle based on MAVEN management, but I was frustrated when I was working on eclipse, and then I found that we could start with the MAVEN project in the folder and then import Eclipse. To say nothing, step
I found that the plug-in from the eclipse market is still quite useful and installedAfter the m2eclipse-wtp, added support for eclipse web projects, good to use.
The installation sequence should be noted:
InstallM2e, and then installM2eclipse-wtp.
First install the second m2e, and then install the m2eclipse-wtp
Otherwise, errors such as the following are continuously reported:
No plugin fo
1. Installing the M2eclipse pluginTo build a Maven project with Eclipse, we need to install the Meeclipse plugin firstClick the Eclipse menu bar Help->eclipse Marketplace to search for the plugin maven integration for
The MAVEN multi-module project is hot-deployed under Eclipse, where you can experience the code for any module in the entire project, without the need for MAVEN packaging to see the effect,
1, first ready to create a MAVEN multi-
install the Eclipse Maven pluginConfigure Maven
Configuring the MAVEN installation directoryOpen window–> perferences–> maven in turn, expand MAVEN's configuration interface, such as;Then click installations–> Add to select the
Using MAVEN with eclipse requires installing the Maven plugin for Eclipse, specifically installing MAVEN plugin installation related articlesBuilding a MAVEN ProjectTaking eclipse3.6 as an example1) Create a simple
Use MyEclipse with Maven all the time under Windows. In Linux, Eclipse uses MAVEN to always make an error: Discover and map Eclipse plugins to maven plugin goal Executions (tip two errors are related to compile, test-compile).
Niang on the search for half a day did not solve
reprint: http://www.iteye.com/topic/1123225? 1. Installing the m2eclipse plugin ??? to use Eclipse Build Maven project, we need to install first Meeclipse Plugins ??? Click the Eclipse menu bar help->eclipse Marketplace search for plugins
1. Installing the M2eclipse PluginTo build a Maven project with Eclipse, we need to install the Meeclipse plugin firstClick the Eclipse menu bar Help->eclipse Marketplace to search for the plugin maven integration for
Enterprise Application1. Install the M2eclipse plugin to build the MAVEN project with Eclipse, we need to install the Meeclipse plugin first click the Eclipse menu bar Help->eclipse Marketplace Search to the plugin maven Integrati
1. Installing the M2eclipse PluginTo build a Maven project with Eclipse, we need to install the Meeclipse plugin firstClick the Eclipse menu bar Help->eclipse Marketplace Search for the plugin maven integration for
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.