0

在 Ubuntu 10.10 Beta 上使用 Netbeans 6.9.1,当我尝试创建一个新的 Web 应用程序时,框架页面上的所有复选框都是可选的。这是我的确切步骤:

  1. 文件 > 新项目
  2. 从类别中选择 Java Web,从项目中选择 Web 应用程序,然后单击下一步
  3. 接受名称和位置页面上的默认值,然后单击下一步
  4. 接受服务器和设置页面上的默认值(服务器:GlassFish Server 3;Java EE 版本:Java EE 6 Web,然后单击下一步

在 Frameworks 页面上,出现了 6 个带有复选框的选项(Google Web Toolkit、Spring Web MVC、Echo2 ...),但我不知道如何检查一个。我可以在我的 Windows 机器上运行相同版本的 Netbeans。我在 Netbeans 中安装了所有可用的插件。

我错过了什么?

4

4 回答 4

1

我遇到了同样的问题...经过多次尝试解决此问题后,我从软件中心删除了netbeans,手动安装了它..现在一切正常:D

我确实相信回购中的netbeans是6.9,我安装了6.9.1(在ubuntu 10.10上)

我还安装了 sun java sdk: sudo apt-get install sun-java6-jdk

于 2010-11-13T22:09:32.013 回答
1

after a lot of searching, I found a solution. In my case it seemed to be open-jdk that was causing the issue...

I wrote the solutions down here: http://netbeans.org/bugzilla/show_bug.cgi?id=191959

hope it helps... dGo

于 2010-11-15T15:57:08.423 回答
0

试试这个:首先,在不选择框架的情况下创建项目,然后在其属性中选择要使用的框架。

于 2010-11-10T12:43:54.280 回答
0

Here you go, I ran into the same problem and finally figured out how to resolve it

Go to Tools > Plugins > Installed Plugins (Tab)

You will find the following plugins there

  • Java SE
  • Java ME
  • Groovy
  • Base IDE
  • Java Web and EE

Ensure that Java SE, Base IDE, Java Web and EE plugins are active, if not activate them. You should all set from there.

于 2011-03-01T18:02:59.353 回答