340 Star 10.2K Fork 829

赤龙ERP / 赤龙ERP

 / 详情

项目如何编译和部署?是否有特别要注意的地方?

已完成
创建于  
2020-11-28 22:40

项目如果想本地部署调试,有几种方式?哪种方式更简单些?

评论 (4)

tomcnt 创建了任务
tomcnt 关联仓库设置为赤龙ERP/赤龙ERP
展开全部操作日志

编译部署方式如下:
(1)springboot方式启动,找到erp-springboot子项目下的main启动类,此种方式简单适合快速启动
(2)maven打包后部署到Tomcat,在erp-parent父项目执行install命令,需要调整一下pom的packaging
(3)IDE方式部署到本地Tomcat,直接部署erp-webapp子项目即可,此种方式适合本地开发和调试

需要注意的是CasServer是独立的项目,不是springboot项目,只能通过IDE或maven方式编译部署

对ERP-Parent编译,导论最后几个出错了
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.0.RELEASE:repackage (repackage) on project erp-global: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.3.0.RELEASE:repackage failed: Unable to find main class -> [Help 1]

请问这个怎么解决呢~

楼上子项目不能以springboot方式打包,他会验证入口方法

赤龙ERP 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
407485 redragon 1598602643
Java
1
https://gitee.com/redragon/redragon-erp.git
git@gitee.com:redragon/redragon-erp.git
redragon
redragon-erp
赤龙ERP

搜索帮助