the dependent download path, in my file has settings configuration, please download it yourself).
Third, before packaging also check the project's Pom file is not configured
⑴, Configure the following code in the Pom file that needs to be packaged:
xsi:schemalocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > //maven.apache.orgThere are several sub-packages to write several module//localhost:3306/mysql
Three ways maven hits a jar package does not include a dependent jar packageThe method packages the jar, does not contain a dependent jar package, and does not specify an ingress class.Output the dependent jar package to the specified directory The jar that the method packs, specifies the ingress class, can be executed
Maven practice ---- multi-module development --- lack of Jar package, mavenjar
Jar packages in Maven often contain Missing, which is similar to the following situations:
1. The private server does not have the corresponding version number Jar package or the Jar package does
MapperPerform MVN package packagingAutomatic generation of Mahoutproject-1.0-jar-with-dependencies.jar in target directoryHadoop jar Mahoutproject-1.0-jar-with-dependencies.jarinput OutputNote that because the main function of the jar package is indicated in the Pom.xml configuration, it is not necessary to specify the main function here.Otherwise, the main function is typically indicated behind the jar pa
System Optimization (1) different versions of the same jar package in Maven: version + timestamp (solution)
Solution: the ear of the maven repository contains many identical jar files (only including different versions and timestamps)Problem description: The ear contains many identical jar files, but contains different versions and timestamps, as shown in:
(For e
System Optimization (1) the same jar package in Maven is different: version + timestamp (solution), mavenjar
Solution: the ear of the maven repository contains many identical jar files (only including different versions and timestamps)Problem description: The ear contains many identical jar files, but contains different versions and timestamps, as shown in:
(For
Development tools: STS (Spring tool Suite)To build the SPRINGMVC Maven project, the jar packages used are all pom.xml file configuration dependencies, and MAVEN is automatically downloaded from the repository, so there's no problem with using Tomcat to deploy the release. But sometimes we need to use packages that don't exist in the
Original address: 54973954Automatically download jar packages using Maven
Right-click the project to convert the project into a MAVEN project
Then go in Maven's official website
http://mvnrepository.com/
There are a lot of jar packages for us to use, such as I'm now going to download a jsoup jar package
Search Jsoup, click the
Original blog from: http://blog.csdn.net/liutengteng130/article/details/42879803 thanks!Prerequisites1. Why use two war package calls? because we Maven project each War package is a line, front desk with Easyui, and each line to refer to Easyui related js,CSS , and there are some other styles. In order to take out these repetitive things, I made a war bag and put
JMeter automatically move the Maven jar package to the JMeter folderBAT fileREMThis file is placed under the JMeter script Maven project root directory, and Pom.xml under the same folderREMpre-set conditions, the official website download Apache-jmeter-3.2.zip in the following filepath and extract to the current folderSetFilepath=d:\work\jmeterperformancetestREMr
necessarily necessary to put it in the directory. The following is to add the JDBC driver to the Maven local repository through the mvn Command, as shown below:
Mvn install: install-file-DgroupId = com. oracle-DartifactId = ojdbc6_g-Dversion = 11.2-Dpackaging = jar-Dfile = d: \ ojdbc6_g.jar
Where-Dfile is the path address of the driver package, which is not in the personal directory.
Running result:
Step-by-step find where the error is (the style of the spring code as long as it is a specific implementation class with Do), in the new Preferredconstructordiscoverer this class when the error, open this class, according to the error message, 38 lines of this class:4. Defaultparameternamediscoverer is really used here, and the jar package for this class is, Spring-data-commons-1.9.3-releas version, Description 1.9. Version 3 and 3.2.4core are inco
Get readyYou have to install Maven first if you do not click on the subsequent connection to view one or two steps. http://www.cnblogs.com/luoruiyuan/p/5776558.html1. Under any directory, create a folder under which a Pom.xml file, a bat batch script, is created.2. Select the bat batch script right-click Edit and copy the following:Call Mvn-f Pom.xml Dependency:copy-dependencies@pause3.pom.xml does not need
Add Title, I downloaded the m2eclipse plugin in Eclipse, created a MAVEN project, and then added the Pom.xmlRun what command again to download the jar package. Ask the great God to answer ah. the same question 2 | Browse 3928 | Favorites 0 | Share
3 answers sorted by number of likes A609355187 2015.04.03 12:20
Is this dependence. 00 Comment 0 | Share Xiaomin paper 2015.04.03 19:51
Jar packages are au
1. Why conflicts of dependence ariseThe transitive dependency mechanism in Maven simplifies dependency declarations on the one hand and, on the other, may cause version conflicts if transitive dependencies occur. For example, there are dependencies such as: A->b->c->x (1.0), A->d->x (2.0), and the scenario for such a conflict
Recently, obstinately and Baidu's Ueditor components on the bar.Their own personal website project, it is easy to take care of, the company's projects, and all kinds of problems.Many projects, the environment is complex, problem-solving methods have to be constantly adjusted.The project uses MAVEN to manage the jar package, using the Ueditor jar package. Project
First, Download:
· Java Development Environment (JDK)
· Maven Download Address: http://maven.apache.org/release-notes-all.html
Download the latest version of the Bin folder, as shown in the following figure:
Second, installation
Installing MAVEN is super simple, with a total of four steps:
1. Download Maven, in fact, is a compressed
Now to add the Springmvc jar package, open the Pom.xml file.
Select the dependencies bar in the above image and click the Add button
Add button after the click of the Fill box, in the middle of the input box input SPRING-WEBMVC
Maven automatically imports other jar packages that SPRING-WEBMVC depends on by clicking on the dependency hierarchy tag b
; dependency>2.3 Send shutdown signalThe default URL for shutdown is Host:port/shutdown, and when you need to stop the service, post the request to the server, such as:Curl-x POST Host:port/shutdownWill get the response of the form {"message": "Shutting down, bye ..."}2.4 Security SettingsIt can be seen that using this method can be very convenient for remote operation, but it is important to note that, when formally used, the request must be made necessary security settings, such as the use of
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.