Webgoat 8 Installation

After searching the net and troubleshooting, I cannot get webgoat to run during the Kali Linux Web App Pentesting Labs, lab 3 session. I have tried other versions of webgoat with the same results. Here is where the error resides during bootup:

018-07-02 18:21:38.881 ERROR 2589 — [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘entityManagerFactory’ defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Hello Tai,

Have you tried rolling back to Java 8? The version of Java that comes with Kali no longer works with Webgoat out the box. You can also try running it like this:

java --add-modules java.xml.bind -jar webgoat-server-8.0.0.VERSION.jar