1.关闭注释中的错误提示

image.png

2. Tomcat启动报错-应用重复(不唯一)

问题重现

  1. Caused by:java.lang.IllegalArgumentException: addChild: Child name '/biapp-frs-web' is not unique

原因分析

项目启动时,存在重复的项目名

解决方案

启动配置中“Deploy applications configured in Tomcat instance”,去掉此处的勾选。因为Tomcat中已进行了配置,启动时会在Tomcat实例中启动应用,此处IDEA会再次加载配置,启动应用。

3.Command line is too long.Shorten command line ..

原因分析:

Command line is too long.Shorten command line … 命令太长

解决方法:

修改项目下 .idea\workspace.xml,

  1. 找到标签
  2. <component name="PropertiesComponent">
  3. 在标签里加一行
  4. <property name="dynamic.classpath" value="true" />

4.高效开发