更新时间:2023-09-11 22:40:52
我猜您正在使用此配置元素:
I'm guessing that you're using this config element:
<context:annotation-config />
但是要启用对@Endpoint批注的支持,必须添加以下元素:
But to enable support for the @Endpoint annotation, you must add this element:
<context:component-scan base-package="" />