java.lang.NoSuchMethodException: com.sun.java.xml.ns.j2Ee.impl.StringImpl.<init>(com.bea.xml.SchemaType) [java]

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


rp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • NoSuchMethodException: StringImpl
    via by 666705,
  • Kafka throws java.lang.NoSuchMethodException
    via Stack Overflow by Ratha
    ,
  • db:: 4.34::makepkg and premature termination cm
    via by Unknown author,
  • Hi, Doing mvn install completes but there are a couple of exceptions like this one thrown along the way. I did a mvn -U install and still same prob. [INFO] ---------------------------------------------------------------------------- [INFO] Building Spring richclient sandbox [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: E:\project\spring-richclient\sandbox\target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- java.lang.NoSuchMethodException: org.springframework.richclient.settings.TestEnum.<init>() at java.lang.Class.getConstructor0(Class.java:2647) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.maven.surefire.battery.JUnitBattery.getTestConstructor(JUnitBattery.java:307) at org.apache.maven.surefire.battery.JUnitBattery.processTestClass(JUnitBattery.java:150) at org.apache.maven.surefire.battery.JUnitBattery.<init>(JUnitBattery.java:81) at org.apache.maven.surefire.SurefireUtils.instantiateBattery(SurefireUtils.java:63) at org.apache.maven.surefire.Surefire.instantiateBatteries(Surefire.java:262) at org.apache.maven.surefire.Surefire.run(Surefire.java:140) at org.apache.maven.surefire.Surefire.run(Surefire.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285) at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201) at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) RUN ABORTED java.lang.NoSuchMethodException org.apache.maven.surefire.Runner An exception or error caused a run to abort. org.springframework.richclient.settings.TestEnum.<init>() Results : [surefire] Tests run: 0, Failures: 0, Errors: 1
    via by Benoit Xhenseval,
  • provisioning AD
    via by 659086,
  • Axis Error Start session | Alfresco Forums
    via by Unknown author,
  • Error start session | Alfresco Forums
    via by Unknown author,
  • Hi, Doing mvn install completes but there are a couple of exceptions like this one thrown along the way. I did a mvn -U install and still same prob. [INFO] ---------------------------------------------------------------------------- [INFO] Building Spring richclient sandbox [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: E:\project\spring-richclient\sandbox\target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- java.lang.NoSuchMethodException: org.springframework.richclient.settings.TestEnum.<init>() at java.lang.Class.getConstructor0(Class.java:2647) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.maven.surefire.battery.JUnitBattery.getTestConstructor(JUnitBattery.java:307) at org.apache.maven.surefire.battery.JUnitBattery.processTestClass(JUnitBattery.java:150) at org.apache.maven.surefire.battery.JUnitBattery.<init>(JUnitBattery.java:81) at org.apache.maven.surefire.SurefireUtils.instantiateBattery(SurefireUtils.java:63) at org.apache.maven.surefire.Surefire.instantiateBatteries(Surefire.java:262) at org.apache.maven.surefire.Surefire.run(Surefire.java:140) at org.apache.maven.surefire.Surefire.run(Surefire.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285) at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201) at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) RUN ABORTED java.lang.NoSuchMethodException org.apache.maven.surefire.Runner An exception or error caused a run to abort. org.springframework.richclient.settings.TestEnum.<init>() Results : [surefire] Tests run: 0, Failures: 0, Errors: 1
    via by Benoit Xhenseval,
    • java.lang.NoSuchMethodException: com.sun.java.xml.ns.j2Ee.impl.StringImpl.<init>(com.bea.xml.SchemaType) [java] at java.lang.Class.getConstructor0(Class.java:2647)[java] at java.lang.Class.getConstructor(Class.java:1629)[java] at com.bea.xbean.schema.SchemaTypeImpl.getJavaImplConstructor(SchemaTypeImpl.java:1728)[java] at com.bea.xbean.schema.SchemaTypeImpl.createUnattachedNode(SchemaTypeImpl.java:1852)[java] at com.bea.xbean.schema.SchemaTypeImpl.newValue(SchemaTypeImpl.java:1825)[java] at com.bea.xbean.schema.SchemaTypeImpl.newValue(SchemaTypeImpl.java:1817)[java] at com.bea.xbean.schema.XmlValueRef.get(XmlValueRef.java:53)[java] at com.bea.xbean.schema.SchemaTypeImpl.getEnumerationValues(SchemaTypeImpl.java:1402)[java] at com.bea.xbean.values.JavaStringHolderEx.validateLexical(JavaStringHolderEx.java:111)[java] at com.bea.xbean.values.JavaStringEnumerationHolderEx.validateLexical(JavaStringEnumerationHolderEx.java:48)[java] at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1290)[java] at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)[java] at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)[java] at com.bea.xbean.validator.Validator.handleText(Validator.java:835)[java] at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)[java] at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)[java] at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)[java] at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)[java] at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)[java] at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)[java] at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)[java] at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getStringValue(XMLStreamReaderExtImpl.java:76)[java] at com.bea.staxb.runtime.internal.UnmarshalResult.getStringValue(UnmarshalResult.java:375)[java] at com.bea.staxb.runtime.internal.CollapseStringTypeConverter.getObject(CollapseStringTypeConverter.java:47)[java] at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)[java] at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:161)[java] at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:130)[java] at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)[java] at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)[java] at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:158)[java] at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:130)[java] at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)[java] at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)[java] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:184)[java] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)[java] at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)[java] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:95)[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:230)[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:197)[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:182)[java] at weblogic.wsee.jaxrpc.ServiceImpl.loadJaxrpcMappingDD(ServiceImpl.java:398)[java] at weblogic.wsee.jaxrpc.ServiceImpl.loadInternalDD(ServiceImpl.java:378)[java] at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:116)[java] at com.lifetimefitness.workday.Human_ResourcesService_Impl.<init>(Human_ResourcesService_Impl.java:21)[java] at com.lifetimefitness.workday.Human_ResourcesService_Impl.<init>(Human_ResourcesService_Impl.java:17)[java] at com.lifetimefitness.employeesync.common.webservice.HRWebServiceProxy.<init>(HRWebServiceProxy.java:50)[java] at com.lifetimefitness.employeesync.admin.jobs.HRPublicationTask.invoke(HRPublicationTask.java:85)[java] at com.lifetimefitness.batch.jobs.AbstractBatchTask.run(AbstractBatchTask.java:106)[java] at com.lifetimefitness.batch.jobs.AbstractBatchJob.startSequentialTask(AbstractBatchJob.java:186)[java] at com.lifetimefitness.employeesync.admin.jobs.EmployeeSyncAdminJob.invoke(EmployeeSyncAdminJob.java:131)[java] at com.lifetimefitness.batch.jobs.AbstractBatchJob.run(AbstractBatchJob.java:110)[java] at java.lang.Thread.run(Thread.java:595)

    Users with the same issue

    Unknown User
    Unknown User2 times, last one,
    David
    David5 times, last one,
    SteVio1989
    SteVio19891 times, last one,
    tomthomas
    tomthomas1 times, last one,
    Indri Yunita
    Indri Yunita8 times, last one,
    134 more bugmates