java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String;

Oracle Community | leetcooper | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NoSuchMethodError

    javax.xml.ws.WebFault.messageName()Ljava/lang/String;

    at com.sun.xml.ws.model.RuntimeModeler.processExceptions()
  2. JAX-WS RI Runtime Bundle
    WSEndpoint.create
    1. com.sun.xml.ws.model.RuntimeModeler.processExceptions(RuntimeModeler.java:1077)
    2. com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:815)
    3. com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:586)
    4. com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:366)
    5. com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:246)
    6. com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:343)
    7. com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:205)
    8. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513)
    9. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:568)
    9 frames
  3. JSR-109 implementation to deploy Metro
    WSServletContextListener.contextInitialized
    1. org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:260)
    2. org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99)
    2 frames
  4. Glassfish Core
    StandardContext.contextListenerStart
    1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4690)
    1 frame
  5. Glassfish
    WebModule.contextListenerStart
    1. com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:534)
    1 frame
  6. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.start(StandardContext.java:5305)
    1 frame
  7. Glassfish
    WebModule.start
    1. com.sun.enterprise.web.WebModule.start(WebModule.java:500)
    1 frame
  8. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
    2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
    3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
    3 frames
  9. Glassfish
    WebApplication.start
    1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
    2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
    3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
    3 frames
  10. Private APIs of Glassfish
    ApplicationInfo.start
    1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
    2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
    3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
    3 frames
  11. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    2 frames
  12. Embedded GlassFish Web
    DeployCommand.execute
    1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
    1 frame
  13. Kernel Classes
    CommandRunnerImpl$ExecutionContext.execute
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
    6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
    6 frames
  14. admin-cli
    DeployerImpl.deploy
    1. com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:118)
    2. com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:97)
    3. com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:88)
    3 frames
  15. org.glassfish.maven
    PluginUtil.doDeploy
    1. org.glassfish.maven.PluginUtil.doDeploy(PluginUtil.java:106)
    1 frame
  16. Java RT
    Method.invoke
    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)
    4 frames
  17. org.glassfish.maven
    DeployMojo.execute
    1. org.glassfish.maven.AbstractDeployMojo.doDeploy(AbstractDeployMojo.java:171)
    2. org.glassfish.maven.DeployMojo.execute(DeployMojo.java:64)
    2 frames
  18. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    1 frame
  19. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    9 frames
  20. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    3 frames
  21. Java RT
    Method.invoke
    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)
    4 frames
  22. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    4 frames