db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danoja Dias <danojad...@gmail.com>
Subject Running Regression Tests
Date Thu, 05 May 2016 19:15:28 GMT
Hi All,




*I ran following code to run all tests, java  junit.textui.TestRunner
<http://wiki.apache.org/db-derby/TestRunner>
org.apache.derbyTesting.functionTests.suites.All*






























*But I get this message .Failed to invoke class
org.apache.derbyTesting.functionTests.tests.lang._Suitejava.lang.reflect.InvocationTargetException
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:497)    at
org.apache.derbyTesting.functionTests.suites.AllPackages.invokeSuite(AllPackages.java:176)
at
org.apache.derbyTesting.functionTests.suites.AllPackages.suite(AllPackages.java:60)
at org.apache.derbyTesting.functionTests.suites.All.suite(All.java:50)
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:497)    at
junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:126)    at
junit.textui.TestRunner.start(TestRunner.java:184)    at
junit.textui.TestRunner.main(TestRunner.java:143)Caused by:
java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer    at
org.apache.derbyTesting.functionTests.tests.lang.LuceneSuite.suite(LuceneSuite.java:66)
at
org.apache.derbyTesting.functionTests.tests.lang._Suite.suite(_Suite.java:258)
... 14 moreCaused by: java.lang.ClassNotFoundException:
org.apache.lucene.analysis.Analyzer    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)    ... 16 moreFailed
to invoke suite():java.lang.reflect.InvocationTargetException*
*What am I doing worng? Why is this message comes?*
-- 
Thanks,
Best Regards,
Danoja Dias.

Mime
View raw message