关于ServerEndpointExporter的包无法被引用
最近学习spring boot + websocket时在创建配置文件的时候发现ServerEndpointExporter的包无法被引用,在网上找了好久都没有找到办法。之后找到也使用了ServerEndpointExporter的大佬的源代码,对比后发现自己的pom.xml文件中<parent>。。。</parent>标签位置好像和大佬的不一样。

这张图里<parent>。。。</parent>的位置是正确的,我之前<parent>。。。</parent>放在<groupId>com.example</groupId>上面了。