如何在 Apache Netbeans 10 中创建 Web 应用程序? [英] How to create Web Application in Apache Netbeans 10?

查看:25
本文介绍了如何在 Apache Netbeans 10 中创建 Web 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了 Netbeans 10.在创建新项目时,我没有得到Web 应用程序"选项.

怎么做?Apache Netbeans 10 中是否有用于 Web 应用程序的 GUI 设计构建器?

解决方案

与一些较早的 NetBeans 版本(例如 8.2)不同,Apache NetBeans 10.0 默认不支持 Web 开发,这就是为什么您看不到 项目向导中列出的类别下的>Java Web.有关其他信息,请参阅

  • 点击安装按钮来安装那些选中的Java Web和EE插件.

  • 按照安装程序向导的说明进行操作.将下载并安装请求的插件,您将被邀请单击完成以重新启动 NetBeans.
  • 重启后选择文件>新建项目....Categories 列表中应该有名为 Java WebJava EE 的新条目,允许您创建 Web 和 EE 应用程序:

  • 疑难解答:

    • 如果可用插件选项卡上没有Java Web和EE条目,请使用工具>插件>设置<的屏幕截图更新您的问题/strong>.
    • 如果插件似乎安装正确,但在重新启动后 Java WebJava EE项目向导 下仍然不可用,则更新你的问题:
      • 工具 > 插件 > 已安装的屏幕截图,其中选择了用户安装的插件条目.
      • NetBeans 日志的最新内容(查看 > IDE 日志).

    Just I've downloaded Netbeans 10. While creating new project, I'm not getting option 'Web Application'.

    How to do it? Is there GUI design builder for web applications in Apache Netbeans 10?

    解决方案

    Unlike some earlier NetBeans releases such as 8.2, Apache NetBeans 10.0 does not support web development by default, and that is why you do not see an option for Java Web under the Categories listed within the Project Wizard. See What's Happened to My Favorite NetBeans Plugins? for additional background information.

    However, web development can still be performed using Apache NetBeans 10.0. You just need to install some plugins first:

    • Go to Tools > Plugins and select the Available Plugins tab.
    • Ensure that the entries are sorted in ascending Category order. Click the Category column header to do that if necessary.
    • Scroll down and locate the entries for the Category named Java Web and EE.
    • Under the Install column check all of those entries:

    • Click the Install button to install those checked Java Web and EE plugins.

    • Follow the instruction for the Installer wizard. The requested plugins will be downloaded and installed, and you will be invited to click Finish to restart NetBeans.
    • After the restart select File > New Project.... There should be new entries in the Categories list named Java Web and Java EE, allowing you to create web and EE applications:

    Troubleshooting:

    • If there are no entries for Java Web and EE on the Available Plugins tab then update your question with a screen shot of Tools > Plugins > Settings.
    • If the plugins appear to install correctly but Java Web and Java EE are still not available under the Project Wizard after a restart then update your question with:
      • A screen shot of Tools > Plugins > Installed, with the User Installed Plugins entry selected.
      • The recent content of the NetBeans log (View > IDE Log).

    这篇关于如何在 Apache Netbeans 10 中创建 Web 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆