Hi Andy, I just came back home and booted up Ubuntu, opened the browser and command line and tried these commands. But I did use Eclipse in the past, so tried these now:
find . -name work -type d -exec rm -rf {} \; find . -name target -type d -exec rm -rf {} \; mvn clean mvn install Same error. mvn install -rf :jena-geosparql also gives the same errors. Bruno On Sat, 24 Dec 2022 at 17:42, Andy Seaborne <a...@apache.org> wrote: > Works for me (obviously, since the RC got built!) > > `mvn clean install` is probably necessary > > Does > > `mvn install -rf :jena-geosparql` restart the build? > > > > * java.lang.NoClassDefFoundError > > I've seen this, and similar, if Eclipse is also running even if idle. > > Eclipse sees the target directories changing on disk, and recompiles > automatically while maven is running. > > Then what exactly goes wrong is "timing". > > * Caused by: org.apache.jena.sparql.ARQException: Context key is null > > is consistent with that, not finding a service loader file or deleting > and recompiling a class causing class init mayhem. > > > Could this be the issue? > > (I'm using same java17 version to compile, mvn 3.8.6 which is x.x.1 ahead.) > > GeoSPARQL isn't "core" - > > Andy > > > On 24/12/2022 16:14, Bruno Kinoshita wrote: > > Ok, confirmed I haven't voted. Fetched upstream, including tags. Checked > > out jena-4.7.0: > > > > commit 3a62b5a5f162ef01fd46164fa11ffb5323169a61 (HEAD, tag: jena-4.7.0) > > Author: Andy Seaborne <a...@apache.org> > > Date: Tue Dec 20 13:34:40 2022 +0000 > > > > [maven-release-plugin] prepare release jena-4.7.0 > > > > Then tried `mvn`, `mvn -Pdev`, `mvn install`, `mvn clean install` and all > > four commands failed in the GeoSPARQL tests for my environment: > > > > Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) > > Maven home: /opt/apache-maven-3.8.5 > > Java version: 17.0.5, vendor: Private Build, runtime: > > /usr/lib/jvm/java-17-openjdk-amd64 > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "linux", version: "5.15.0-56-generic", arch: "amd64", family: > > "unix" > > > > And the errors here: https://paste.apache.org/57232 > > > > Could be just my environment (maven, OS, etc) so if it works for others, > > n=that's not a blocker for the release I believe. > > > > Cheers > > Bruno > > > > On Sat, 24 Dec 2022 at 10:58, Bruno Kinoshita <ki...@apache.org> wrote: > > > >> I don't think I voted yet... I will have time in 5 or 6 hours when I > >> return home to confirm I haven't and then test and vote. > >> > >> Thanks! > >> > >> On Sat, 24 Dec 2022, 10:14 am Andy Seaborne, <a...@apache.org> wrote: > >> > >>> Would any PMC member have a moment to cast a third vote? > >>> > >>> Andy > >>> > >>> On 20/12/2022 16:39, Andy Seaborne wrote: > >>>> Hi, > >>>> > >>>> Here is a vote on the release of Apache Jena 4.7.0. > >>>> This is the first release candidate. > >>>> > >>>> The deadline is > >>>> > >>>> Friday, 23rd December 2022 at 18:00 UTC > >>>> > >>>> Please vote to approve this release: > >>>> > >>>> [ ] +1 Approve the release > >>>> [ ] 0 Don't care > >>>> [ ] -1 Don't release, because ... > >>> > >>> > > >