On 16/04/2023 20:09, Bruno Kinoshita wrote:
I wonder if I have to check out from scratch again, or maybe I need to
update Maven or JDK, or use a different command?

I'm trying to build it with Java 17 (OpenJDK) with `mvn clean test install
-Pdev`, `mvn clean install -Pdev`, and `mvn clean install`. It always fails
on TDB1, failing to run the tests.

[ERROR]   TestTransactionUnionGraph.before:43 NoClassDefFound Could not
initialize class org.apache.jena.sparql.sse.SSE


    @Before
    public void before()
    {
        ds = TDBFactory.createDataset() ;
        ds.asDatasetGraph().add(SSE.parseQuad("(<g> <s> <p> 1)")) ;
    }

NoClassDefFound means it compiled but then wasn't found at runtime. So it (SSE) was there ... then it wasn't!

Failing to initialize a class can look like class not found. SSE will have been used in earlier modules. Strange.

[ERROR]   TestTransactionUnionGraph.before:43 NoClassDefFound Could not
initialize class org.apache.jena.sparql.sse.SSE
[ERROR]   TestTransactionUnionGraph.before:43 NoClassDefFound Could not
initialize class org.apache.jena.sparql.sse.SSE
[ERROR]   TestTransactionUnionGraph.before:43 NoClassDefFound Could not
initialize class org.apache.jena.sparql.sse.SSE
[ERROR]   TestTransactionUnionGraph.before:43 NoClassDefFound Could not
initialize class org.apache.jena.sparql.sse.SSE
[ERROR]   TestTransactionUnionGraph.before:43 NoClassDefFound Could not
initialize class org.apache.jena.sparql.sse.SSE
[INFO]
[ERROR] Tests run: 906, Failures: 0, Errors: 484, Skipped: 5

Any idea what's going on?

I've just downloaded the source zip on a machine which wasn't the release machine. (Linux again)

"mvn clean install -Pdev" worked.

I sometimes get similar-looking problems when Eclipse is running while running maven outside the IDE.

Eclipse sees things changing and decides to rebuild the world. Eclipse does a clean ... and deletes maven's earlier work. That might explain why it was there and then it wasn't. It could also break system initialization.

    Andy


Thanks!

On Sun, 16 Apr 2023 at 19:16, Andy Seaborne <a...@apache.org> wrote:

+1

On 16/04/2023 17:30, Andy Seaborne wrote:
Hi,

Here is a vote on the release of Apache Jena 4.8.0.
This is the first release candidate.

The deadline is

      Wednesday, 19th April 2023 at 20:00 UTC

Please vote to approve this release:

          [ ] +1 Approve the release
          [ ]  0 Don't care
          [ ] -1 Don't release, because ...


Reply via email to