Java Maven Project

Source: Internet
Author: User

Importing MAVEN Projects

Recently imported a spring + SPRINGMVC + Hibernate framework plus a MAVEN-implemented project, which encountered some problems. This SSH framework source code: https://www.cnblogs.com/xrog/p/6359706.html

1. Eclipse Import MAVEN Project process

At first I was the import according to the normal project import step, obviously this is not imported, he will be prompted to find the entrance. Here is the process for MAVEN project import:

  

This will allow you to import the.

2. Maven Run Start step

Project right-click on Run as to select Maven Buildhou will appear in Figure III

Figure II

Might

The following interface appears to indicate that MAVEN is running successfully

This is the time to run the project.

3. Download and use of Lombok

After I imported the project, I was prompted that I could not find Lombok because Maven configured Lombok, but did not download Lombok.jar to the appropriate directory.

https://projectlombok.org/all-versions download the Lombok URL.

After the download, double-click Run to add the Eclpse.exe installation directory. It's ready to go.

https://yq.aliyun.com/articles/59972 Lombok specific installation steps and role

4. Problems connecting to the database

And I was there when I was running.

Java connection MySQL database warning: establishing SSL connection Witho

This error, this time in the data source configuration plus

Jdbc.url =***/***?useunicode=true&characterencoding=utf-8&usessl=true will be all right.

Java Maven Project

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.