cognitect-labs / vase

Data driven microservices
Eclipse Public License 1.0
373 stars 42 forks source link

Missing dependency javax.xml.bind/jaxb-api in Leiningen template #106

Open jackdbd opened 4 years ago

jackdbd commented 4 years ago

Description

I was trying the tutorial Building your first API and I could not spin up a web server.

Expected Behavior

A running Jetty webserver on port 8080

Actual Behavior

Exception in thread "main" java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(com/cognitect/vase/
util.clj:1:1)

Steps to reproduce

lein new vase your-first-api
lein run-dev

Environment

java -version

openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)

Operating System (including version).

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

Your current Leiningen/Boot/Maven version (lein --version)

Leiningen 2.9.1 on Java 11.0.7 OpenJDK 64-Bit Server VM

Pedestal and Vase version

[io.pedestal/pedestal.service "0.5.2"] [com.cognitect/pedestal.vase "0.9.1"] [io.pedestal/pedestal.jetty "0.5.2"]

jackdbd commented 4 years ago

See PR #107