That's an odd one. Can you please create a new bug report at
http://jira.codehaus.org/browse/CASTOR, and include all relevant
information, incl. e.g. a JUnit test case that highlights waht you are
tyring to do ?
Thanks
Werner
[EMAIL PROTECTED] wrote:
> I am using Castor in a web app (Tomcat) to marshall
> beans and all works well.
>
> But trying to use Castor with Spring has not worked.
> The following line in my servlet produces the error:
> Marshaller marshaller = (Marshaller)
> ctx.getBean("marshallerBean");
>
> Am I using the correct Jars?
>
>
> Jars I am using:
> spring-xml-1.0-20061022.201802-1.jar
> castor-1.1.1-xml.jar
>
>
> java.lang.NoSuchMethodError:
> org.exolab.castor.xml.Marshaller.setDebug(Z)V
>
> org.springframework.xml.castor.CastorMarshallerFactoryBean.getObject(CastorMarshallerFactoryBean.java:93)
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForSharedInstance(AbstractBeanFactory.java:760)
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
>
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:534)
>
> com.checkpoint.soc.webservices.rest.server.WebServiceController.getWebServiceImplementation(Unknown
> Source)
>
> com.checkpoint.soc.webservices.rest.server.WebServiceController.doGet(Unknown
> Source)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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