Meaningless Drivel is fun!*
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?
jQuery in Action, 2nd edition
subject: class [...] has neither @WebService nor @WebServiceProvider annotation
Similar Threads
Problem about :Config the EventListener (org.hibernate.event) in ApplicationContext.xml
Problems with Spring Validation JSR 303 annotation-driven
java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception
Configure LDAP security for Spring 3.1.0
LOrdering Error wile starting Tomcat 7 server using Richfaces 4.1 and JSF 2.0