• 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

PhaseListener problems com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am quite new to java and JSF. I have a project I built using seam-gen. In trying to understand JSF better I am trying to implement a simple PhaseListener that I got off someone's blog. Here it is:



I added it to my faces-config.xml file:



And now I get this error when I try and build my project:



a whole bunch more of the stack trace I'm leaving off -- someone tell me if it's useful.

What is going on here? Please only ask which JSF I'm using if you tell me how to find out which JSF I am using. I only know I'm using what came out of the box with Seam.

I so so so want to understand this stuff!

TDR
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

dne.nmt.ond.action.MyPhaseListener



Well, it certainly seems that at runtime, the class you have created cannot be picked up by your runtime environment?

Do you know where the compiled class sits on your classpath, and for that matter, if it can be picked up by your runtime environment?

-Cameron McKenzie
 
Tanya Ruttenberg
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The class sits with all the other action classes in package dne.nmt.ond.acton and these are always picked up at compile time.

I have about 10 action classes in the same package all working correctly. Except this one. The other classes are Seam entities and therefore not included in the faces-config.xml file.

I'm using eclipse and used eclipse's auto-complete/auto-find feature to find this class so eclipse is finding it in the classpath, too.

I tried to add something else once to faces-config.xml and JSF was unable to locate that, too. Same problem, different task. I can't remember what. There is something amiss with my JSF configuration I think. But I don't really understand it very well yet so I'm not sure.

Thanks,
TDR
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic