tflobbe / solrmeter

Stress test tool for Apache Solr
70 stars 36 forks source link

Error while generating JAR #126

Closed Yogesh102 closed 7 years ago

Yogesh102 commented 7 years ago

I have just downloaded the project and then trying to packaging it but it failing and giving me below error. can you please help me on this ?

lass for name com.plugtree.solrmeter.view.statistic.DoesntExists not found! java.lang.RuntimeException: Class for name com.plugtree.solrmeter.view.statistic.DoesntExists not found! at com.plugtree.solrmeter.controller.statisticsParser.castor.ClassCastorFieldHandler.setValue(ClassCastorFieldHandler.java:65) at com.plugtree.solrmeter.controller.statisticsParser.castor.AbstractCastorFieldHandler.setValue(AbstractCastorFieldHandler.java:60) at org.exolab.castor.mapping.loader.FieldHandlerImpl.setValue(FieldHandlerImpl.java:485) at org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:1085) at org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:1176) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2967) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:748) at com.plugtree.solrmeter.controller.statisticsParser.castor.StatisticsParserCastorImpl.getStatisticDescriptors(StatisticsParserCastorImpl.java:57) at com.plugtree.solrmeter.statistic.parser.StatisticsParserCastorImplTestCase.validationTest(StatisticsParserCastorImplTestCase.java:106) at com.plugtree.solrmeter.statistic.parser.StatisticsParserCastorImplTestCase.testValidateModelClass(StatisticsParserCastorImplTestCase.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.lang.ClassNotFoundException: com.plugtree.solrmeter.view.statistic.DoesntExists at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.plugtree.solrmeter.controller.statisticsParser.castor.ClassCastorFieldHandler.setValue(ClassCastorFieldHandler.java:61)

Yogesh102 commented 7 years ago

I was able to resolve this issue. Thanks.