简体   繁体   English

与netstock的旧netbeans Web应用程序

[英]Old netbeans web app with woodstock

I am having pretty much this same issue: JavaEE/NetBeans Library Referencing 我遇到了几乎相同的问题: JavaEE / NetBeans库引用

I have done what is suggested by downloading Netbeans 6.7 and Glassfish 2, but I still don't have the libraries needed. 我已经完成了下载Netbeans 6.7和Glassfish 2的建议,但是我仍然没有所需的库。

Here's what one of my files looks like: 这是我的文件之一:

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;

I do not have any of the com.sun... packages and can't seem to find them anywhere. 我没有任何com.sun ...软件包,而且似乎在任何地方都找不到它们。

I don't have very much experience with web apps/netbeans so any help would be appreciated. 我在网络应用程序/ netbeans方面没有太多经验,因此将不胜感激。 I realize that this is very outdated and should probably be migrated to something else, but for now I'd like to just make a few small edits and would rather not rewrite everything. 我意识到这已经过时了,应该将其迁移到其他地方,但是现在我只想进行一些小的编辑,而不愿意重写所有内容。

Thanks! 谢谢!

I originally had opened the project in a newer version of Netbeans that didn't have Wodostock/JSF. 我最初是在没有Wodostock / JSF的较新版本的Netbeans中打开该项目的。 For some reason, it wouldn't work when opening with the older version of Netbeans. 由于某些原因,在使用旧版本的Netbeans打开时,它将无法正常工作。 However, after deleting it and opening it again with the old version first, it worked. 但是,删除它并首先使用旧版本重新打开后,它可以工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM