<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

## Ask your question here

![6MJU8B7(S{ID~1IHN}U(@ W](https://github.com/apache/dubbo/assets/31852897/c424399e-b890-427d-acd0-e8f839a0f57e)
现在都用 @DubboService 注解了 然而每次启动还会报 @Service 扫描不到的警告 这是不是有点非必要啊

Map<String, Object> serviceAnnotationAttributes = AnnotationUtils.getAttributes(service, true);
        String serviceInterface = resolveInterfaceName(serviceAnnotationAttributes, beanClass);
        String annotatedServiceBeanName = beanDefinitionHolder.getBeanName();
        
        String beanName = generateServiceBeanName(serviceAnnotationAttributes, serviceInterface);
        AbstractBeanDefinition serviceBeanDefinition =
                buildServiceBeanDefinition(serviceAnnotationAttributes, serviceInterface, annotatedServiceBeanName);
        registerServiceBeanDefinition(beanName, serviceBeanDefinition, serviceInterface);
    }
    /**
     * Find the {@link Annotation annotation} of @Service
     *
     * @param beanClass the {@link Class class} of Bean
     * @return <code>null</code> if not found
     * @since 2.7.3
     */
    private Annotation findServiceAnnotation(Class<?> beanClass) {
        return serviceAnnotationTypes
                .stream()
            .map(annotationType ->
                ClassUtils.isPresent("org.springframework.core.annotation.AnnotatedElementUtils",
                    Thread.currentThread().getContextClassLoader()) &&
                ReflectUtils.hasMethod(org.springframework.core.annotation.AnnotatedElementUtils.class, "findMergedAnnotation") ?
                    org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation(beanClass, annotationType) :
                    org.apache.dubbo.common.utils.AnnotationUtils.findAnnotation(beanClass, annotationType))
                .filter(Objects::nonNull)
                .findFirst()
                .orElse(null);
    }
    /**