To integrate SPRINGMVC + Springflow + mybatis + velocity, step-by-step, start with the integrated MyBatis first.
MyBatis generator can improve the speed of development, the plugin can automatically generate code, the creation of DAO layer-related code, as with hibernate inverse generation.
Steps:
(1) Download Mybatis_generator_1.3.1.zip
Baidu Cloud Link: Link: https://pan.baidu.com/s/1qXN99l6 Password: b25c
(2) Unzip the file, you will find two folders
(3) Open the Eclipse installation directory, copy the above two folders, and if the folder already exists, overwrite
(4) Restart Eclipse and select New->others to see that the installation was successful
Note that if you open the MyBatis folder that does not appear after you have installed the new plugin before you launch Eclipse, in the Org.eclipse.update folder record the plugin's history updates, it only remembers the previous plugin updates, and the newly installed plugin does not record it.
Delete the eclipse/configuration/org.eclipse.update and eclipse will rescan all plugins.
Eclipse Add MyBatis Plugin