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 Re: Flowscript class not found problem
Date Sun, 22 May 2005 17:36:58 GMT
hi mike,

that's a good point. i just tried it with the same result. Yes i restarted
tomcat before doing it...

Greetings,
CarlosN.

On Sun, 22 May 2005, Michel Erard wrote:

> 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: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>> 
>> 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message