Use JeeSite4.x encounter, init-data.bat executed successfully, but the database is not inserted data

Solution:

1, found in the web / test InitCoreData then Run As -> JUnit Test,

2, if you encounter Tip: increase "-Djeesite.initdata = true" parameter in the VM arguments, the

3. Right Project -> DeBug As -> Debug Configurations -> find Java Application -> Application -> Click to the right of Arguments -> Add -Djeesite.initdata = true at the VM arguments,

4, and finally click Debug, the data successfully imported

 

Guess you like

Origin www.cnblogs.com/3b2414/p/11353783.html