I have a class and i want to annotate it as a service. What i did is:
@Service
public class PaymentInTermsServiceImpl implements PaymentInTermsService {
@Override
public SOAPMessage createSOAPMessage(String clientNumber, OrderData order, String accUrl, String refUrl, String rejUrl) throws SOAPException
{
Now Eclipse gives an error saying: “Cannot convert form service to annotation”
I have this in my frontend-servlet.xml
<!-- Scan for annotation configured controller -->
<context:component-scan base-package="frontend.web.*"/>
You are probably importing another
Serviceclass that is not the spring@Serviceannotation. The FQN isorg.springframework.stereotype.Service