java.lang.reflect.InvocationTargetException

Oracle Community | ebc | 6 years ago
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

    jax-ws 2.2 test program failure in Glassfish 3.0.1

    Oracle Community | 6 years ago | ebc
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.xml.ws.Service.<init>(Ljava/net/URL;Ljavax/xml/namespace/QName;[Ljavax/xml/ws/WebServiceFeature;)V

      at com.javaee6.jaxws.mtom.MyMTOMTestService.<init>()
    2. com.javaee6.jaxws
      MyMTOMTestService.<init>
      1. com.javaee6.jaxws.mtom.MyMTOMTestService.<init>(MyMTOMTestService.java:46)
      1 frame
    3. client
      WSClient.<clinit>
      1. client.WSClient.<clinit>(WSClient.java:12)
      1 frame
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:247)
      2 frames
    5. org.glassfish.appclient
      AppClientContainerAgent.premain
      1. org.glassfish.appclient.client.AppClientFacade.createContainerForClassName(AppClientFacade.java:484)
      2. org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:436)
      3. org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256)
      4. org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:75)
      4 frames
    6. Java RT
      InstrumentationImpl.loadClassAndCallPremain
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      5. sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
      6. sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
      6 frames