File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Run error Jsf Exception initializing page context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Run error Jsf Exception initializing page context" Watch "Run error Jsf Exception initializing page context" New topic
Author

Run error Jsf Exception initializing page context

Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
guys im new at java i just installed netbeans 6.5 and i am using glassfish v2 u2 i am trying to do the beginner tutorial on the page

http://www.netbeans.org/kb/docs/web/helloweb.html#06a

i am at RUNNING THE APLICATION but i can not continuebecause i have this error


i have no idea please guys, i need some back up thanks for the help
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

"rrc rrc " please check your private messages for an important administrative matter.


SCJP, SCWCD.
|Asking Good Questions|
Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
changed sorry
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Have you placed the jar containing class javax/el/ELResolver. Please check. I also faced these types of problems a lot of times. They got solved after putting the jars in the lib folder.


My Blog SCJP 5 SCWCD 5
Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
should i add this class in library???

where do i find this jar i am pretty new on java

i apreciate all your help
[ November 24, 2008: Message edited by: Ramon Rodriguez Carreon ]
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

This is the location to download the jar which has all the class files.

Link to download jar

Hope this may solve your problem.
Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
thanks men so the files are not on the glassfish v2 folder? iw ill try to add the jars now
Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
men i added the file that you passed me and now check this,,



[ November 24, 2008: Message edited by: Ramon Rodriguez Carreon ]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Originally posted by Ramon Rodriguez Carreon:
changed sorry


Thank you for the change
Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
i need help i tryed to add the el.revolver jar for the class i add on the project via jar library and selected the file
but is stil the same, i dont knwo why is that hard to configure the netbeans 6.5 and glassfish help please
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

ELResolver has to be added to the server library directory in Tomcat 5. It's already there and doesn't need to be added for Tomcat 6.

As for Glassfish, I'd expect it to already be there for up-to-date Glassfish releases, since Glassfish is a more complete implementation of JEE than Tomcat is.

In any event, you shouldn't include the EL jar in the application itself. If you must add it, add it the the server's internal classpath.

I think this also applies to the JSF implementation classes for Glassfish - I know it does with recent versions of JBoss.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ramon Rodriguez Carreon
Greenhorn

Joined: Nov 24, 2008
Posts: 7
so i have to add the javax.el.jar to glassfish/lib directory?

i already added the javax.el.ar to the glassfish lib and still not working and trying adding to the project library and is also not working is the same message
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run error Jsf Exception initializing page context