[Technical Documentation] Jeecg-P3 development environment to build entry (java Plug-in Development Framework)

Source: Internet
Author: User

[Technical Documentation] Jeecg-P3 development environment to build entry (java Plug-in Development Framework)
1. Project Description

Jeecg-p3-web | start main project jeecg-p3-biz-demo | plug-in project Note: The project is maven project, using maven to import eclipse and other IDE development tools standard development tools: eclipse + jdk7 + tomcat7 + mysql

2, the development environment to build the first step: Create a Mysql database jeecg-p3 (UTF-8 code), execute the database Script script location: jeecg-p3-web/doc/SQL/jeecg-p3-mysql. SQL [1]. Pay attention to the encoding selection: [2]. The script is successfully executed and two test tables are generated.
Step 2: start the project method (jeecg-p3-web)
  • Method 1: Quick Start (Create a database and execute a script first)
Step: Double-click Run jeecg-p3-web \ bin \ run-tomcat7.bat or bin \ run-tomcat.bat-> Start Web Server (first run, need to download dependent jar package, please be patient ). -> Start successfully. Go to Step 3 and access the test address.
  • Method 2: elipse adopts maven (Create a database and execute the script first)
[1]. install {jeecg-p3-pom} {jeecg-p3-biz-demo} sequentially Note: it is important that if you do not install it, an error is reported that is not found in the dependent package repository. [2]. start web Project. web project right-built-> debug as-> debug configurations-> select jeecg-p3-web project-> input command: tomcat: run Note: update snapshots needs to be selected, the official will constantly update the underlying package B. Click debug to start. The following shows that the startup is successful. Step 3: Access the test address
1. http: /localhost/jeecg-p3-web/p3/wxActInvite. do? List2.http: // localhost/jeecg-p3-web/p3/auth. do? List

Step 4: demonstrate a. Tree list B. Normal list Step 5: jeecg Project Integration plug-in method [1]. Step 1: Use maven to directly introduce [2]. In the jeecg database, execute the plug-in SQL script [3]. Configure the plug-in function access menu [4]. Demo

Step 6: jeecg-p3 Code Generator tool class: jeecg-p3-web/src/main/java/util/P3CodeGenerateUtil. java configuration file: jeecg-p3-web/src/main/resources/p3-cg-config.properties Code Generator template location: jeecg-p3-web/src/main/resources/p3/cg/template/ftl (no secondary development, you do not need to modify the template file)

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.