We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
同样的问题
Sorry, something went wrong.
我的解决方法: 1.在你的项目中resources增加META-INF.spring目录,新建org.springframework.boot.autoconfigure.AutoConfiguration.imports文件,加入org.yeauty.autoconfigure.NettyWebSocketAutoConfigure。 2.修改netty-websocket-spring-boot-starter源码,修改pojo下PojoMethodMapping类中getEndpointInstance方法如下: Object getEndpointInstance() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException { Object implement = pojoClazz.getDeclaredConstructor().newInstance(); // AutowiredAnnotationBeanPostProcessor postProcessor = applicationContext.getBean(AutowiredAnnotationBeanPostProcessor.class); // postProcessor.postProcessPropertyValues(null, null, implement, null); AutowireCapableBeanFactory beanFactory = applicationContext.getAutowireCapableBeanFactory(); beanFactory.autowireBean(implement); return implement; }
No branches or pull requests
The text was updated successfully, but these errors were encountered: