Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qko3k-00GeY8-54 for pgsql-general@arkaria.postgresql.org; Mon, 25 Sep 2023 16:03:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qko3i-002f2F-T5 for pgsql-general@arkaria.postgresql.org; Mon, 25 Sep 2023 16:03:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qko3i-002f21-Hc for pgsql-general@lists.postgresql.org; Mon, 25 Sep 2023 16:03:42 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qko3f-007Vnz-TE for pgsql-general@lists.postgresql.org; Mon, 25 Sep 2023 16:03:41 +0000 Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3ae2f8bf865so2901236b6e.2 for ; Mon, 25 Sep 2023 09:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695657818; x=1696262618; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ld9DPxpBihCjlUflICkmuUlPDLHBHOMwSVQGw2lMTr8=; b=F1GsEo4NuRiVk2jH1dgQBCCtANnCaZV0n+e3hLfSSTfqBvtew/ilzwPvPjNyilb6km dGi5KObUsOGHbrApAizWXFiZrZmih0Ynt/P94e6cdpUOmV+lB84teWTZUw76G0OR1Suv qv1VnxQl+G8fU0AsXo0rVHhwT3VkhF9VAg8t4TzvR1BtQQ7Hap4EEN21mlQJmr1zowMM Dwhf2BJr92eT19PBamu7NDJV26QhNzZbY41oTxB9b3vsfUGvM6mm1Hdpwq0WDWpC3rQS k1I1YzBYo3CNU6zXxxjWasZ3UgUEU2pmzuZi49x2oRMMVzN7BQoxb9fbfFpw3g0b2H2U 8gJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695657818; x=1696262618; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ld9DPxpBihCjlUflICkmuUlPDLHBHOMwSVQGw2lMTr8=; b=NpdhYiVFRfOjBv7Y0Ly4bhVHIJyxni6MIWRH8o5I7wBAAW0GStpVvll8y8YR7h/4Hf MyXg0a6b4MjRA6DHZofAYoIn6q5WxQB4ocFszFMNjjV6ZSlQEU/HQ+Z0eMvXkWxFqBIO A97ZUUBRshO7pdKkzuYrWoyIO1LETF/mF/LJr8mt5G1sTNveZgfVpeevpnmchktjJA71 ahMX+lXlFd4Q/Lemgimz3eZFiDzF3wXt0FG1TYq3bfp74iG045ihVXs3uUyQn06jgLMF kgYG9iaruzT6D6wGHsXDxoZGKETM/4bROAPLDJnMqlw104qp3qhira8p8u+8ycwyifjK 86xg== X-Gm-Message-State: AOJu0YwZSW0vKxdFIzmNHaq8VD7KTWTumoCe1NBPb0ADL3P4KiUtWHsb j32o82v0ie7y7u4vFvnD/FGlG8iA3LM= X-Google-Smtp-Source: AGHT+IESdHqPkx03MvnL5aYEFI24a9EbvYE2Bd8iPp5HwGdfLr/vb4H7kOjDUby5d/XSPAlK/RvQlg== X-Received: by 2002:a05:6808:2385:b0:3ae:1b49:c4e2 with SMTP id bp5-20020a056808238500b003ae1b49c4e2mr11699725oib.8.1695657817021; Mon, 25 Sep 2023 09:03:37 -0700 (PDT) Received: from ?IPV6:2601:681:5a00:f790:a459:8f98:f6b9:e6ec? ([2601:681:5a00:f790:a459:8f98:f6b9:e6ec]) by smtp.gmail.com with ESMTPSA id a17-20020a056638005100b0042bb1c9b59csm2853658jap.126.2023.09.25.09.03.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Sep 2023 09:03:36 -0700 (PDT) Message-ID: Date: Mon, 25 Sep 2023 10:03:28 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: Right version of jdbc Content-Language: en-CA To: pgsql-general@lists.postgresql.org References: From: Rob Sargent In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/25/23 06:38, Raivo Rebane wrote: > Hi, now I use - >   >     >         org.postgis >         postgis-jdbc >         1.3.3 >     >     >         org.postgresql >         postgresql >         42.5.4 >     >   > But I got error - > Exception in thread "main" java.lang.NoSuchMethodError: > 'org.postgresql.core.Encoding > org.postgresql.core.BaseConnection.getEncoding()' >         at > org.postgresql.jdbc2.AbstractJdbc2ResultSet.getString(AbstractJdbc2ResultSet.java:1889) >         at > org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2ResultSet.java:438) >         at > org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2ResultSet.java:2406) >         at backendproject.BackendMain.main(BackendMain.java:64) > > Whats wrong ? Show your application CLASSPATH.