Adding Swagger to a JavaEE Project – JavaEE Series 2 Part 2

You may also like...

5 Responses

  1. Mohsen Mesrzadeh says:

    what is MyApplication.java and where is it?

  2. Alex says:

    Hello, I am trying to implement swagger in my app as you have explained but doing mvn clean package && copy / and target \ todo.war \ devtools \ wildfly-15.0.1.Final \ standalone \ deployments returns the following error.

    MyApplication.java:[8,31] package io.swagger.jaxrs.config does not exist

    Thanx Bro!

    • Dan says:

      I’d make sure you defined your maven dependencies accurately in your pom file. It sounds like Swagger isn’t being deployed within your jar file.

  3. kalabase says:

    good day,

    In the MyApplication class constructor we wiring ‘servletConfig’ but we not using it anywhere and in the same method ‘beanConfig’ is created but not assigned to anything, is something missing there?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.