【问题标题】:Can not run index.html in oracle Jet application using templates无法使用模板在 oracle Jet 应用程序中运行 index.html
【发布时间】:2017-10-07 13:56:04
【问题描述】:

我是 Oracle Jet 的新手。现在我想使用 NetBeans 创建一个简单的应用程序,其中包含从http://www.oracle.com/technetwork/developer-tools/jet/downloads/index.html 下载的预定义模板。

创建步骤为: 文件 - 新项目 - 类别 (HTML5/JavaScript) 和项目 (HTML5/JS 应用程序) - 选择模板 - Jet-Template Web Basic.zip。 但是当我在这个应用程序中打开站点根目录下的 index.html 时,“运行”选项卡不可用。右键单击 index.html 时也没有“运行”。

我尝试了下载页面中的所有其他模板,但没有一个可以工作。

你对此有什么想法吗?

IDE 版本:NetBeans 8.1

【问题讨论】:

    标签: javascript html netbeans oracle-jet


    【解决方案1】:

    不知道为什么会这样。可能是bug...

    2 解决方法:

    1. 右键单击“项目”选项卡下的项目。您会注意到此处启用了运行功能。
    2. (更好的选择) 解压缩 zip 内容,在 Netbeans 中选择“打开项目”并导航到解压缩的文件夹。如果您以这种方式打开项目,您会注意到运行功能可用于 index.html。

    【讨论】:

      猜你喜欢
      • 2016-01-07
      • 1970-01-01
      • 2015-05-10
      • 2018-12-30
      • 1970-01-01
      • 2015-02-17
      • 2014-12-11
      相关资源
      最近更新 更多