intellij start failed no route to host

google结果:https://intellij-support.jetbrains.com/hc/en-us/articles/360007568559
https://www.jetbrains.com/help/idea/tuning-the-ide.html?_ga=2.86198555.204967701.1599821395-121923466.1599821395#system-directory

Resolution

Please try the following steps one by one until the issue is resolved:

  1. Delete the third-party plug-ins directory (idea.plugins.path in the user's home directory, depends on the OS and IDE version. Please be aware that default locations have changed in 2020.1 release). You can bisect the plug-ins to find the offending one and remove only that plug-in, keeping the working plug-ins.

    Note: if the installation is managed by the Toolbox App, plug-ins directory will be located next to the application install location which can be found from the Toolbox properties of the installed app. Look for the directory name starting with the build number and ending with the .plugins, like 192.5728.98.plugins.
  2. Download and install the IDE again, either from the official site or using the Toolbox App. Your settings and projects will be preserved. When installing from .tar.gz on Linux make sure to unpack into the new empty directory, not on the top of the existing installation.
  3. Delete the IDE system (idea.system.pathdirectory.
  4. In most cases the issue should be already resolved, but if the IDE still doesn't start with the same error dialog, you can also try to backup and delete the settings directory (idea.config.path).
  5. Contact support with the full exception stacktrace (you can copy/paste it from the error dialog).

通用解法,但我的不是这的问题。

我的是电脑重启了,handsoff!自启动,里面配了phpstorm防火墙规则,导致crash:

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这个错误是因为在你的项目中没有配置数据源或者没有指定正确的数据库连接URL。IntelliJ IDEA 默认使用 Spring Boot 来管理数据源,而当你没有设置数据源或者设置的数据源有误时,就会出现这个错误。 要解决这个问题,你可以按照以下步骤进行操作: 1. 确保你的项目中已经引入了合适的数据库依赖,比如 MySQL、PostgreSQL 或者 H2 等。你可以在项目的 pom.xml 或者 build.gradle 文件中查看依赖配置。 2. 确认你的数据库连接配置信息是否正确。在 Spring Boot 项目中,通常需要在 application.properties 或者 application.yml 文件中配置数据库连接相关的属性,包括 URL、用户名、密码等。确保这些属性的值正确地指向了你的数据库。 3. 如果你正在使用嵌入式数据库(如 H2),确保你已经正确地配置了连接URL。对于 H2 数据库,URL 的格式通常是 jdbc:h2:mem:testdb。如果你使用其他的嵌入式数据库,可以查看相应的文档来获取正确的 URL 格式。 4. 如果你确定上述配置都正确无误,但仍然遇到这个错误,那么可能是由于 IntelliJ IDEA 的缓存导致的。你可以尝试清除 IntelliJ IDEA 的缓存并重新构建项目,或者重启 IntelliJ IDEA 看看能否解决问题。 相关问题: 1. 如何在 IntelliJ IDEA 中配置数据源? 2. 如何在 Spring Boot 项目中使用不同的数据库? 3. 什么是嵌入式数据库?如何在 Spring Boot 项目中使用嵌入式数据库?

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值