使用IDEA将普通MAVEN项目转为WEB项目
来源:互联网 发布:px4源码下载 编辑:程序博客网 时间:2024/06/04 23:25
1、file--project Structure--,然后点“+”号,,若没有war包,可修改maven打包方式,为
<packaging>war</packaging>
若为多环境开发,则需修改默认配置文件位置,在pom文件加上
<profiles> <!-- 开发环境 --> <profile> <id>dev</id> <properties> <env.type>dev</env.type> </properties> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <!-- 生产正式环境 --> <profile> <id>product</id> <properties> <env.type>product</env.type> </properties> </profile></profiles>
2、添加tomcate
run--edit Configurations,点“+”号
选择war包添加即可
2 0
- 使用IDEA将普通MAVEN项目转为WEB项目
- 普通web项目转为maven项目整理
- Idea 将普通项目转成web项目
- 将java web项目转为maven项目
- 普通项目转为maven项目
- 将普通web项目转maven项目
- 将普通maven项目改成maven web项目
- idea导入maven项目和普通Web项目,并且使用tomcat部署
- maven项目转为web项目
- 将maven项目转换成普通的web项目
- 将maven项目转换成普通的web项目
- 将Maven项目转换成普通的web项目
- 如何用Eclipse将普通的JavaWeb项目转为Maven项目
- 使用idea创建maven web项目
- 使用 IDEA 快速创建 maven web项目
- 使用IDEA和Maven创建Web项目
- 使用intellij idea创建Maven Web项目
- IDEA 使用maven创建web项目
- 水王争霸
- HTML5-web worker
- 回归
- 重构时机
- C++第五次实验-实验报告
- 使用IDEA将普通MAVEN项目转为WEB项目
- Some useful commands in cmd
- 解决Namenode is in safe mode方法
- 花费9个小时,只为读完亚马逊Kindle条款和条件。。。
- com.mchange.v2.async.ThreadPoolAsynchronousRunner ERROR BasicResourcePool:1853
- 移动开发利器——APICloud开发平台介绍
- 卡耐基口才艺术
- 微信与朋友圈后台架构
- 2-4章