Build a Basic CRUD App with Angular 5.0 and Spring Boot 2.0

Peter Pilgrim

Hey Matt!

I figured out that part, now I have a stacktrace

java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException: javax.xml.bind.JAXBException

So I am now missing JAXB depenedency somewhere.

But I figured it out. Add the dependency JAXB 2.3.0 to the POM file https://mvnrepository.com/a… and then make sure you that switch to JDK 8 (my default is JDK 9 :wink:

$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home
$ export PATH=${JAVA_HOME}/bin:${PATH}
$ cd okta-spring-boot-2-angular-5-example/server && ./mvnw clean spring-boot:run &

+PP+