I post this, not because I'm stuck but in case someone else encounter the same issue. The problem is related to JChart included in ICE Faces with Seam gen.
I just downloaded a fresh install of JBoss Seam 2.1.0.A1 with a new install of JBoss 4.2.2.GA.
I created a new project with ICE Faces using seam gen. In home.xhtml I inserted the following iceface part to create a 3D Pie Chart:
<ui:define name="body"> <ice:form> <ice:panelGrid columns="1" columnClasses="leftMenu"> <ice:outputChart type="pie3d" chartTitle="Network Health" labels="OK,WARN,ERROR,FATAL" data="80,10,5,5" colors="green,yellow,orange,red" /> </ice:panelGrid> </ice:form> </ui:define>
When I tried to deploy with seam explode, the
Caused by: java.lang.NoClassDefFoundError: org/krysalis/jcharts/Chart at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.getDeclaredMethods(Class.java:1763) at ... ...
It seems that the following jar is missing in the EAR
I updated my build.xml in my project in the EAR ant target, so that the file is included within the EAR.
I also downloaded the latest version of ICE Faces, tried to launch seam-gen and specified the iceface home folder, but it seems that it's the seam-gen script that does not copy the jar file krysalis-jCharts-1.0.0-alpha-1.jar to the lib folder.
I'll also fill a bug on JIRA.