other-languages

emccue 2022-01-12T02:07:05.023100Z

emccue 2022-01-12T02:07:30.023700Z

Very lost - can anyone see why the top one works, but the bottom one would fail with

Error: Unable to initialize main class some.project.DoThing
Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/LifeCycle

emccue 2022-01-12T02:09:23.024600Z

{:mvn/repos {"jitpack" {:url ""}}
 :paths ["target/src"]
 :deps {org.eclipse.jetty/jetty-server {:mvn/version "11.0.2"}
        org.eclipse.jetty/jetty-servlet {:mvn/version "11.0.2"}
        org.slf4j/slf4j-simple {:mvn/version "1.8.0-beta4"}
        dev.mccue/rosie {:mvn/version "0.0.5"}
        dev.mccue/regex-router {:mvn/version "0.0.3"}
        org.apache.commons/commons-text {:mvn/version "1.9"}}
 :aliases {:compile {:extra-deps {org.immutables/value {:mvn/version "2.8.2"}}}
           :build {:extra-paths []
                   :extra-deps {org.jacoco/org.jacoco.agent {:mvn/version "0.8.7"}
                                org.jacoco/org.jacoco.report {:mvn/version "0.8.7"}
                                info.picocli/picocli {:mvn/version "4.6.2"}}}

paulocuneo 2022-01-12T02:17:55.027600Z

Sorry if I'm pointing something obvious, it seems org/eclipse/jetty/util/component/LifeCycle class is missing in classpath, would have guess its present in jetty-util-11.0.2.jar lib, it seems its not šŸ™‚

emccue 2022-01-12T02:30:24.028800Z

i figured it out - it was very silly. I was getting the classpath with a newline at the end so …\n not … that apparently makes all the difference for the last dependency in the list which was jetty-util

paulocuneo 2022-01-12T02:31:24.029500Z

also maven central says jetty-server 11.0.2 has a vulnerability https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34428

emccue 2022-01-12T02:34:24.030300Z

noted. regardless i’m about at mvp for this project now though which is exciting

emccue 2022-01-12T02:35:00.030600Z

emccue 2022-01-12T02:35:34.031100Z

emccue 2022-01-12T02:37:07.032600Z

got decent examples for • running junit tests • generating coverage reports with jacoco • using an annotation processor • writing a build program

emccue 2022-01-12T02:37:55.032800Z

emccue 2022-01-12T02:38:48.033700Z

still TONS of polish to do, but im happy that it works at all