Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

How to do a local development? #444

Open
vutkin opened this issue Jan 26, 2023 · 0 comments
Open

How to do a local development? #444

vutkin opened this issue Jan 26, 2023 · 0 comments

Comments

@vutkin
Copy link

vutkin commented Jan 26, 2023

Hi @seglo ,

could you please advise how to do a local development?
Unfortunately I can't build local jar and run it:

rm -rf target
docker run -it \
  --rm \
  -v "$(shell pwd)":"/root" \
  sbtscala/scala-sbt:eclipse-temurin-17.0.4_1.7.1_3.2.0 \
  sh -c "sbt clean package"

but when I start jar it failed with error:

java -jar ./target/scala-2.12/kafka-lag-exporter_*.jar \
    -Dconfig.file=./application.conf \
Error: Unable to initialize main class com.lightbend.kafkalagexporter.MainApp
Caused by: java.lang.NoClassDefFoundError: com/typesafe/config/Config
make: *** [run] Error 1

Why is it too complicated to contribute?

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

No branches or pull requests

1 participant