【问题标题】:Unsupported form file version: 1.9. The form cannot be opened不支持的表单文件版本:1.9。无法打开表格
【发布时间】:2014-09-26 07:02:07
【问题描述】:

我有一个来自朋友的 Java 项目 (Netbeans)。它有一个 JFrame 表单。当我尝试从 Netbeans(尝试使用 Netbeans 7.0.1、7.1.1、7.3、7.3.1)打开该文件时,它给了我一个错误。

不支持的表单文件版本:1.9。无法打开表单。

有什么解决办法吗?

当我尝试clean and build 时,它给了我 2 个错误:

1)执行此行时出现以下错误(\nbproject\build-impl.xml:990):

<j2seproject3:copylibs manifest="${tmp.manifest.file}"/>

2)copylibs 不支持excludeFromCopy 属性(\nbproject\build-impl.xml:834):

<copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">

【问题讨论】:

    标签: java swing user-interface netbeans jframe


    【解决方案1】:

    你必须使用NetBeans IDE8.1版本

    【讨论】:

      【解决方案2】:

      This page on NetBeans.org 说您可能试图在比您朋友的旧版本的 netbeans 中打开此文件。他可能在新的 netbeans ide 版本上创建了这个项目。请向他索要版本并确认。

      其次,唯一的解决方案似乎是将您的 NetBeans IDE 更新到最新版本!请将您的 NetBeans IDE 更新到 8.0 版!!!

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2021-06-13
        • 2013-11-22
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多