-
1. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
nickarls Mar 4, 2008 8:38 AM (in response to stefans)Tried running seam-gen and dropping your component jar file into the war?
-
2. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
stefans Mar 4, 2008 9:14 AM (in response to stefans)Hi,
I based the whole migrated project on a seam-gen generated project. Dropping my component jar file into the war - alongside the richfaces, facelets and jboss-seam* jars also resulsts in a NoClassDefFoundError as I also have direct dependencies between my action beans and my custom components - as mentioned above. -
3. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
stefans Mar 5, 2008 6:08 PM (in response to stefans)hi
some updates - i tried the following without any success:
a) put jboss-seam-ui.jar and my custom component jar into the JBoss jsf-lib folder alongside the Sun JSF RI
b) put them into the root ear directory alongside the jboss-seam.jar and register them as modules in the application.xml
unfortunately neither of the two approaches worked. I am getting really desperate here. any suggestions??
thx
Stefan -
4. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
keithnaas Mar 5, 2008 7:18 PM (in response to stefans)Simple approach that works for us:
Put all the jars in the ear, and add Classpath entries for all ear jars in the MANIFEST.MF of the war.
-
5. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
stefans Mar 6, 2008 1:19 PM (in response to stefans)Thanks a lot. worked like a charm!!
-
6. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
gzoller.greg.zoller.aviall.com Aug 21, 2008 11:37 PM (in response to stefans)I think I'm having similar issues. Can some please post an example? I added a MANIFEST.MF and attempted to set classpath entries there but didn't do something right. All kinds of fireworks when JBoss starts up.
In my ear file I have foo.jar, foo.war, lib, and META-INF.
I moved all 3 richfaces-xxx.jar files into my ear's lib directory.
Then I went into foo.war and created a META-INF directory and put a MANIFEST.MF file in there containing:Class-Path: ../../lib/richfaces-impl.jar ../../lib/richfaces-ui.jar ../../lib/richfaces-api.jar
It wasn't happy.
Any ideas?
Greg -
7. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
blabno Aug 22, 2008 12:21 PM (in response to stefans)Path must be relative to ear root.
Class-Path: lib/
or
Class-Path: lib/richfaces-impl.jar lib/richfaces-ui.jar lib/richfaces-api.jar
-
8. Re: Seam 2.0 migration - jboss-seam-ui.jar problem
spider05 Mar 24, 2011 12:30 AM (in response to stefans)This solution does not work for me. Who would it work?