基于 Spring mvc 4 的架构 , 真正零配置的快速开发框架。
JDK 1.8 eclipse tomcat 8.0
jdk:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
eclipse:
https://www.eclipse.org/downloads/
tomcat:
http://tomcat.apache.org/
git:
http://git-scm.com/downloads
TortoiseGit:
https://tortoisegit.org/
http://maven.aliyun.com/nexus/content/groups/public/
遵循Spring规范,由maven进行项目管理,将资源(html,css,js,jar 等)打包到jar包中,增量更新仅需替换jar包。
核心项目:
PServer(Web环境) + PCore (核心功能块) + PParent (依赖包、字符编码、JDK版本)
组件项目:
Restfull+模版引擎(freemark,groovymark,thymeleaf,velocity)、 JDBC连接池、NoSql(Mongo)等...
所有依赖包均在模块内的pom中申明,不耦合核心项目,更多后续还在持续添加中...
Example-TemplateMark : 模版引擎
Maven项目莫名其妙报错,解决方法 :4步
1、 Alt+F5 Maven Clean ( Maven项目 Clean )
2、 Eclipse 菜单 -> Project -> Clean ( Eclipse 项目 clean )
3、 Server -> Tomcat -> Clean
4、 Server -> Tomcat -> Clean Tomcat Work Directory...