与woodstock的老netbeans网app

时间:2014-05-20 13:46:00

标签: java netbeans woodstock

我有同样的问题: 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没有太多经验,所以任何帮助将不胜感激。我意识到这已经过时了,应该可以迁移到别的东西,但是现在我想做一些小编辑而不想重写所有内容。

谢谢!

1 个答案:

答案 0 :(得分:0)

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