1. Environment
Myeclipse2014, jdk7, tomcat8, mysql5.6
2. Download the source code at http://jforum.net/download.jsp3.import source code.
- Create a web project jforum
- Copy all files under SRC under the downloaded jforum package directory to SRC under jforum
- Copy the downloaded jforum package directory lib to the Lib under jforum
- Copy other files to the jforum webroot.
4. Data Import
Import WEB-INF/config/database/MySQL/mysql_db_struct. SQL and mysql_data_dump. SQL.
Due to version issues, an error may occur in the line 'Engine = innodb'. Replace it with 'Engine = innodb.
5. Configuration Modification
In WEB-INF/config/database/MySQL. Properties
- Username and password
Dbencoding = UTF-8
MySQL. Encoding = UTF-8
- In addition, it is particularly mentioned that & useunicode \ = true & characterencoding \ = utf8mysql. Encoding = UTF-8 is added at the end of database. Connection. String (Chinese garbled characters are used to submit data)
In WEB-INF/config/systemglobals. Properties
6. Other problems
The referenced UN. Misc. base64decoder fails to be compiled, and RT. jar is missing.
7. Effect
Jforum secondary development (1)