package se.ivankrizsan.restexample.restadapter;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.stereotype.Component;

/**
 * Jersey configuration.
 *
 * @author Ivan Krizsan
 */
@Component
public class JerseyConfig extends ResourceConfig {

    public JerseyConfig() {
        /* All resource classes are to be located in the same package as this class. */
        packages(this.getClass().getPackage().getName());
    }
}

@@ -176,11 +176,118 @@
 on.%0A
+ * Cannot rely on classpath scanning, due to a bug in Jersey making it unable%0A * to scan nested JAR-files.%0A
  *%0A
-
  * @
@@ -413,87 +413,82 @@
     
-/* All r
+register(CircleR
 esource
- 
+.
 class
-es are to be located in the same package as this 
+);%0A        register(RectangleResource.
 class
-. */
+);
 %0A   
@@ -496,55 +496,38 @@
     
-packages(this.getClass().getPackage().getName()
+register(DrawingResource.class
 );%0A 

Fix to make the Spring Boot standalone JAR runnable.