It's not a secret anymore!
The moose likes Web Services and the fly likes class [...] has neither @WebService nor @WebServiceProvider annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "class [...] has neither @WebService nor @WebServiceProvider annotation" Watch "class [...] has neither @WebService nor @WebServiceProvider annotation" New topic

class [...] has neither @WebService nor @WebServiceProvider annotation

Brian Mulholland
Ranch Hand

Joined: Mar 12, 2009
Posts: 61
I am learning web services with wsdl. I have a helloworld working which is fine. But as soon as I try to make the service spring managed and inject my hibernate classes, I get:

But my TransService DOES have @WebService. Here's what it looks like right now (I've changed a few things as I've experimented trying to solve the problem).

My app-config says:

Am I doing this wrong?
I agree. Here's the link:
subject: class [...] has neither @WebService nor @WebServiceProvider annotation
jQuery in Action, 3rd edition