JEECG Deployment Notes

Source: Internet
Author: User

Jeecg-framework (3.4.3-GA) Deployment instructions:

(1) Under Eclipse-navigate View, modify the Org.eclipse.wst.common.project.facet.core.xml, Org.eclipse.jdt.core.prefs, Org.eclipse.wst.common.component file,

(2) Then right-click on the project name, Project Facets, select dynamic Web Module and Java

(3) If Eclipse has reported "Dynamic Web Module 3.0 requires Java 1.6 or newer." Error
Then modify the Pom file to include in the Pom.xml <build></build> tag of the project:

  1. < plugins >   
  2.     < plugin >   
  3.         < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< groupId > org.apache.maven.plugins< span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold "></ groupId >   
  4.         < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< artifactId > Maven-compiler-plugin</ artifactId >   
  5.         < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< version > 2.3.2</ version >   
  6.         < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< Configuration >   
  7.              < source > 1.6 </ source >   
  8.              < target > 1.6 </ target >   
  9.         < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold "></ Configuration >   
  10.     </ plugin >   
  11. </ Plugins >

Save, after the project is built, right-click on the project folder and select Maven->update Project Configuration to solve the problem.

(4) After the project is published, visit the page, prompt whether to initialize the data, click to confirm the "Initialize data" page error, is due to the problem of MySQL table character set encoding, need to modify the table's character set for MySQL Utf-8

ALTER TABLE ' Cgform_button ' convert to character set UTF8;
ALTER TABLE ' Cgform_button_sql ' convert to character set UTF8;
ALTER TABLE ' CGFORM_ENHANCE_JS ' convert to character set UTF8;
ALTER TABLE ' Cgform_field ' convert to character set UTF8;
ALTER TABLE ' CGFORM_FTL ' convert to character set UTF8;
ALTER TABLE ' Cgform_head ' convert to character set UTF8;
ALTER TABLE ' Cgform_uploadfiles ' convert to character set UTF8;
ALTER TABLE ' Ck_editor ' convert to character set UTF8;
ALTER TABLE ' Ck_finder ' convert to character set UTF8;
ALTER TABLE ' Doc ' convert to character set UTF8;
ALTER TABLE ' Jeecg_demo ' convert to character set UTF8;
ALTER TABLE ' Jeecg_demo_course ' convert to character set UTF8;
ALTER TABLE ' jeecg_demo_student ' convert to character set UTF8;
ALTER TABLE ' Jeecg_demo_teacher ' convert to character set UTF8;
ALTER TABLE ' Jeecg_matter_bom ' convert to character set UTF8;
ALTER TABLE ' Jeecg_minidao ' convert to character set UTF8;
ALTER TABLE ' Jeecg_order_custom ' convert to character set UTF8;
ALTER TABLE ' Jeecg_order_main ' convert to character set UTF8;
ALTER TABLE ' jeecg_order_product ' convert to character set UTF8;
ALTER TABLE ' Jform_cgreport_head ' convert to character set UTF8;
ALTER TABLE ' Jform_cgreport_item ' convert to character set UTF8;
ALTER TABLE ' Jg_person ' convert to character set UTF8;
ALTER TABLE ' optimistic_locking ' convert to character set UTF8;
ALTER TABLE ' T_finance ' convert to character set UTF8;
ALTER TABLE ' T_finance_files ' convert to character set UTF8;
ALTER TABLE ' t_s_attachment ' convert to character set UTF8;
ALTER TABLE ' T_s_base_user ' convert to character set UTF8;
ALTER TABLE ' T_s_config ' convert to character set UTF8;
ALTER TABLE ' T_s_demo ' convert to character set UTF8;
ALTER TABLE ' T_s_depart ' convert to character set UTF8;
ALTER TABLE ' t_s_document ' convert to character set UTF8;
ALTER TABLE ' T_s_fileno ' convert to character set UTF8;
ALTER TABLE ' t_s_function ' convert to character set UTF8;
ALTER TABLE ' T_s_icon ' convert to character set UTF8;
ALTER TABLE ' T_s_log ' convert to character set UTF8;
ALTER TABLE ' t_s_operation ' convert to character set UTF8;
ALTER TABLE ' T_s_opintemplate ' convert to character set UTF8;
ALTER TABLE ' T_s_role ' convert to character set UTF8;
ALTER TABLE ' t_s_role_function ' convert to character set UTF8;
ALTER TABLE ' T_s_role_user ' convert to character set UTF8;
ALTER TABLE ' t_s_student ' convert to character set UTF8;
ALTER TABLE ' T_s_territory ' convert to character set UTF8;
ALTER TABLE ' T_s_timetask ' convert to character set UTF8;
ALTER TABLE ' T_s_type ' convert to character set UTF8;
ALTER TABLE ' T_s_typegroup ' convert to character set UTF8;
ALTER TABLE ' T_s_user ' convert to character set UTF8;
ALTER TABLE ' t_s_version ' convert to character set UTF8;

JEECG Deployment Notes

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.