You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/09/18 06:57:01 UTC

[GitHub] [dolphinscheduler] zhongjiajie opened a new issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

zhongjiajie opened a new issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   When I start standalone dev env in my IDEA with `dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java`. It crash with error
   
   ```log
   org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workerServer': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList
   	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761)
   	at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335) ~[na:1.8.0_231]
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321)
   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319)
   	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:439) ~[na:1.8.0_231]
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
   	at org.apache.dolphinscheduler.server.master.processor.queue.StateEventResponseService$StateEventResponseWorker.run(StateEventResponseService.java:112) ~[classes/:na]
   ```
   
   ### What you expected to happen
   
   It should work when I run standalone server
   
   ### How to reproduce
   
   Just rebuild your mevan deps, and runs `dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java` in your IDEA
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265#issuecomment-928780777


   I haven’t responded for a long time and I can run normally. If you encounter this problem again, you can reopen it.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] zhongjiajie commented on issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265#issuecomment-928821077


   Got it, I thank for reminder


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] zhongjiajie commented on issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265#issuecomment-928821077


   Got it, I thank for reminder


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on issue #6265: [Bug] [standalone] Error when start standalone cause `NoClassDefFoundError`

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #6265:
URL: https://github.com/apache/dolphinscheduler/issues/6265#issuecomment-928780777


   I haven’t responded for a long time and I can run normally. If you encounter this problem again, you can reopen it.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org