java - Eclipse IDE : The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

标签 java eclipse jboss-tools

我正在使用 Eclipse 2021-09 (4.21.0) 及更高版本安装插件 JBoss Tools,我发现当我想打开 .xhtml 文件时,Eclipse 给出以下错误。

enter image description here

也许有什么想法。

最佳答案

查看 eclipse 文档,我可以看到 Bug 574611与之相关。根据它,您可以执行以下操作来避免该错误。

  1. 将默认浏览器更改为外部浏览器。

enter image description here

  • 更改与 JBoss Tool Editor -> Visual Page Editor 相关的配置,以仅使用源选项卡打开 .xhtml 文件。
  • enter image description here

    我希望这篇文章对我们有用。

    关于java - Eclipse IDE : The resource could not be loaded because the App Transport Security policy requires the use of a secure connection,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69534969/

    相关文章:

    eclipse - 禁用 JPA Java 更改事件处理程序

    eclipse-plugin - Eclipse(JBoss 工具)和 DevStudio 中缺少 LiveReload 服务器

    java - Java中使用二分查找实现二分插入排序

    java - 为 java 项目创建 .exe

    c++ - Eclipse CDT 无法解析模板类的 std::vector

    eclipse - 将 OSGi 包的 Maven 依赖项添加到 Eclipse 目标平台

    eclipse - Gradle Cargo 插件,不登录 Eclipse 控制台

    jboss - 安装 JBoss Tools 后 Eclipse 失败

    java - maven-remote-resources-plugin 不复制文件,仅复制文件夹结构

    java - 为什么在这种情况下 Streams API 需要泛型类型的提示?