[Question] ShenyuDubboService, but `IllegalArgumentException: Annotation must not be null`
See original GitHub issueQuestion
java.lang.IllegalArgumentException: Annotation must not be null
at org.apache.dubbo.config.spring.beans.factory.annotation.ServiceAnnotationPostProcessor.processScannedBeanDefinition(ServiceAnnotationPostProcessor.java:334) ~[dubbo-3.0.8.jar:3.0.8]
org.apache.dubbo.config.spring.beans.factory.annotation.ServiceAnnotationPostProcessor#processScannedBeanDefinition
Annotation service = findServiceAnnotation(beanClass);
private final static List<Class<? extends Annotation>> serviceAnnotationTypes = asList(
// @since 2.7.7 Add the @DubboService , the issue : https://github.com/apache/dubbo/issues/6007
DubboService.class,
// @since 2.7.0 the substitute @com.alibaba.dubbo.config.annotation.Service
Service.class,
// @since 2.7.3 Add the compatibility for legacy Dubbo's @Service , the issue : https://github.com/apache/dubbo/issues/4330
com.alibaba.dubbo.config.annotation.Service.class
);
findServiceAnnotation return null because serviceAnnotationTypes
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
IllegalArgumentException: Type cannot be null - Stack Overflow
This represents a problem in our Java data access framework, not the underlying data access infrastructure. UPDATE 1. If I change the repository ......
Read more >Service name must not be null or empty #73 - GitHub
IllegalArgumentException: Service name must not be null or empty. The service name should be check if and only if the enabled flag is...
Read more >How IntelliJ IDEA played a dirty trick on me - Manu Sobles
IllegalArgumentException but was: java.lang.NullPointerException: Parameter 'str' must not be null at java.util.Objects.requireNonNull(Objects.
Read more >Hibernate Tips: Difference between @Column(nullable = false ...
Question: One of my entity attributes shall not be null. There seem to be 2 different ways to ensure that. I can either...
Read more >Predefined Annotation Types - Java™ Tutorials
@Deprecated @Deprecated annotation indicates that the marked element is deprecated and should no longer be used. The compiler generates a warning whenever a ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

https://github.com/apache/dubbo/pull/10737
The
@AlisForis from spring 4.2+, maybedubboneeds to be more compatible with this?