java.lang.NoSuchMethodException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance()

GitHub | lhanson | 6 months 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

    NoSuchMethodException thrown with maven-jaxb2-plugin >= 0.12.2 and schema contains annotation

    GitHub | 6 months ago | lhanson
    java.lang.NoSuchMethodException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance()
  2. 0

    GitHub comment 15#77196621

    GitHub | 2 years ago | mklemm
    java.lang.NoSuchMethodException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance()
  3. 0

    Error with jaxws-maven-plugin

    GitHub | 2 years ago | msglaser
    java.lang.NoSuchMethodException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    search-guard on ES 1.7

    GitHub | 2 years ago | maoo
    java.lang.NoSuchMethodException: org.elasticsearch.search.SearchService.setCallback(com.floragunn.searchguard.filter.level.SearchContextCallback)

  1. batwalrus76 2 times, last 1 week ago
  2. Alireza Mohamadi 3 times, last 1 month ago
  3. tyson925 1 times, last 1 month ago
  4. Adrien 25 times, last 2 months ago
  5. filpgame 1 times, last 3 months ago
16 more registered users
27 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. java.lang.NoSuchMethodException

    com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance()

    at java.lang.Class.getDeclaredMethod()
  2. Java RT
    Class.getDeclaredMethod
    1. java.lang.Class.getDeclaredMethod(Class.java:2130)
    1 frame
  3. Old JAXB Runtime
    ContextFactory.createContext
    1. com.sun.xml.bind.v2.model.impl.Utils.<clinit>(Utils.java:71)
    2. com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:92)
    3. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:444)
    4. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:292)
    5. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:139)
    6. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1138)
    7. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
    7 frames
  4. Java RT
    JAXBContext.newInstance
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)
    6. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)
    7. javax.xml.bind.ContextFinder.find(ContextFinder.java:441)
    8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
    9. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
    9 frames
  5. Old JAXB XJC
    NGCCRuntime.startElement
    1. com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationContext(BindInfo.java:336)
    2. com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationUnmarshaller(BindInfo.java:362)
    3. com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1.<init>(AnnotationParserFactoryImpl.java:85)
    4. com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl.create(AnnotationParserFactoryImpl.java:84)
    5. com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.createAnnotationParser(NGCCRuntimeEx.java:365)
    6. com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:88)
    7. com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:113)
    8. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    9. com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)
    10. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:353)
    11. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    12. com.sun.xml.xsom.impl.parser.state.NGCCHandler.revertToParentFromEnterElement(NGCCHandler.java:150)
    13. com.sun.xml.xsom.impl.parser.state.foreignAttributes.enterElement(foreignAttributes.java:90)
    14. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    15. com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)
    16. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:228)
    17. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    18. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:345)
    19. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    20. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:333)
    21. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    22. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:427)
    23. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    24. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:477)
    25. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
    26. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:317)
    27. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:258)
    27 frames
  6. Java RT
    XMLFilterImpl.startElement
    1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
    1 frame
  7. Old JAXB XJC
    ExtensionBindingChecker.startElement
    1. com.sun.tools.xjc.util.SubtreeCutter.startElement(SubtreeCutter.java:108)
    2. com.sun.tools.xjc.reader.ExtensionBindingChecker.startElement(ExtensionBindingChecker.java:150)
    2 frames
  8. Java RT
    XMLFilterImpl.startElement
    1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
    1 frame
  9. Old JAXB XJC
    IncorrectNamespaceURIChecker.startElement
    1. com.sun.tools.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:128)
    1 frame
  10. Java RT
    XMLFilterImpl.startElement
    1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
    1 frame
  11. Old JAXB XJC
    CustomizationContextChecker.startElement
    1. com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.startElement(CustomizationContextChecker.java:193)
    1 frame
  12. Java RT
    XMLFilterImpl.startElement
    1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
    1 frame
  13. Old JAXB XJC
    DOMForestScanner$LocationResolver.startElement
    1. com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.startElement(DOMForestScanner.java:147)
    1 frame
  14. Old JAXB Runtime
    DOMScanner.scan
    1. com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:244)
    2. com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
    3. com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
    4. com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:127)
    4 frames
  15. Old JAXB XJC
    ModelLoader.load
    1. com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:92)
    2. com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:100)
    3. com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:104)
    4. com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:269)
    5. com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:347)
    6. com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128)
    7. com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:168)
    8. com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:157)
    9. com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:534)
    10. com.sun.tools.xjc.ModelLoader.loadXMLSchema(ModelLoader.java:378)
    11. com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
    12. com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
    12 frames
  16. org.jvnet.mjiip
    XJC22Mojo.doExecute
    1. org.jvnet.mjiip.v_2_2.XJC22Mojo.loadModel(XJC22Mojo.java:50)
    2. org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:40)
    3. org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:28)
    3 frames
  17. org.jvnet.jaxb2
    RawXJC2Mojo.execute
    1. org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:488)
    2. org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:311)
    2 frames
  18. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  19. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    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:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  20. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  21. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  22. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames