IntelliJ IDEA 学习笔记
2017-12-28 14:10
369 查看
编译运行报错1 [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] 解决方法 添加以下到pom.xml <build> <defaultGoal>compile</defaultGoal> </build> 编译运行报错2 [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! 解决方法 添加以下到pom.xml <properties> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> 编译运行报错3 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 解决方法 http://blog.csdn.net/lmb55/article/details/76168451 IntellIJ IDEA 配置 Maven 以及 修改 默认 Repository https://www.cnblogs.com/phpdragon/p/7216626.html IntelliJ IDEA 14 如何运行maven程序 https://www.cnblogs.com/phpdragon/p/7216626.html maven VM Options 设置 打开 Ctrl+Atl+S -Xms128m -Xmx512m -Duser.language-zh -Dfile.encoding=UTF-8 查看原文:http://www.mydoop.com/2017/12/intellij-idea-%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0/
相关文章推荐
- IntelliJ IDEA 学习笔记 - 自动导包
- IntelliJ IDEA 学习笔记 - IntelliJ IDEA 主题修改
- Maven with IntelliJ IDEA 学习笔记(一)
- IntelliJ IDEA 学习笔记 - 缓存和索引相关
- IntelliJ IDEA 学习笔记 - 数据库管理工具
- IntelliJ IDEA 学习笔记 - IntelliJ IDEA 字体修改
- IntelliJ IDEA 学习笔记 - Case sensitive completion
- IntelliJ IDEA 学习笔记 - 收藏夹
- IntelliJ IDEA 学习笔记 - Code Folding
- IntelliJ IDEA 学习笔记 - 插件的使用
- IntelliJ IDEA 学习笔记 - Windows 系统下安装 IntelliJ IDEA
- IntelliJ IDEA 学习笔记 - Project窗口的一些设置
- IntelliJ IDEA 学习笔记 - 关于tab的一些设置
- Maven with IntelliJ IDEA 学习笔记
- IntelliJ IDEA 学习笔记 - 自定义TODO
- spark学习笔记(4)IntelliJ IDEA搭建Spark开发环境
- Maven with IntelliJ IDEA 学习笔记(一)
- IntelliJ IDEA 学习笔记 - 项目相关的几个重要概念介绍
- IntelliJ IDEA 学习笔记 - 设置打开项目时的行为
- IntelliJ IDEA 学习笔记 - 几个窗口布局设置技巧