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:
- < plugins >
- < plugin >
- < 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 >
- < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< artifactId > Maven-compiler-plugin</ artifactId >
- < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< version > 2.3.2</ version >
- < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold ">< Configuration >
- < source > 1.6 </ source >
- < target > 1.6 </ target >
- < span class= "tag" style= "Color:rgb (0,102,153); Font-weight:bold "></ Configuration >
- </ plugin >
- </ 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