Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Getting this stack trace when running RiverWebTest.java #107

Open
tulikaMithal opened this issue Dec 9, 2015 · 0 comments
Open

Getting this stack trace when running RiverWebTest.java #107

tulikaMithal opened this issue Dec 9, 2015 · 0 comments

Comments

@tulikaMithal
Copy link

org.lastaflute.di.core.factory.dixml.exception.DiXmlParseFailureException: Look! Read the message below.
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Failed to parse the dependency XML.

[Dependency XML]
s2robot_es.xml included by app.xml

  • * * * * * * * * */
    at org.lastaflute.di.core.factory.dixml.DiXmlLaContainerBuilder.throwDependencyXmlParseFailureException(DiXmlLaContainerBuilder.java:92)
    at org.lastaflute.di.core.factory.dixml.DiXmlLaContainerBuilder.parse(DiXmlLaContainerBuilder.java:79)
    at org.lastaflute.di.redefiner.core.RedefinableXmlLaContainerBuilder.parse(RedefinableXmlLaContainerBuilder.java:74)
    at org.lastaflute.di.core.factory.dixml.DiXmlLaContainerBuilder.include(DiXmlLaContainerBuilder.java:65)
    at org.lastaflute.di.core.factory.provider.LaContainerDefaultProvider.include(LaContainerDefaultProvider.java:93)
    at org.lastaflute.di.core.factory.LaContainerFactory.include(LaContainerFactory.java:92)
    at org.lastaflute.di.core.factory.dixml.taghandler.IncludeTagHandler.start(IncludeTagHandler.java:65)
    at org.lastaflute.di.helper.xml.SaxHandler.start(SaxHandler.java:157)
    at org.lastaflute.di.helper.xml.SaxHandler.start(SaxHandler.java:149)
    at org.lastaflute.di.helper.xml.SaxHandler.startElement(SaxHandler.java:64)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at org.lastaflute.di.util.LdiSAXParserUtil.parse(LdiSAXParserUtil.java:54)
    at org.lastaflute.di.helper.xml.SaxHandlerParser.parse(SaxHandlerParser.java:68)
    at org.lastaflute.di.helper.xml.SaxHandlerParser.parse(SaxHandlerParser.java:64)
    at org.lastaflute.di.core.factory.dixml.DiXmlLaContainerBuilder.parse(DiXmlLaContainerBuilder.java:74)
    at org.lastaflute.di.redefiner.core.RedefinableXmlLaContainerBuilder.parse(RedefinableXmlLaContainerBuilder.java:74)
    at org.lastaflute.di.core.factory.dixml.DiXmlLaContainerBuilder.build(DiXmlLaContainerBuilder.java:61)
    at org.lastaflute.di.core.factory.conbuilder.impl.AbstractLaContainerBuilder.build(AbstractLaContainerBuilder.java:41)
    at org.lastaflute.di.core.factory.provider.LaContainerDefaultProvider.build(LaContainerDefaultProvider.java:112)
    at org.lastaflute.di.core.factory.provider.LaContainerDefaultProvider.create(LaContainerDefaultProvider.java:67)
    at org.lastaflute.di.core.factory.LaContainerFactory.doCreate(LaContainerFactory.java:82)
    at org.lastaflute.di.core.factory.LaContainerFactory.create(LaContainerFactory.java:75)
    at org.lastaflute.di.core.factory.SingletonLaContainerFactory.createContainer(SingletonLaContainerFactory.java:100)
    at org.lastaflute.di.core.factory.SingletonLaContainerFactory.init(SingletonLaContainerFactory.java:64)
    at org.codelibs.elasticsearch.web.RiverWeb.main(RiverWeb.java:101)
    at org.codelibs.elasticsearch.web.RiverWebTest.test_basic(RiverWebTest.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:176)
    at junit.framework.TestCase.runBare(TestCase.java:141)
    at junit.framework.TestResult$1.protect(TestResult.java:122)
    at junit.framework.TestResult.runProtected(TestResult.java:142)
    at junit.framework.TestResult.run(TestResult.java:125)
    at junit.framework.TestCase.run(TestCase.java:129)
    at junit.framework.TestSuite.runTest(TestSuite.java:255)
    at junit.framework.TestSuite.run(TestSuite.java:250)
    at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file org/codelibs/elasticsearch/web/service/EsUrlQueueService
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.lastaflute.di.util.LdiClassUtil.forName(LdiClassUtil.java:98)
    at org.lastaflute.di.core.factory.dixml.taghandler.ComponentTagHandler.start(ComponentTagHandler.java:45)
    at org.lastaflute.di.helper.xml.SaxHandler.start(SaxHandler.java:157)
    at org.lastaflute.di.helper.xml.SaxHandler.start(SaxHandler.java:151)
    at org.lastaflute.di.helper.xml.SaxHandler.startElement(SaxHandler.java:64)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at org.lastaflute.di.util.LdiSAXParserUtil.parse(LdiSAXParserUtil.java:54)
    at org.lastaflute.di.helper.xml.SaxHandlerParser.parse(SaxHandlerParser.java:68)
    at org.lastaflute.di.helper.xml.SaxHandlerParser.parse(SaxHandlerParser.java:64)
    at org.lastaflute.di.core.factory.dixml.DiXmlLaContainerBuilder.parse(DiXmlLaContainerBuilder.java:74)
    ... 55 more
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant