【问题标题】:Old netbeans web app with woodstock带有woodstock的旧netbeans web应用程序
【发布时间】:2014-07-08 19:42:17
【问题描述】:

我遇到了几乎同样的问题: JavaEE/NetBeans Library Referencing

我已经完成了下载 Netbeans 6.7 和 Glassfish 2 的建议,但我仍然没有所需的库。

这是我的一个文件的样子:

import com.sun.data.provider.RowKey;
import com.sun.data.provider.impl.CachedRowSetDataProvider;
import com.sun.rave.web.ui.appbase.AbstractPageBean;
import com.sun.sql.rowset.CachedRowSetXImpl;
import com.sun.webui.jsf.component.Body;
import com.sun.webui.jsf.component.Button;
import com.sun.webui.jsf.component.DropDown;
import com.sun.webui.jsf.component.Form;
import com.sun.webui.jsf.component.Head;
import com.sun.webui.jsf.component.Html;
import com.sun.webui.jsf.component.Label;
import com.sun.webui.jsf.component.Link;
import com.sun.webui.jsf.component.MessageGroup;
import com.sun.webui.jsf.component.Page;
import com.sun.webui.jsf.component.StaticText;
import com.sun.webui.jsf.component.TextField;
import com.sun.webui.jsf.model.SingleSelectOptionsList;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.faces.FacesException;
import javax.faces.component.UISelectItems;
import javax.faces.component.html.HtmlSelectOneMenu;
import javax.faces.event.ValueChangeEvent;
import javax.sql.rowset.CachedRowSet;

我没有任何 com.sun... 包,似乎在任何地方都找不到它们。

我对网络应用程序/netbeans 没有太多经验,因此我们将不胜感激。我意识到这是非常过时的,可能应该迁移到其他东西,但现在我只想做一些小的编辑,而不是重写所有内容。

谢谢!

【问题讨论】:

  • 在 netbeans 中安装 glassfish 并将它们添加为服务器运行时库

标签: java netbeans woodstock


【解决方案1】:

我最初是在没有 Wodostock/JSF 的较新版本的 Netbeans 中打开该项目的。出于某种原因,使用旧版本的 Netbeans 打开时它不起作用。但是,删除它并先用旧版本再次打开后,它可以工作。

【讨论】:

    猜你喜欢
    • 2013-01-11
    • 2016-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-25
    • 1970-01-01
    相关资源
    最近更新 更多