Jeecg-framework runs with eclipse-maven

Source: Internet
Author: User

1. Create a maven-web project in eclipse
2. Copy the jeecg-related code and pom to the project and modify the project code to UT-8
3. Modify the pom file and configure the resource scan path to scan the java directory.

Jeecg


Src/main/java

**/*. Xml
**/*. SQL
**/*. Ftl

False


Src/main/resources






Src/test/java

**/*. Xml
**/*. SQL
**/*. Ftl

False


Src/test/resources



4. The jar package is missing for append.

Org. codehaus. jackson
Jackson-core-asl
$ {Jackson. version}

5. Remove @ Override from the code.
6. unrecognized objects in the strong Transfer Project
7. Execute maven clean
8. Start the project using tomcat






FAQs:
1. The easiest way to make projects support multi-version ides, such as eclipse and myeclipse, is to create a maven project and copy the code. Or create a project, participate in the [. classpath/. project] file, and modify and download the project;
2. How to obtain all jar packages dependent on maven by using the command mvn dependency: copy-dependencies

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.