hi carlos,
did you made an import like this
"importClass(Packages.ch.bfh.hti.elquerito.User);" in your flowscript
file?
regards,
Mike
Am 22.05.2005 um 19:07 schrieb Carlos M. S. Bento Nogueira:
Hello!
I'm using cocoon 2.1.7 on tomcat 5.5 and in my
flowscript when i do:
cocoon.getComponent(Packages.hib.PersistenceFactory.ROLE)
i always get this exception:
java.lang.NoClassDefFoundError: hib/PersistenceFactory$1 .
This PersistenceFactory class is in
\Web-inf\classes\hib\
and the role is declared on
\Web-inf\cocoon.xconf
as
<component class="hib.HibernateFactory" role="hib.PersistenceFactory"/>
What can be the problem here??
The PersistenceFactory is an interface class and Role is a string of
this
type:
String ROLE = PersistenceFactory.class.getName();
Thanks in advance for your patience and help,
CarlosN.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]