如何在 netbeans 8 中安装 struts2

how to install struts2 in netbeans 8

我需要安装 struts2,因为 netbeans 新版本 8.* 仅随 struts 1.3.* 的旧版本一起提供。我在网上到处搜索,但找不到任何合适的答案。他们在某个地方建议下载我从 http://plugins.netbeans.org/plugin/39218

下载的插件 nbstruts2support-nb6.9.1

在它的 zip 中有 struts2 的三个插件,所以我已经成功安装了其中的两个,但是当我尝试安装第三个插件文件 struts2 Support 时,它给了我这个错误和无法安装。

Some plugins require plugin Editor Library to be installed. The plugin Editor Library is requested in version >= 2.10.1.10.2 (release version 2) but only 3.49.2.22.43 (of release version different from 2) was found. The following plugin is affected:       Struts2 Support

忘记插件吧,它没有 Struts 1.x 中那么有用,而且没有任何插件能够提供 完整 支持Struts2。但是,Struts2 拥有自己的插件库。他们每个人的工作方式都不同,您必须学习文档和示例。