我也有同样的问题: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没有太多的经验,所以如果能提供任何帮助,我将不胜感激。我意识到这是非常过时的,可能应该迁移到其他的东西上,但是现在我只想做一些小的编辑,并且不想重写所有的东西。
谢谢!
发布于 2014-05-20 15:40:31
我最初是在一个新版本的Netbeans中打开这个项目的,它没有Wodostock/JSF。由于某些原因,当打开旧版本的Netbeans时,它无法工作。但是,在删除它并首先用旧版本重新打开它之后,它起了作用。
https://stackoverflow.com/questions/23761594
复制相似问题