Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forums:
JSF
Other Build Tools
javax.el.ELContext cannot be resolved error when adding FaceletContext jsf maven built
simon tifo
Greenhorn
Posts: 2
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
maven
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
thanks
Greg Charles
Sheriff
Posts: 3063
12
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Simon, welcome to JavaRanch!
I'm using
JBoss
and I have dependencies for both JSF 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?
I don't always make ads but when I do they're tiny
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
"maven site" fails on tests, while "maven test" runs without failures
All of a sudden many of my imports are underlined in red, that goes away when I retype them..
How to Upgrade GWT 2.0.4 to GWT 2.2.0
How to use custom tag?
Has anybody successfully run the Virtual Trainer application in "JSF Complete Reference"?
More...