use seam-gen to generate a project skeleton and you will most likely avoid this problem...
Should it not have been org.jboss.seam.core.Expressions which is located in the jboss.seam.jar.
In 2.1.2 I see org.jboss.seam.core.Expressions.
I am assuming that you are deploying in an ear? If so try putting the library in the ear lib directory (and make the appropriate application.xml entry if using 4.x) and it should work.
For an EAR deployment, you should see this in application.xml:
<module> <ejb>jboss-seam.jar</ejb> </module>
Otherwise, do a seam-gen like I said and then compare the code via diff, etc.
thanks for answering :
was talking to myself -- trying to get to the answer:
refference When the taskBackButton I will read it and come back <<<<<
-Clearly ear deployed but jboss 5.1
I'm not referencing anithing in project.jar ...
but I've a common library in Jboss/default/lib assisting both ear and Taglib code
this code seems to run fine and is working in theTaglib... UIComponent classloader
apearently I can not access jboss-seam.jar ....
wich is properly specified in application.xml (i think nothing would work if I made my mistake there ...
I trap the ClassNotfound error just logging output and the application definitly runs fine
asside from calling seam-core
-Seam-gen sure but it does not realy support taglib development .... I'm trying <<<
-expresion(s) was clearly a typing error
Checked the WhenTheBackButtonDoesNotWork
as far as I can see it does not apply
I'm not using page navigation yet
and the application is independent and simple
input and output few strings to a database (application works)
I use it as a simple environment just to call my new UIcomponent
but for now I have a zero impact on the application (none)
This is a classloading issue, if you put your taglib in the root of the ear it should start working.
In the diagram your taglib is being loaded by 'WarLoader' and jboss-seam.jar is being loaded by 'EJB ENCLoader'. These loaders are isolated so your taglib cannot access the classes declared in jboss-seam.jar. Just move the taglib out of WEB-INF/lib and into the EAR.