Hi,
you should double check, if there's
(class="mycompany.generic_soap_provider_bridge.ServiceClient") no typo
inside your context. If the class is in your classpath, Spring will find it.
Best regards - Claus
On 15.04.2011 16:29, Naira & Kobo wrote:
Hi,
Thanks for your response.
However, in my camel-context, I referenced a class which is part of the same
project. but it kept throwing excpetion:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
class [mycompany.generic_soap_provider_bridge.ServiceClient] for bean with
name 'serviceClient' defined in class path resource
[META-INF/spring/HTTPMethodTester-context.xml]; nested exception is
java.lang.ClassNotFoundException:
mycompany.generic_soap_provider_bridge.ServiceClient
How do I ensure d classes in my project can be loaded when I run the test?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Unit-Testing-with-Spring-tp4271068p4305692.html
Sent from the Camel - Users mailing list archive at Nabble.com.