Sounds like a CLASSPATH issue. Make sure the cas.fap.yun.ExampleBean is in the classpath.
If you're running inside of an AppServer you may need to pass in the appropriate class loader: ClassLoader cl = cas.fap.yun.ExampleBean.class.getClassLoader(); Mapping mapping = new Mapping ( cl ); mapping.loadMapping( "mappng.xml" ); --Keith narenkumar wrote: > > My mapping.xml file is unable to find the class name (even though i > provided 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 to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
