| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/07/2010 09:24:12
|
badera
Joined: 17/06/2010 02:25:28
Messages: 13
Offline
|
Hi all,
after taking the risk today and installing ICEFaces 2 into Netbeans 6.9, I got some trouble and am not able to get rid off it.
After getting in trouble, I removed the 2.0 and configured back to 1.8.2. Since then all I get when I try to run my project is this error:
SCHWERWIEGEND: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: jndi:/localhost/MyWebApp/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.icesoft.faces.facelets.D2DFaceletViewHandler'
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:215)
This entry is contained in the faces-config.xml:
Code:
<application>
<view-handler>com.icesoft.faces.facelets.D2DFaceletViewHandler</view-handler>
<resource-bundle >
<base-name>com.custom.mywebapp.resources.Messages</base-name>
<var>res</var>
</resource-bundle>
</application>
In the project properties I have "ICEfaces 1.8.2a Support" and "icefaces-runtime" in the libraries.
I also added the jars icefaces.jar, icefaces-comps.jar and icefaces-facelets.jar, but it does not help. What can I do now?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/07/2010 10:25:39
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1196
Offline
|
Which application server are you using? If it's tomcat, make sure to add in the jsf jars (1.2 if you are using 1.8.x, and jsf2.0 if using ICEfaces-2.0)
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/07/2010 10:57:32
|
badera
Joined: 17/06/2010 02:25:28
Messages: 13
Offline
|
Hi,
although I already had the JSF 1.2_13RI in the libraries, I added the jsf-api.jar and jsf-impl.jar due to your hint, but still no change. :-(
What puzzles me too: In spite of these many errors, my web app at least starts in the browser, although I don't know how far, it is just a simple xhtml site without any functionality up to now. But I guess I cannot ignore all the errors for long?!
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 28/07/2010 09:53:29
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1196
Offline
|
Still not sure which application server you are using, but it's always a good idea to clean it up (remove temporary files and previously deployed applications and files), then try again. Be careful that you don't have 2 copies of the jsf jars if you are deploying to tomcat. (Glassfish already has jsf jars bundled within it)
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/07/2010 04:38:47
|
badera
Joined: 17/06/2010 02:25:28
Messages: 13
Offline
|
Hi,
I am using Tomcat 6.0.26. However, I changed nothing but now the errors are gone. A candidate for the x-files.
Thanks anyway for trying to help me!
|
|
|
 |
|
|