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 A839A200BCF for ; Mon, 5 Dec 2016 13:49:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A6BA5160B17; Mon, 5 Dec 2016 12:49:05 +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 F0DCE160AF9 for ; Mon, 5 Dec 2016 13:49:04 +0100 (CET) Received: (qmail 45911 invoked by uid 500); 5 Dec 2016 12:49:03 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 45901 invoked by uid 99); 5 Dec 2016 12:49:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2016 12:49:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 567C2D00CF for ; Mon, 5 Dec 2016 12:49:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ECUTQTk6QBUH for ; Mon, 5 Dec 2016 12:49:02 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D6FF55FC41 for ; Mon, 5 Dec 2016 12:49:01 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id n204so344390833qke.2 for ; Mon, 05 Dec 2016 04:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=tc+iK84SFThxAPRisOEXocnE82B+uyi3GqT4cqX9ffc=; b=OT+c9YiR3YvJNptJ3Bu75uIsVU/l/jpk1/3gfCp1KaNXzjYEEzuSVAO34sQ881rb/r cwlDY2EoTf7IGcPKCAP3sDleWtrZgMXfGsgZ4GQVYPTFs++2v7+T8iLcEHaWkRe1Aran UfO9aPwmK9WwMH3gdUqZtUElV34SDJwWdvTD6JxYXC30QaorGSiWnYvDOvLSTcWmOYVH WaXqnWLacyHUuZLsqTA77Y70I1tBIfXecNLhSV/+CZjmACv77PZUFT6TkGQZk4i2EpZb afPklMSy6tiz+o+e+NpCQXwgJA1wmaSvPvi3aNE+OJ3elNa7PPyswDfQexOs4XGw6Won k//w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tc+iK84SFThxAPRisOEXocnE82B+uyi3GqT4cqX9ffc=; b=ahhL6KKCWHydSYELsyhMlw8dg3Pb9gZ5JY2IJivAP8DhalaLrUYTzWCQVMKa/tLJxL QxajVwC+M1t2FoqligUom7YkNT3DaAWX+/gcLsbQ2h95yNbWRhCmkVw/krwpwh4v98Ww KoizxDBU6GmzAHy9iYFhOJD6DxK2pcycwF1BC9IBainqL6d5fdn2gAsSyQ2LOmY3GHcR i1WaRGGKFvGcpEPxZgf8KQgWmSlKVqzw3uQJev0gXGP5yeiNQhH8XQvGEDcKwf3Iuxoq 0IyiBE+xseOuDENkXrvFTeYHvx6G5fKZSPfRApD7ksag77o3DuOftglzXi/JtwW15ud8 MQMw== X-Gm-Message-State: AKaTC00s2I7gBgRNstQQCwAuy0cnE6yfyJ1ljGS/AeZv4T12x4xg//9rlevjrNhIIP6VmSXhrj5FycQlR5718w== X-Received: by 10.55.41.39 with SMTP id p39mr50890041qkh.245.1480942135187; Mon, 05 Dec 2016 04:48:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.86.132 with HTTP; Mon, 5 Dec 2016 04:48:54 -0800 (PST) From: Dimitar Vassilev Date: Mon, 5 Dec 2016 14:48:54 +0200 Message-ID: Subject: snakeyaml import question for groovy 2.4.7 on Ubuntu 16.04 and RHEL 6.6 To: users@groovy.apache.org Content-Type: multipart/alternative; boundary=001a1147b374e69e360542e8b5ea archived-at: Mon, 05 Dec 2016 12:49:05 -0000 --001a1147b374e69e360542e8b5ea Content-Type: text/plain; charset=UTF-8 Hello, can someone advise how to import properly snakeyaml into groovy 2.4.7? I've tried on Ubuntu 16.04 and RHEL 6.6 by invoking it from groovysh or groovy directly groovy:000> import org.yaml.snakeyaml.Yaml; Invalid import definition: 'org.yaml.snakeyaml.Yaml'; reason: startup failed: script14809411869301863038523.groovy: 1: unable to resolve class org.yaml.snakeyaml.Yaml @ line 1, column 1. import org.yaml.snakeyaml.Yaml; ^ 1 error However if I load import org.yaml.snakeyaml.* it succeeds, but later on when I try to find what classes have been imported I have no luck. The error persists both on the binary distribution from groovy/ubuntu web sites and the one installed via sdkman (RHEL). JDKs I've used are openjdk and the Oracle JDK 8u111. Many thanks for your help. --001a1147b374e69e360542e8b5ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,
can someone advise how to import properly snake= yaml into groovy 2.4.7?
I've tried on Ubuntu 16.04 and RHEL 6= .6 by invoking it from groovysh or groovy directly

groovy:000> import org.yaml.snakeyaml.Yaml;
Invalid impo= rt definition: 'org.yaml.snakeyaml.Yaml'; reason: startup failed:
script14809411869301863038523.groovy: 1: unable to resolve class o= rg.yaml.snakeyaml.Yaml
=C2=A0@ line 1, column 1.
=C2=A0= =C2=A0import org.yaml.snakeyaml.Yaml;
=C2=A0 =C2=A0^
<= br>
1 error

However if I load impo= rt org.yaml.snakeyaml.* it succeeds, but later on when I try to find what c= lasses have been imported I have no luck.

The erro= r persists both on the binary distribution from groovy/ubuntu web sites and= =C2=A0the one installed via sdkman (RHEL). JDKs I've used are openjdk = and the Oracle JDK 8u111.
Many thanks for your help.
--001a1147b374e69e360542e8b5ea--