Skip to content

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

Description

@jackdbd

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"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions