Maven eclipse jdk tomcat installed and the project runs

Maven eclipse jdk tomcat

1. Download maven    eclipse jdk  tomcat install and configure it normally

A. If such an error occurs, the version of    failed to load   the jni   jdk is inconsistent with the version of the system

2. In eclipse , go to   windows - preferences - à maven to select the   maven path you installed

3. In windows - preferences - à server - > runtime environments , select the version of tomcat you are using and set the corresponding path

4. Create a new project and perform à right-click on the project to run as à run   on Server ( web project test)

5 . Create a maven project pay attention to the version of maven and the version of jdk where the jdk is 1.7 or above, otherwise an error will be reported . 

6. Configure setting-xml Specify your local setting-xml configuration file in the configuration file , and you also need to specify your 

<localRepository>E:/JKRM/MavenSet</localRepository>, then specify in user Settings in eclipse 

7. After creation, right-click --- > Run As -- > maven test to load all the required packages and pass the test   

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326399996&siteId=291194637