https://linen.dev logo
m

Michel

10/09/2020, 7:05 AM
u

user

10/09/2020, 7:06 AM
and I can reproduce locally
u

user

10/09/2020, 7:06 AM
it seems the issue is:
Copy code
airbyte-server | Error: Unable to initialize main class io.airbyte.server.ServerApp
airbyte-server | Caused by: java.lang.NoClassDefFoundError: io/airbyte/config/Configs
airbyte-server exited with code 1
airbyte-scheduler | Checking availability of db:5432
airbyte-scheduler | Host db:5432 is now available!
airbyte-scheduler | --------------------------------------------------------
airbyte-scheduler | docker-compose-wait - Everything's fine, the application can now start!
airbyte-scheduler | --------------------------------------------------------
airbyte-scheduler | Error: Unable to initialize main class io.airbyte.scheduler.SchedulerApp
airbyte-scheduler | Caused by: java.lang.NoClassDefFoundError: io/airbyte/config/Configs
u

user

10/09/2020, 7:07 AM
same on github and local
u

user

10/09/2020, 7:08 AM
It seems unrelated to my change but it doesn't fail on master
u

user

10/09/2020, 7:24 AM
not seeing this in my branch
u

user

10/09/2020, 7:29 AM
Copy code
Caused by: java.lang.NoClassDefFoundError: io/airbyte/config/Configs
u

user

10/09/2020, 7:29 AM
this seems suspicious
u

user

10/09/2020, 7:29 AM
did you change anything build related?
u

user

10/09/2020, 7:29 AM
does that class have
package
as the first line after the initial comment?
u

user

10/09/2020, 4:55 PM
ok I must have messed up smth, l'll investigate my branch
u

user

10/09/2020, 5:42 PM
I think my gradle fix on the group isn't fixing the problem completely. The jars are not packaged in the distribution
u

user

10/09/2020, 5:42 PM
so it works in a dev env but not when we use the distribution in the image