voyent
NoClassDefFoundError  XML
Forum Index -> General Help
Author Message
Newlukai

Joined: 29/Nov/2006 00:00:00
Messages: 125
Offline


Hi,

I know, it's a damn little mistake I made, but I don't know how to solve it:
I want to use the method "renderLater()" on the PersistentFacesState. So I added a state member in my SFSB. The problem now is: The class definition can't be found at server start. The app is packaged to an EAR:

Code:
app.ear
   META-INF
     application.xml
     jboss-app.xml
   app.jar
     com.app.*.java
     META-INF
       ejb-jar.xml
       persistence.xml
     seam.properties
   app.war
     com.app.*.properties
     css
     img
     js
     META-INF
     WEB-INF
       lib
         commons-fileupload.jar
         el-api.jar
         el-ri.jar
         icefaces-facelets.jar
         icefaces.jar
         jboss-seam-debug.jar
         jboss-seam-ui.jar
         selectitems-ui.jar
         selectitems.jar
       components.xml
       faces-config.xml
       navigation.xml
       web.xml
     *.xhtml
   icefaces-comps.jar
   icefaces.jar
   jboss-seam.jar


I assume that the icefaces.jar has to be included in the app.jar, since the bean needs it. But I don't really know how (I feel like somebody formatted my brain ;)). And I don't know why, because all those other classes like ValueChangeEvent and so on are found.

Can somebody put me on the right track?

Thanks in advance
Newlukai
Newlukai

Joined: 29/Nov/2006 00:00:00
Messages: 125
Offline


Got it. I had to include it in the application.xml.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team