-
Notifications
You must be signed in to change notification settings - Fork 7
Home
gavincook edited this page Jan 22, 2014
·
9 revisions
Quick develop platform for Java Web. Based on Spring MVC + Mybatis framework,contains the rbac, auto code,Easy Validation,Web Component and so on
-
Clone project into local,
git clone git@github.com:AntStudio/moon.git -
Build eclipse project(first need install maven) open command shell, go to the moon folder,then do:
mvn eclipse:eclipse -
Import project into eclipse right click on the 'Project Explorer', then select import-->Existing Projects into Workspace-->select the moon project path
-
Right click the moon project--> Properties-->Project Facets
select Dynamic Web Module-->click OK button
-
Remove the WebContent or WebRoot folder under the Moon root folder
-
Right click the moon project--> Properties-->Deployment Assembly
- click add button --> Java Build Path Entries --> Maven dependencies
- click add button --> add folder --> select the src/main/webapp--> click finish button, then this would has an entry for src/main/webapp, if it deploy path not the '/',change it to '/'
- select the WebRoot or WebContent, then remove it
-
Then add to server,and run moon,go to http://localhost:8080/moon/index