'ws://localhost:8080/websocket' failed: Error during WebSocket handshake: Unexpected response code: 500
环境是java8,tomcat8.8.6, web-inf/libs目录下没有和tomcat 冲突的jar包;
使用了nutz-plugin-websocket的插件,
然后再pom.xml文件中引用了
但是却报了以上的错误,
<dependency>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>