javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: io/swagger/annotations/ApiParam.examples()Lio/swagger/annotations/Example; (loaded from file:/home/vcap/app/.liberty/dev/api/third-party/com.ibm.websphere.appserver.thirdparty.swagger.annotations_1.0.14.jar by org.eclipse.osgi.internal.loader.EquinoxClassLoader@1a477115[com.ibm.websphere.appserver.thirdparty.swagger.annotations:1.0.14.cl160320160831-1555(id=113)]) called from class io.swagger.util.ParameterProcessor$ApiParamWrapper (loaded from file:/home/vcap/app/wlp/usr/servers/defaultServer/apps/servicemanager-jaxrs-server-1.0.0.war/WEB-INF/lib/swagger-core-1.5.9.jar by com.ibm.ws.classloading.internal.AppClassLoader@efe5e076).

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Does apiDiscovery-1.0 Liberty feature work with swagger 1.5.4?

    Stack Overflow | 7 months ago | michele crudele
    javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: io/swagger/annotations/ApiParam.examples()Lio/swagger/annotations/Example; (loaded from file:/home/vcap/app/.liberty/dev/api/third-party/com.ibm.websphere.appserver.thirdparty.swagger.annotations_1.0.14.jar by org.eclipse.osgi.internal.loader.EquinoxClassLoader@1a477115[com.ibm.websphere.appserver.thirdparty.swagger.annotations:1.0.14.cl160320160831-1555(id=113)]) called from class io.swagger.util.ParameterProcessor$ApiParamWrapper (loaded from file:/home/vcap/app/wlp/usr/servers/defaultServer/apps/servicemanager-jaxrs-server-1.0.0.war/WEB-INF/lib/swagger-core-1.5.9.jar by com.ibm.ws.classloading.internal.AppClassLoader@efe5e076).
  2. 0

    Parsing error when using DocumentBuilder

    Stack Overflow | 6 days ago | robben
    javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
  3. 0

    WebSphere Liberty Server (IBM Bluemix) - error when run the RESTful web-service on server

    Stack Overflow | 1 year ago | Milad Mhb
    javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/eclipse/persistence/jaxb/compiler/Generator.generateSchemaFiles(Ljava/lang/String;Ljava/util/Map;)Ljava/util/HashMap; @90: invokevirtual Reason: Type 'org/eclipse/persistence/internal/oxm/schema/SchemaModelProject' (current frame, stack[0]) is not assignable to 'org/eclipse/persistence/core/sessions/CoreProject' Current Frame: bci: @90 flags: { } locals: { 'org/eclipse/persistence/jaxb/compiler/Generator', 'java/lang/String', 'java/util/Map', 'org/eclipse/persistence/internal/oxm/schema/SchemaModelProject', 'org/eclipse/ persistence/oxm/XMLContext', 'org/eclipse/persistence/oxm/XMLMarshaller' } stack: { 'org/eclipse/persistence/internal/oxm/schema/SchemaModelProject', 'java/lang/Class' } Bytecode: 0x0000000: 2a2c 2ab4 015a b701 862a b401 5c2a b401 0x0000010: 5ab6 0175 2ab4 015a b601 792a b401 5ab6 0x0000020: 017b 2ab4 015a b601 782a b401 5ab6 0176 0x0000030: 2ab4 015a b601 7db6 018d 57bb 00b2 59b7 0x0000040: 016b 4ebb 00be 592d c000 c0b7 0195 3a04 0x0000050: 1904 b601 943a 052d 1202 b601 6ac0 00b1 0x0000060: 3a06 2ab4 015c b601 8a3a 0719 07b9 0198 0x0000070: 0100 3a09 a700 5e19 09b9 019a 0100 c000 0x0000080: 023a 08bb 009c 59bb 00a5 592b b801 62b7 0x0000090: 0164 1201 b601 6519 08b6 016d b601 65b6 0x00000a0: 0163 b701 5e3a 0a19 08b6 0170 3a0b 190b 0x00000b0: 1300 9913 0098 b601 9319 0619 0bb9 01a2 0x00000c0: 0200 1905 1908 bb00 9e59 190a b701 5fb6 0x00000d0: 0196 1909 b901 9901 009a ff9e 2ab4 015c 0x00000e0: b601 8bb0 Stackmap Table: full_frame(@119,{Object[#182],Object[#164],Object[#170],Object[#176],Object[#190],Object[#191],Object[#177],Object[#167],Top,Object[#169]},{}) same_frame_extended(@210)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jetty 2 not supporting events?

    GitHub | 12 months ago | cdjackson
    javax.servlet.ServletException: javax.servlet.ServletException: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.
  6. 0

    ANTLR NoClassDefFoundError error

    GitHub | 6 months ago | jmacauley
    javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: org/eclipse/persistence/internal/libraries/antlr/runtime/tree/Tree

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: io/swagger/annotations/ApiParam.examples()Lio/swagger/annotations/Example; (loaded from file:/home/vcap/app/.liberty/dev/api/third-party/com.ibm.websphere.appserver.thirdparty.swagger.annotations_1.0.14.jar by org.eclipse.osgi.internal.loader.EquinoxClassLoader@1a477115[com.ibm.websphere.appserver.thirdparty.swagger.annotations:1.0.14.cl160320160831-1555(id=113)]) called from class io.swagger.util.ParameterProcessor$ApiParamWrapper (loaded from file:/home/vcap/app/wlp/usr/servers/defaultServer/apps/servicemanager-jaxrs-server-1.0.0.war/WEB-INF/lib/swagger-core-1.5.9.jar by com.ibm.ws.classloading.internal.AppClassLoader@efe5e076).

      at org.glassfish.jersey.servlet.WebComponent.serviceImpl()
    2. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489)
      2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
      5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
      5 frames
    3. WebSphere
      ServletWrapper.service
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1290)
      1 frame