Skip to content
New issue

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

conductor oss docker-compose up throw ClassNotFoundException #30

Closed
dingliu1 opened this issue Dec 29, 2023 · 1 comment
Closed

conductor oss docker-compose up throw ClassNotFoundException #30

dingliu1 opened this issue Dec 29, 2023 · 1 comment

Comments

@dingliu1
Copy link

Describe the bug
conductor oss, when build and startup with docker-compose, throw ClassNotFoundException
Details
Conductor version: latest
Persistence implementation: Cassandra, Postgres, MySQL, Dynomite etc - Postgres
Queue implementation: Postgres, MySQL, Dynoqueues etc
Lock: Redis or Zookeeper?
Workflow definition:
Task definition:
Event handler definition:

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/conductor-oss/conductor.git
  2. go to docker folder
  3. docker-compose -f docker-compose-postgres-es7.yaml build
  4. docker-compose -f docker-compose-postgres-es7.yaml up
  5. When conductor server starts up it reports below error:

conductor-server | at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:910) ~[conductor-es7-persistence-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
conductor-server | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ~[conductor-es7-persistence-0.1.0-SNAPSHOT.jar!/:0.1.0-SNAPSHOT]
conductor-server | ... 27 more
conductor-server | Caused by: java.lang.ClassNotFoundException: javax.validation.Validator
conductor-server | at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
conductor-server | at java.lang.ClassLoader.loadClass(ClassLoader.java:592) ~[?:?]
conductor-server | at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:149) ~[conductor-server.jar:0.1.0-SNAPSHOT]
conductor-server | at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
conductor-server | at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:?]
conductor-server | at java.lang.Class.privateGetDeclaredConstructors(Class.java:3373) ~[?:?]
conductor-server | at java.lang.Class.getDeclaredConstructors(Class.java:2555) ~[?:?]

Expected behavior
docker-compose up should not report any error

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@dingliu1
Copy link
Author

Sorry, verified again this is not a issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant