G337-BeiJing-Ratel opened a new issue, #2301:
URL: https://github.com/apache/incubator-streampark/issues/2301

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   2.0.0-rc4编译完启动的时候报错:
   
   
   ### StreamPark Version
   
   incubator-streampark-2.0.0-rc4
   
   ### Java Version
   
   jdk1.8.0_181
   
   ### Flink Version
   
   1.14.0
   
   ### Scala Version of Flink
   
   2.10.12
   
   ### Error Exception
   
   ```log
   2023-02-06 11:34:22 | ERROR | main | 
org.springframework.boot.SpringApplication:824] Application run failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'serverEndpointExporter' defined in class path resource 
[org/apache/streampark/console/base/config/WebSocketConfig.class]: Invocation 
of init method failed; nested exception is java.lang.IllegalStateException: 
javax.websocket.server.ServerContainer not available
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
           at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
           at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
           at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
           at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
           at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734)
           at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
           at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
           at 
org.apache.streampark.console.StreamParkConsoleBootstrap.main(StreamParkConsoleBootstrap.java:69)
   Caused by: java.lang.IllegalStateException: 
javax.websocket.server.ServerContainer not available
           at org.springframework.util.Assert.state(Assert.java:76)
           at 
org.springframework.web.socket.server.standard.ServerEndpointExporter.afterPropertiesSet(ServerEndpointExporter.java:107)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
           ... 14 common frames omitted
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to