Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
javax.el.ELContext cannot be resolved error when adding FaceletContext jsf maven built
Joined: Mar 19, 2013
Mar 19, 2013 13:59:47
I have this error when I added those lines in one method of managed bean : I fixed the imports of my project but no result I use
spring jsf and hibernate
here is the error :
Unresolved compilation problem: The type javax.el.ELContext cannot be resolved. It is indirectly referenced from required .class files
here the lines that causes error :
FaceletContext faceletContext = (FaceletContext) FacesContext.getCurrentInstance().getAttributes().get(FaceletContext.FACELET_CONTEXT_KEY); String formId = (String) faceletContext.getAttribute("hiddenIds");
do you have any idea
Joined: Oct 01, 2001
Mar 19, 2013 16:31:18
Hi Simon, welcome to JavaRanch!
and I have dependencies for both
and EL defined:
<dependency> <groupId>org.jboss.spec.javax.el</groupId> <artifactId>jboss-el-api_2.2_spec</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.spec.javax.faces</groupId> <artifactId>jboss-jsf-api_2.0_spec</artifactId> <scope>provided</scope> </dependency>
Do you have both of those (or equivalent) in your POM?
It is sorta covered in the
JavaRanch Style Guide
subject: javax.el.ELContext cannot be resolved error when adding FaceletContext jsf maven built
How to Upgrade GWT 2.0.4 to GWT 2.2.0
All of a sudden many of my imports are underlined in red, that goes away when I retype them..
How to use custom tag?
Has anybody successfully run the Virtual Trainer application in "JSF Complete Reference"?
"maven site" fails on tests, while "maven test" runs without failures
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013