[ https://issues.apache.org/jira/browse/FELIX-3620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436519#comment-13436519 ]
Justin Edelson commented on FELIX-3620: --------------------------------------- gotcha. makes sense. > using @SlingServlet and @Service without generateService = false should > produce an error > ---------------------------------------------------------------------------------------- > > Key: FELIX-3620 > URL: https://issues.apache.org/jira/browse/FELIX-3620 > Project: Felix > Issue Type: Bug > Components: Maven SCR Plugin, SCR Annotations > Affects Versions: maven-scr-plugin-1.7.4 > Reporter: Justin Edelson > Priority: Minor > > If you annotate a class with > @Component > @SlingServlet(paths="/bin/foo") > you get an error like this: > Class <class> has more than one scr.component tag. Merge the tags to a single > tag. at Java annotations in <class>:8 > Which is correct because you should add generateComponent = false to the > @SlingServlet annotation. > However, the same is not true with @Service and @SlingServlet. > @Service > @SlingServlet(paths="/bin/foo") > should produce a similar error -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira