You are welcome.

Werner

Singh, Harjit wrote:
> That was the problem. I had to do that because when the Mapper was using
> the default class loader it somehow was losing the classpath hierarchy
> and just had the the jars with which tomcat had started.
> 
> Thanks
> 
> - Harjit 
> 
> -----Original Message-----
> From: Werner Guttmann [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, May 20, 2007 4:17 PM
> To: [email protected]
> Subject: Re: [castor-user] Pojo Class not being Found in Tomcat
> 
> Not knowing a lot about your environment, have you tried to set a class
> loader on your (Un)Marshaller instance ?
> 
> Werner
> 
> Singh, Harjit wrote:
>> Hi there,
>>
>>
>> I have a webapplication in which I'm using castor. When I try to 
>> unMarshall the Pojo I get this error
>>
>> Caused by: com.nasd.fms.util.FileReaderValidatorException: Error 
>> initializing File Reader/Validator
>> Interfaceorg.exolab.castor.mapping.MappingException: Nested error:
>> org.exolab.castor.mapping.MappingException: Could not find the class 
>> com.nasd.fms.framework.database.hibernate.pojo.ChronologyItem
>>
>> If I have the library in the WEB-INF/lib of the webapp but it still 
>> doesn't seem to find it. Has anybody seen this issue.
>>
>> Thanks
>>
>> - h
>>
>>
>> This email, including attachments, may include confidential and/or 
>> proprietary information, and may be used only by the person or entity 
>> to which it is addressed.  If the reader of this email is not the 
>> intended recipient or his or her authorized agent, the reader is 
>> hereby notified that any dissemination, distribution or copying of 
>> this email is prohibited. If you have received this email in error, 
>> please notify the sender by replying to this message and delete this 
>> email immediately.
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> This email, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed.  If the reader of this email is not the 
> intended recipient or his or her authorized agent, the reader is 
> hereby notified that any dissemination, distribution or copying of this 
> email is prohibited. If you have received this email in error, 
> please notify the sender by replying to this message and delete this 
> email immediately.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to