Excel at enterprise, mobile and web development with Java, Scala and Groovy,with all the latest modern technologies and frameworks available out of the。操作系统: 64-bit versions of Microsoft Windows 10, 8。
第一种方法: 打开IDEA底部的终端Terminal,输入"mvn idea:idea" mvn idea:idea:生成idea项目第二种方法: 打开IDEA右上角的File——>Settings搜索maven打开maven目录下的Runner 找到Delegate ID
这里分享一个2019.3.3版本的jetbrains-agent.jar,亲测有效,在网上找了很多都不能使用,终于找到一个可以使用的了,这里分享一下具体激活步骤,此方法适用于Jebrains家所有产品,如DataGrip、WebStorm等。
重启Idea之后,点击菜单栏中的 “Help” -> “Register …”,这里有两种激活方式:一、选择最后一种License server激活方式,地址填入:见原文链接 ,或者点击按钮:”Discover Server”来自动填充地址,完成激活。
mvn install:install-file -Dfile= jar的位置 -DgroupId= jar包的groupId -DartifactId= jar包的artifactId -Dversion= jar包的version -Dpackaging= jar。我使用这种方法在开发环境是没有问题,但是在打包的时候就报找不到这个jar。
PS:从eclipse刚转到IDEA,对于这个陌生的工具我表示无言,但听说很好用,也就试试,结果我几乎花了一晚上的时间才搭起来maven web项目,觉得在此给各位一个搭建maven web项目的教程,指出我踩过的各种坑!
java项目里,我们时常需要读取一些自定义的文件,我们一般也会把这些文件放在resources目录下,但有时候,我们在idea开发时明明是可以读取到文件的,一打包放到Linux或者Tomcat上运行就会报错,说找不到指定的文件。
如果在IDEA 中下载JAR 包源码时,出现如下错误信息:Cannot connect to the Maven process. Try again later. If the problem persists, check the Maven Importing JDK settings and restart IntelliJ IDEA。