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: hellozengs...@gmail.com To: java-user@axis.apache.org 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