First, open a command prompt, enter the following command to try the Echo%m2_home% carriage return if the path shown and the installation path are consistent, configuration is not a problem;The cause of this problem may be the path problem, which may be caused by a software installation that changes the system mapping path.The corresponding workaround is to add%systemroot%\system32 to path. Note: You need t
Configuring the MAVEN environment variable cmd console tip: MVN is not an internal or external command, or a program or batch file that can be run
First MAVEN environment variable:
Variable name: maven_home
Variable Value: E:\apache-maven-3.2.3
Variable name: Path
Variable value:;%maven_home%\bin
CMD console check to see if MAVEN is configured successfully
The recent use of the MVN command under CMD will always appear after execution "' cmd ' is not an internal or external command, or an executable program or batch file," such as:Although the execution of the command was successful, it would not have any effect, but as a late obsessive-compulsive disorder, I could never tolerate it. First, the ability to execute the MVN
In order to optimize the need, I need to look at my Maven project (a Java service) how to package the project into a tar.gz package, the various files in the GZ package.
That said, I need to know how MAVEN is putting projects from this:
To become this:
My project is to have a parent module three sub-modules of the Java service, with Maven to manage related dependencies.
The
Problem:I am trying to install Apache Maven 3 in Ubuntu 12.04 lts. What I did is open the terminal then I typed the following commands
export m2_home=/usr/local/apache-maven/apache-maven-3.0.5 [then pressed Enter] Li style= "margin:10px 0px; padding:0px; border:0px; Vertical-align:baseline; line-height:1.3; Word-wrap:break-word; Background-color:transparent ">export m2= $M 2_home/bin [then pressed
When using the Maven plugin in Eclipse, run as maven build with an error:-dmaven.multimoduleprojectdirectory system propery is not set. Check $M 2_home environment variable and MVN script match.Baidu to solve the method:You can set up an environment variable m2_home point to your MAVEN installation directorym2_home=d:\apps\apache-maven-3.3.1And then in window->preference->java->installed Jres->editSet in de
Installation tutorials for 1.mavenis: http://maven.apache.org/download.cgiAfter entering this pageClick Download, then unzip, I change the directory name to MAVEN, directory structure as shownBelow we configure the environment variablesThis is maven_home:At the end of the path variable, add;%maven_home%\bin%; The number cannot be thrown away.Enter mvn-version in cmd, and if the version information appears,
Error:-dmaven.multimoduleprojectdirectory system property was not set. Check $M 2_home environment variable and MVN script match.This error is due to the fact that the MAVEN version is incompatible with the current IDE and the workaround is as follows:1, Maven downgrade.2. Upgrade the IDE.3, you can try this method:Ecl
Today is a whim to learn maven, but the light installation took a couple of hours, good pit has wood!Installation process can be Baidu, a variety of stickers, unknown.Console input Mvn-v, if the error, it is likely that your JAVA/MAVEN environment variable configuration has a point of problem:Java_home, Class_path, M2_home cannot be followed by semicolons !!!!!A
The following is a workaround for the memory overflow error that occurs when you execute a MAVEN Package command todayLocate the Mvn.bat in the bin directory under the MVN directory,Locate @rem Set Maven_opts=-xdebug-xnoagent-djava.compiler=none-xrunjdwp:transport=dt_socket,server=y,suspend=y, address=8000,Add the following statement under this board:Set maven_opts=-xms256m-xmx768m-xx:permsize=128m-xx:maxpe
Command MVN assembly:assembly-dskiptests
When Maven packs, the dependency pack is typed into the same jar Package command MVN assembly:assembly-dskiptests
Problem:
1. See this a bit Meng, just started to think that the JDK is not a problem. So:
Yes, no problem. Continue to think, since the error is to find what this Maven bin directory, cmd Open, naturally look at this:
Since it is java_home error, search Java_home, and then look, well, here, I open the environm
This document tags: heap sort php php algorithm heap sorting algorithm two fork heap data structure /c12> REST server What is a heapHere the heap (binary heap), refers to not the stack of the heap, but a data structure.The heap can be regarded as a complete two-fork tree, and an "excellent" property of a complete binary tree is that each layer
Bit rate control is actually a coding optimization algorithm, which is used to control the video stream size.
So what is the purpose of its control? We can imagine that the same video encoding format, the code flow is large, it contains more information, then the correspondi
What is Flex? What is the relationship between flex and flash? What problems does flex solve? What is the relationship between flex and J2EE/. Net?
Flex
What is an IOC container? What is the use? What is facade? What's the use?
Reply to discussion (solution)
Ioc (inversion of control) Chinese translation inversionis the reverse mode of the Factory modeFacade (appearance) mod
1.. Net is a development platform, and. NET Framework is the basic class library of this development platform.
2. framwork is a class library, excluding development tools.
ASP. NET is an application. framwork contains the controls required to Develop ASP. NET applications.
What
Scope is for variables, for example, we create a function that contains a function, and now there are three scopesGlobal scope ==> function 1 Scope ==> function 2 scopeThe scope is characterized by first finding it in its own variable range, and if not, it will look up along the scope.Such as:var a = 1;function B () { var a = 2; Function C () { var a = 3; Console.log (a); } C ();}
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.