RE: axis2 Could not identify the Annotation

Martin Gainty <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
if your intention is to PUBLISH a service you should annotate with @Produces
https://jsr311.java.net/nonav/javadoc/javax/ws/rs/Produces.html
(the container WILL USE THE VALUE of the Produces when sending a response)
If on the other hand the container sees no acceptable value for Produces
"If no such method is available the container must respond with a HTTP "406 Not Acceptable" as specified by RFC 2616"

HTH,
Martin


  





Date: Sat, 12 Oct 2013 16:08:26 +0800
From: [email protected]
To: [email protected]
Subject: axis2 Could not identify the Annotation




axis2-1.6.2 Deploy tomcat7.0 
console:

Could not identify the Annotation....
Could not identify the Annotation....
 
my code: 
@Service("iMSServiceImpl") 
public class SimpleServiceImpl implements SimpleService{

@Autowired
@Qualifier("iMSServiceFunction")
private SimpleDao simpleDao;
}
 
out Could not identify the Annotation Tips for how to solve this 


hellozengsong@gmail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.