Thanks Keith, it works fine - regards, kumar.
--- On Wed 01/29, Keith Visco < [EMAIL PROTECTED] > wrote:
From: Keith Visco [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Wed, 29 Jan 2003 13:52:10 -0600 Subject: Re: [castor-dev] Mapping exception
Sounds like a CLASSPATH issue. Make sure the cas.fap.yun.ExampleBean isin the classpath.If you're running inside of an AppServer you may need to pass in theappropriate class loader:ClassLoader cl = cas.fap.yun.ExampleBean.class.getClassLoader();Mapping mapping = new Mapping ( cl );mapping.loadMapping( "mappng.xml" );--Keithnarenkumar wrote:> > My mapping.xml file is unable to find the class name (even though i> p!
rovided the full package structure)> I was trying to marshall it and got exception> > Exception = org.exolab.castor.mapping.MappingException: Nested error:> org.exolab.castor.mapping.MappingException: Could not find the class> cas.fap.yun.ExampleBean> > Do any of the list know what exactly is happening> > regards,> kumar> > ----------------------------------------------------------------------> No banners. No pop-ups. No kidding.> Introducing My Way - http://www.myway.com----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev |
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com