Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 179492009F3 for ; Fri, 6 May 2016 02:50:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 163B3160A05; Fri, 6 May 2016 00:50:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 394FB160A04 for ; Fri, 6 May 2016 02:50:10 +0200 (CEST) Received: (qmail 25971 invoked by uid 500); 6 May 2016 00:50:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 25961 invoked by uid 99); 6 May 2016 00:50:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2016 00:50:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BB0101A1231 for ; Fri, 6 May 2016 00:50:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id E5AnjXoH_FXM for ; Fri, 6 May 2016 00:50:06 +0000 (UTC) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7DFF05FB85 for ; Fri, 6 May 2016 00:50:05 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id xk12so41650020pac.0 for ; Thu, 05 May 2016 17:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=bAEgnzswYDOIAVAldalZ4702KoLZgboBtqEkcjfmZcM=; b=lATfhitJRB/3QAHO+5h8Ef8vDm9WfDovL1a7Zt7xa/eGAqai+lgVgfq7/gvUnvmwcg f1DsIGxFXxsRzTUCbdgrptLfcVxo6mWOQAKQeUg3Lr8xotrp3wUgYcG03wZKCQoFKZUv fni8Gms1Jq94Tmfx4+AlYE/q3z4+dIa6lCQvNsX7gCTAHQlLzDbtqNf7Cb0Jq4omzOwd xhN93JqLoJrxvSW3I1z9cuAlESN6H58Li1rSqspm8sJK8vFx06RYONt2FTe87vm20Ff7 e7h8FhSoIkhOkwIsdjPhNUXY2UUmhnNf+WPkzheipPmTvLyQjyfOIgIAYneBJDx0HN6k afPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=bAEgnzswYDOIAVAldalZ4702KoLZgboBtqEkcjfmZcM=; b=OJrNdqhL1gRy2FMlJJlHYWk11OJxbOqIQR4tu/gDs5q+iPuQ1LLynsP9dXOJqxTvZ+ o258rla7Z56d79YZqSgjXNWeHzjfLOiM4PuQcp1BVLLst9lGuQRJc3GdPeLfxueQVa8p lAZer1mSQ1+i38FOD/wnEvXSvmokx3HUVAnAXHlTnaYB/cpQa+OWD7n7YhQw8I9sQUBy +Q0qzyNnpn6nUNiMfrznbLZEJ9LzZk3vsKYTjx/StdhRGriooJnhIBnO692y2Y2sq7e5 JltqpUHNmFSQfyWW26p3gcL1DsC2rqcIZv+9HSFRI/Ddj0UzSoQanu1A3w34OBQmBtmF cZkA== X-Gm-Message-State: AOPr4FUZeY3/6bBbu+Bl88+ev9YmaNsEsWh7G4giAlZokL6d1rz4b2/ldpaldcG+ZC+jEw== X-Received: by 10.66.167.40 with SMTP id zl8mr25012851pab.8.1462495804055; Thu, 05 May 2016 17:50:04 -0700 (PDT) Received: from Richards-MacBook-Pro-2.local ([2601:645:8101:9a10:cdce:cca5:d26d:b75]) by smtp.gmail.com with ESMTPSA id x64sm16290543pfx.95.2016.05.05.17.50.03 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 May 2016 17:50:03 -0700 (PDT) Message-ID: <572BEA3E.2010603@gmail.com> Date: Thu, 05 May 2016 17:50:06 -0700 From: Rick Hillegas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Running Regression Tests References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------020000050708050608070701" archived-at: Fri, 06 May 2016 00:50:11 -0000 This is a multi-part message in MIME format. --------------020000050708050608070701 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/5/16 12:15 PM, Danoja Dias wrote: > > Hi All, > / > I ran following code to run all tests, > java junit.textui.TestRunner > > org.apache.derbyTesting.functionTests.suites.All > > / > /But I get this message . > Failed to invoke class > org.apache.derbyTesting.functionTests.tests.lang._Suite > java.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 more > Caused 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 more > Failed to invoke suite():java.lang.reflect.InvocationTargetException > > > / > /What am I doing worng? Why is this message comes?/ > -- > Thanks, > Best Regards, > Danoja Dias. Hi Danoja, This error indicates that your classpath does not include the lucene jar files which are in the source tree at tools/java/lucene-analyzers-common.jar tools/java/lucene-core.jar tools/java/lucene-queryparser.jar Hope this helps, -Rick --------------020000050708050608070701 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 5/5/16 12:15 PM, Danoja Dias wrote:

Hi All,

I ran following code to run all tests,
java  junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All

But I get this message .
Failed to invoke class org.apache.derbyTesting.functionTests.tests.lang._Suite
java.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 more
Caused 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 more
Failed to invoke suite():java.lang.reflect.InvocationTargetException


What am I doing worng? Why is this message comes?
--
Thanks,
Best Regards,
Danoja Dias.
Hi Danoja,

This error indicates that your classpath does not include the lucene jar files which are in the source tree at

tools/java/lucene-analyzers-common.jar
tools/java/lucene-core.jar
tools/java/lucene-queryparser.jar

Hope this helps,
-Rick

--------------020000050708050608070701--