Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在src/main/java/com/uptop/websocket/WebSocketTest.java文件中无法导入javax.websocket #4

Open
dugreen opened this issue Jun 24, 2020 · 0 comments

Comments

@dugreen
Copy link

dugreen commented Jun 24, 2020

把作者的源码git下来以后,发现 import javax.websocket.*;标红,没有导入成功。在把下面这个依赖添加到pom.xml后ok了。
<dependency> <groupId>javax.websocket</groupId> <artifactId>javax.websocket-api</artifactId> <version>1.1</version> <scope>provided</scope> </dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant