alibaba / alibaba/Sentinel

Package 'com.alibaba.csp.sentinel.adapter.spring.webmvc.callback' is declared in module with an invalid name ('sentinel.spring.webmvc.6x.adapter')

Open
#3,066 1 comment 0 reactions 0 assignees View on GitHub
area/integrations
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *bug report* or *feature request*
bug report
### Describe what happened (or what feature you want)
When i use sentinel in Springboot3.0 by jdk17 with module-info.java. IDEA tips that
Package 'com.alibaba.csp.sentinel.adapter.spring.webmvc.callback' is declared in module with an invalid name ('sentinel.spring.webmvc.6x.adapter')
I search the message, i suggest that the java variables'name cann't be the start by number.
![image](https://user-images.githubusercontent.com/17068244/225496194-8a66b602-7340-4dbe-914c-9e38e21d4ba6.png)
![image](https://user-images.githubusercontent.com/17068244/225496378-942e3ff7-0acc-41a5-aa5b-95fdb3ffcccd.png)
### Describe what you expected to happen
I hope I can import the module for interface BlockExceptionHandler

### How to reproduce it (as minimally and precisely as possible)

1.
2.
3.

### Tell us your environment
Springboot 3.0.4
Idea 2022.1.3
JDK17
spring-cloud-alibaba 2022.0.0.0-RC1

### Anything else we need to know?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.