Now the latest Eclipse Luna Release has built-in Maven plugin, which makes our work a lot more concise, as long as the project directly into the can, regardless of the plug-in problems, but after the import of the project can be deployed in Tomcat can also be deployed on the jetty server , the following is the debugging process.I. Development environmentJava:jdk7
\target\classes[info]----------------------------------------------------- --------[ERROR] Compilation error: [INFO]-------------------------------------------------------------[ERROR] No Compiler is provided in this environment. Perhaps is running on a JRE rather than a JDK? [INFO] 1 Error[info]-------------------------------------------------------------[INFO]------------------------- -----------------------------------------------[INFO] BUILD Failure[info]-------------------------------------
First, create the project.It's also easy to create a MAVEN project, choose menu Item--- new--and other, select maven Projectunder Maven in the popup dialog box, and then click Next. Create a project with Maven in 1.EclipseSelect
difference between Maven and Ant, and I would say that you can find the answer in section 1.6 of the first chapter of the Maven authoritative guide.Maven can also drop a project into a project that eclipse can support, making it easy to import eclipse. Now Eclipse also has a plugin that supports
First, at the command line, use the MAVEN archetype plug-in to create a project
MVN archetype:create-dgroupid=org.sonatype.mavenbook.ch03-dartifactid=simple-dpackagename= Org.sonatype.mavenbook
Comments:
1), MVN is the order of Maven
2), Archetype:create is a MAVEN goal (goal), similar to one of Ant's target, which is
$worker.runtask (ThreadPoolExecutor.java:886 ) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908) at Java.lang.Thread.run ( thread.java:662)Issue Background :Project for MAVEN Engineering, the Contextloaderlistener class is located in the Spring-web-3.1.0.release.jar package. The pom.xml of Maven was checked, and the dependency wa
1.1. CreateJave Project1. Use the MVN archetype:generate command as follows:mvn archetype:generate -darchetypeartifactid=maven-archetype-quickstart -dinteractivemode=false2. Use the MVN archetype:create command as follows:mvn archetype:create -darchetypeartifactid=maven-archetype-quickstart -dinteractivemode=falseYou can create a project using the "mvn archetype:
Tags: Technology Windows menu EPO install technology share Settings 1.3 16px1installation configuration maven1.1 Download MavenDownload and extract Apache maven from Apache website http://maven.apache.org/.maven:http://maven.apache.org/download.cgi1.2 ConfigurationWindows----"Preferences----" installations----"ADD1.3 Configuring MAVEN's local repositoryA. Select a path to the hard drive and create the folder repository. My path is: D:\
First, the problem descriptionWhen compiling project source code using MAVEN today in MyEclipse, the result is the following error Best of all, the Java source code is displayed in MyEclipse without any errors, but the "Maven install" command compiles the project with the above error, resulting in
First article: Creating a Project1. First install idea and maven, JDK, etc.;2. Open idea, click on file---> New project, and simply explain that project in mind can be understood as Eclipse's workspace Workspace,module equivalent to project in eclipse;3. Depending on the JDK or pro
A related issueIntellij idea Error:java:Compilation failed:internal Java compiler Errorhttp://bbs.vpigirl.com/forum.php?mod=viewthreadtid=793fromuid=2(Source: The way of the change of memories, time has become very slow!) )Problem phenomenonIntellij Idea's MAVEN project will become JDK 1.5 on the right-click menu maven ReimportProblem analysisThe
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-archetype-quickstart-1.1.jarStep Two
structure, as shown in figurethree. Modify the Java Build Path
1. Right click on Project's name and select Properties2. Select Java build Path, remove the JRE 1.5 version, and click the Add Library, as shown
3. Select the JRE System Library and click Next, as shown in
4. Select the Jdk6 version you set, click Finish, as shown
5. Finally click OK to complete the setup, as shown in figureFour. Modify the Java Compile
1. Right click on Project's name an
become the past.What I need to do now is to manage the resources needed in the project through the MAVEN components of the STS. I just need to beantils the GVA coordinates, OK, maybe I need to go to the MAVEN repo central repository to search for this GVA, and then copy the dependency it provides to the project Pom.xm
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/archetype-catalog.
The previous blog post about how to install Maven is a sequel to how Maven manages dependencies.
The strong thing about Maven is management dependency. Relying on delivery, dependency inheritance, and pom imports make it easy to rely on version management. By relying on scope implementations to join dependencies during different lifecycle periods.
One of my classmates needs to collaborate on the development of the MAVEN project from his computer to the eclipse in My computer, appearing in the Pom.xml file
"Missing Artifact Org.springframework:spring-jdbc:jar:3.2.4.release" error
Workaround: (answer found on StackOverflow)
In case you haven ' t already do it, try updating the project with regard to
Building a simple Maven project is simple, and the reason for writing this essay here is that you want to remember a few small points.First, install Maven1. Download maven:https://maven.apache.org/download.cgi2, unzip the package to the specified path, such as E:/java/maven. Get the folder apache-maven-3.3.9.3, the sec
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.