Return-Path: X-Original-To: apmail-deltaspike-users-archive@www.apache.org Delivered-To: apmail-deltaspike-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60D44110CB for ; Sun, 17 Aug 2014 13:42:08 +0000 (UTC) Received: (qmail 60772 invoked by uid 500); 17 Aug 2014 13:42:07 -0000 Delivered-To: apmail-deltaspike-users-archive@deltaspike.apache.org Received: (qmail 60736 invoked by uid 500); 17 Aug 2014 13:42:07 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 60722 invoked by uid 99); 17 Aug 2014 13:42:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Aug 2014 13:42:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karl.kilden@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Aug 2014 13:42:01 +0000 Received: by mail-lb0-f175.google.com with SMTP id 10so3268500lbg.20 for ; Sun, 17 Aug 2014 06:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6vlVFD3yf7SGoBB/wS4M4Wqsqtk7x/uhIxntE6XNaZk=; b=mlFMNqpzKj3IaPn5GbTTQfIialQsc1QZ9rsOK0YbfbrjrWhRo58HUphvX+zEDhVy82 K/CDG/JVOqqFHa7BuP3o3hsOXtgZm330I6vPW3bbWl5K9MI0tlTFQCtGbCTyOTBnB5ZE MnY3pnPUe/oYP70BKbf7VsYFznhHGITImJFaXlJVEO79hc7rsDZTV262qo/zq7JOGH/R Wd31sxLU5r/XWrfrmqv+CNcsYR2u0qRuty9A7/m3DIYpMZEMUMGD3PLEzc2hhivvbSsy JGJ4jjHiJruUQ5hbubaEK/fyyQDSBIqv+x/R/deTid821WzK5cPuBTzQUCZf1+V/KTUC gNkQ== MIME-Version: 1.0 X-Received: by 10.152.27.66 with SMTP id r2mr23586818lag.34.1408282900259; Sun, 17 Aug 2014 06:41:40 -0700 (PDT) Received: by 10.112.145.42 with HTTP; Sun, 17 Aug 2014 06:41:40 -0700 (PDT) Date: Sun, 17 Aug 2014 15:41:40 +0200 Message-ID: Subject: Problem with TestRunner CdiTestRunner needing myfaces on path From: =?UTF-8?B?S2FybCBLaWxkw6lu?= To: users@deltaspike.apache.org Content-Type: multipart/alternative; boundary=089e0158c0700368560500d36ac5 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c0700368560500d36ac5 Content-Type: text/plain; charset=UTF-8 Hello, All of the sudden while doing a few experiments I started getting a lot of ClassNotFoundException etc. For example if I don't have myfaces on my path: Caused by: java.lang.NoClassDefFoundError: javax/faces/bean/ApplicationScoped at org.apache.deltaspike.jsf.impl.scope.mapped.MappedJsf2ScopeExtension.(MappedJsf2ScopeExtension.java:54) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) ... 36 more Caused by: java.lang.ClassNotFoundException: javax.faces.bean.ApplicationScoped at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 44 more I had to have these three to make sure I didn't get any exceptions... org.apache.myfaces.core myfaces-impl ${myfaces.version} test org.apache.myfaces.test myfaces-test22 1.0.7 test org.apache.myfaces.core myfaces-impl-test 2.2.4 test Anyone knows what could be wrong? I am sure it's something on my side... Cheers --089e0158c0700368560500d36ac5--