From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KLYGL7ozql8nUwAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 06:31:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UDXmKrozql8IVgAAbx9fmQ (envelope-from ) for ; Tue, 10 Nov 2020 06:31:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 25393940222 for ; Tue, 10 Nov 2020 06:31:22 +0000 (UTC) Received: from localhost ([::1]:54286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcNBX-0004uB-GU for larch@yhetil.org; Tue, 10 Nov 2020 01:31:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcN9X-0004tr-3l for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 01:29:15 -0500 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:48086 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcN9V-0007jk-0r for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 01:29:14 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kcN9R-0008Rp-GF for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 07:29:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Jarmo Hurri Subject: Re: [PATCH] ob-java Date: Tue, 10 Nov 2020 08:29:03 +0200 Message-ID: <87imadafo0.fsf@iki.fi> References: <87y2jv367k.fsf@kyleam.com> <87v9ez2flk.fsf@kyleam.com> <87361nwyvg.fsf@iki.fi> <87y2jfukky.fsf@iki.fi> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:7XTfXewh9Iz35gV2fHJn08yfFOM= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 01:29:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: TcXCgawfCfwk --=-=-= Content-Type: text/plain ian martins writes: > Let me know how it goes. Hello again. It seems that you have changed some classloader settings in the new code. I have examples which used to work perfectly; now they still compile, but fail to run, throwing exception java.lang.NoClassDefFoundError explained here: https://stackoverflow.com/questions/17973970/how-to-solve-java-lang-noclassdeffounderror I have attached a minimal example demontrating the problem. 1. You can see the error if you evaluate the code in the org file. Please observer that the submodule java file has been compiled to a class just fine. 2. If you untangle the org file, and then run javac LoadError.java java LoadError you should see that there is no problem with the code. This issue is critical for me, because a lot of code I have depends on other code (in git submodules). Can you please tell me how this proceeds? (I may have to roll back to an earlier org version soon.) All the best, Jarmo --=-=-= Content-Type: application/gzip Content-Disposition: attachment; filename=load-error.tar.gz Content-Transfer-Encoding: base64 Content-Description: load error demo H4sICBowql8AA2xvYWQtZXJyb3IudGFyAO3TTU+DMBgHcM58iifzMjXigA2SLV6Mu+0kejLGdKxD JlBSuhmz7Lvbdi/Oi7s4X5L/L4GGhwcohX8h2OSCSymkJ2TmHEVHi6KuGf2419kfrbAXOn4Y94Ju EMdd3ecHUeQ71DnOdD6bN4pJImfGZCm+6Dt0/p86oxteChJTKvSfQPZPcF2ik/Mxz/LqqZEpzdiC UT8tWNNUrOQ00p1D00h9xaqs2Kt4pldfTpSXtZCKpkJ410wOXFus5+MiT0kvudLDQuQTKlletRMl 8yp7eCQms+bUti7tnkhfTGO9XVHFX+1R+3SwOafr3jMvCrGrrezUeTUxE1+/x+0wuR/dJX33t5f6 T9Lf51Ivqv1ux3rGofz7cbDLf9iNTf6DMED+f0LN0heWcZNTndFNPm3UTdZck8JNcR09Wq4+SjbA 2wC628wmb43ipSfmyqt1rFVRUbtlu1o2pSvX3AJxBAAAAAAAAAAAAAAAAAAAAPgW74E13xYAKAAA --=-=-=--