Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

java studio creator error

Thread view: 
javajedi - 22 Jul 2006 17:37 GMT
i am very new to sun stdio creator 2.0 .i installed sun stdio
and i created new project and in created one jsp page.
and i clicked on java tab corresponding to that page
this rave package is not identifing by my creator

/* these classes are not idenfied by creator 2.0*/

import com.sun.rave.web.ui.appbase.AbstractPageBean;
import com.sun.rave.web.ui.component.Body;
import com.sun.rave.web.ui.component.Form;
import com.sun.rave.web.ui.component.Head;
import com.sun.rave.web.ui.component.Html;
import com.sun.rave.web.ui.component.Link;
import com.sun.rave.web.ui.component.Page;
.

public class Page1 extends AbstractPageBean {

}

so in design tab
i am getting an error

source file error
Page1.java:1: Java class must be a direct subclass of one of the
following com.sun.jsfcl.app.AbstractPageBean,
com.sun.rave.web.ui.appbase.AbstractPageBean,
com.sun.rave.web.ui.appbase.AbstractFragmentBean.

please help me

how to set classpath for creator for accessing this rave package

how to resolve this problem
David Segall - 23 Jul 2006 13:24 GMT
>how to set classpath for creator for accessing this rave package
>
>how to resolve this problem
I don't understand your problem because the .rave. packages are part
of Creator and should be available. In case it is some other import
that is the cause of your problem right click anywhere in your Java
code and select "Fix Imports".
javajedi - 28 Jul 2006 13:03 GMT
I found the solution. If you change the setup directory of Java Studio
Creator like C:sun/ instead of its default directory, it wont work.
Beacuse of build.xml file, if you change the directory you also change
the directory information in this file. So I suggest not to change the
deafult directory.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.