# easycms **Repository Path**: libran/easycms ## Basic Information - **Project Name**: easycms - **Description**: jQuery,jqGrid,jsp,servlet ,guice, mybatis,thymeleaf , 5张表,最简约但不简单的Java cms系统 - **Primary Language**: Java - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: http://www.j4cms.com - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 81 - **Created**: 2018-06-26 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README - 2.0 - A:maven环境配置好 - B:config.properties配置h2数据路径正确 - C:cd 到pom文件目录, 命令 mvn jetty:run启动项目,或者双击jetty-run.bat运行 - D: - 前端预览:http://localhost:8080/front/52en http://localhost:8080/front/cafe http://localhost:8080/front/n52en - 后端管理:http://localhost:8080/login.jsp - 开发环境:win10,maven3.3.9, eclipse neon,jdk8,jetty,h2嵌入式数据库 - 框架工具: - *后端:java,servlet3,guice4, mybatis3, jstl,thymeleaf - *前端:jqGrid,jquery,jquery-validation,layer,My97DatePicker,ueditor,zTree - 数据库:config.properties配置 - A: 默认使用使用h2,config.properties 配置h2数据库路径,指向你的工作空间,如D:/workspace/easycms/h2db/easycms,里面会有表结构和数据 - B: 启动项目,浏览器打开 http://localhost:8082/, 使用config.properties配置的地址、用户名、密码登录 - C: 如路径配置不对,没有表和数据,复制easycms.sql和 h2.subject.sql,执行语句,创建表和数据 - D: 使用mysql,导入easycms.sql即可,注释掉ContextListener中h2.startServer()和h2.stopServer() - 关于maven和jetty开发时遇到的问题 - 1: maven build: pom文件右键-Run As -Run Configurations -Main -Goals -jetty:run - 2: debug启动不能调试代码,Source 配置成 Workspace debug调试时,可以调试源代码;debug启动可以热部署 - 3: js css 文件启动时候不能修改 pom 配置 defaultsDescriptor webdefault.xml 文件,并修改useFileMappedBuffer=false - *几张截图 - 栏目配置 - ![输入图片说明](https://gitee.com/uploads/images/2018/0511/170132_9c928c77_370580.png "QQ图片20180511165720.png") - 数据库 - ![输入图片说明](https://gitee.com/uploads/images/2018/0511/170142_6cf28ed8_370580.png "QQ图片20180511170104.png") - 站点演示,未全部配置,仅中间菜单取数据库数据 - ![输入图片说明](https://gitee.com/uploads/images/2018/0511/170151_65ff1f80_370580.png "QQ图片20180511170210.png")