I have a problem in my spring-ws-servlet.xml file to define a endpoint im doing it this way:
<bean id="MM7Endpoint" class="pl.famoc.test.ws.FamocCaEndpoint" />
but i got the Error with code:
Class 'pl.famoc.test.ws.FamocCaEndpoint' not found
And i am sure that FamocCaEndpoint.java which contain deffinition of my @Endpoint is in the package pl.famoc.test.ws Any hints?
Try to instantiate your “by hand” in your main method or servlet. If you get a
ClassNotFoundExceptionsomething might be wrong with your runtime classpath. Note that under certain circumstances, this exception is also thrown when a depend class was not found when the static constructor was invoked (=the first time the class failed to instantiate). All subsequent attempts to instantiate the class will just give you the CNF-Exception. So it might be worth looking out for exceptions that might be thrown prior to this.