cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos M. S. Bento Nogueira" <cm...@student.dei.uc.pt>
Subject Flowscript class not found problem
Date Sun, 22 May 2005 17:07:40 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message