You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Marco Neumann <ma...@gmail.com> on 2021/12/13 09:50:09 UTC

Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

fyi I currently get an error starting
jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb back-ends)

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jena/cmd/Cmds
        at
org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
        at
org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
        at
org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
        at org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
        at
org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
        at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
        at
org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34)
        at
org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
        at
org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114)
        at
org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65)
        at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
        at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        ... 13 more

this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar

-- 


---
Marco Neumann
KONA

Re: Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Posted by Marco Neumann <ma...@gmail.com>.
so I have solved the issue on my end by removing the exclusion in
the jena-fuseki2/jena-fuseki-geosparql/pom.xml

            <exclusions>
              <exclusion>
                <groupId>org.apache.jena</groupId>
                <artifactId>jena-cmds</artifactId>
              </exclusion>
            </exclusions>

not sure what the motivation was here to add the exclusion, but jena-cmds
is definitely missing during execution with the exclusion. This
explains the error message.


On Tue, Dec 14, 2021 at 9:57 AM Marco Neumann <ma...@gmail.com>
wrote:

> Ok I will first investigate this a litte Andy. l think this might have
> something to do with the logging change. The file size has obviously
> changed from 39M in jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar to 33M
> in jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar
>
> Marco
>
>
>
> On Mon, Dec 13, 2021 at 1:14 PM Andy Seaborne <an...@apache.org> wrote:
>
>> Pleas raise a JIRA, with a command line (and any files needed) that
>> causes it to happen together with the complete stacktrace.
>>
>>      Andy
>>
>> On 13/12/2021 13:04, Andy Seaborne wrote:
>> > The relevant change happened 2021-10-13.
>> >
>> > So why 4.3.0 works is unclear.
>> >
>> >      Andy
>> >
>> > On 13/12/2021 10:40, Marco Neumann wrote:
>> >> Author: Andy Seaborne <an...@apache.org>
>> >> Date:   Fri Dec 10 15:29:50 2021 +0000
>> >>
>> >> On Mon, Dec 13, 2021 at 10:20 AM Andy Seaborne <an...@apache.org>
>> wrote:
>> >>
>> >>>   > this is not the case with for
>> >>> jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>> >>>
>> >>> Date of SNAPSHOT?
>> >>>
>> >>> At the moment, dev-main 4.4.0-SNAPSHOT is 4.3.0 except for version
>> >>> number on POMs.
>> >>>
>> >>>       Andy
>> >>>
>> >>> On 13/12/2021 09:50, Marco Neumann wrote:
>> >>>> fyi I currently get an error starting
>> >>>> jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb
>> >>> back-ends)
>> >>>>
>> >>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> >>>> org/apache/jena/cmd/Cmds
>> >>>>           at
>> >>>> org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
>> >>>>           at
>> >>>> org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
>> >>>>           at
>> >>>>
>> >>>
>> org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117)
>>
>> >>>
>> >>>>           at
>> java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>> >>>>           at
>> >>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
>> >>>>           at
>> >>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
>> >>>>           at
>> >>>> org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
>> >>>>           at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
>> >>>>           at
>> >>>>
>> >>>
>> org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34)
>>
>> >>>
>> >>>>           at
>> >>>> org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
>> >>>>           at
>> >>>>
>> >>>
>> org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114)
>>
>> >>>
>> >>>>           at
>> >>>>
>> >>>
>> org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65)
>>
>> >>>
>> >>>>           at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
>> >>>> Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
>> >>>>           at
>> >>>>
>> >>>
>> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
>>
>> >>>
>> >>>>           at
>> >>>>
>> >>>
>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
>>
>> >>>
>> >>>>           at
>> >>> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>> >>>>           ... 13 more
>> >>>>
>> >>>> this is not the case with for
>> jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>> >>>>
>> >>>
>> >>
>> >>
>>
>
>
> --
>
>
> ---
> Marco Neumann
> KONA
>
>

-- 


---
Marco Neumann
KONA

Re: Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Posted by Marco Neumann <ma...@gmail.com>.
Ok I will first investigate this a litte Andy. l think this might have
something to do with the logging change. The file size has obviously
changed from 39M in jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar to 33M
in jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Marco



On Mon, Dec 13, 2021 at 1:14 PM Andy Seaborne <an...@apache.org> wrote:

> Pleas raise a JIRA, with a command line (and any files needed) that
> causes it to happen together with the complete stacktrace.
>
>      Andy
>
> On 13/12/2021 13:04, Andy Seaborne wrote:
> > The relevant change happened 2021-10-13.
> >
> > So why 4.3.0 works is unclear.
> >
> >      Andy
> >
> > On 13/12/2021 10:40, Marco Neumann wrote:
> >> Author: Andy Seaborne <an...@apache.org>
> >> Date:   Fri Dec 10 15:29:50 2021 +0000
> >>
> >> On Mon, Dec 13, 2021 at 10:20 AM Andy Seaborne <an...@apache.org> wrote:
> >>
> >>>   > this is not the case with for
> >>> jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
> >>>
> >>> Date of SNAPSHOT?
> >>>
> >>> At the moment, dev-main 4.4.0-SNAPSHOT is 4.3.0 except for version
> >>> number on POMs.
> >>>
> >>>       Andy
> >>>
> >>> On 13/12/2021 09:50, Marco Neumann wrote:
> >>>> fyi I currently get an error starting
> >>>> jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb
> >>> back-ends)
> >>>>
> >>>> Exception in thread "main" java.lang.NoClassDefFoundError:
> >>>> org/apache/jena/cmd/Cmds
> >>>>           at
> >>>> org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
> >>>>           at
> >>>> org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
> >>>>           at
> >>>>
> >>>
> org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117)
>
> >>>
> >>>>           at
> java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> >>>>           at
> >>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
> >>>>           at
> >>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
> >>>>           at
> >>>> org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
> >>>>           at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
> >>>>           at
> >>>>
> >>>
> org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34)
>
> >>>
> >>>>           at
> >>>> org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
> >>>>           at
> >>>>
> >>>
> org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114)
>
> >>>
> >>>>           at
> >>>>
> >>>
> org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65)
>
> >>>
> >>>>           at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
> >>>> Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
> >>>>           at
> >>>>
> >>>
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
>
> >>>
> >>>>           at
> >>>>
> >>>
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
>
> >>>
> >>>>           at
> >>> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
> >>>>           ... 13 more
> >>>>
> >>>> this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
> >>>>
> >>>
> >>
> >>
>


-- 


---
Marco Neumann
KONA

Re: Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Posted by Andy Seaborne <an...@apache.org>.
Pleas raise a JIRA, with a command line (and any files needed) that 
causes it to happen together with the complete stacktrace.

     Andy

On 13/12/2021 13:04, Andy Seaborne wrote:
> The relevant change happened 2021-10-13.
> 
> So why 4.3.0 works is unclear.
> 
>      Andy
> 
> On 13/12/2021 10:40, Marco Neumann wrote:
>> Author: Andy Seaborne <an...@apache.org>
>> Date:   Fri Dec 10 15:29:50 2021 +0000
>>
>> On Mon, Dec 13, 2021 at 10:20 AM Andy Seaborne <an...@apache.org> wrote:
>>
>>>   > this is not the case with for 
>>> jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>>>
>>> Date of SNAPSHOT?
>>>
>>> At the moment, dev-main 4.4.0-SNAPSHOT is 4.3.0 except for version
>>> number on POMs.
>>>
>>>       Andy
>>>
>>> On 13/12/2021 09:50, Marco Neumann wrote:
>>>> fyi I currently get an error starting
>>>> jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb
>>> back-ends)
>>>>
>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>> org/apache/jena/cmd/Cmds
>>>>           at
>>>> org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
>>>>           at
>>>> org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
>>>>           at
>>>>
>>> org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117) 
>>>
>>>>           at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>>>>           at
>>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
>>>>           at
>>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
>>>>           at
>>>> org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
>>>>           at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
>>>>           at
>>>>
>>> org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34) 
>>>
>>>>           at
>>>> org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
>>>>           at
>>>>
>>> org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114) 
>>>
>>>>           at
>>>>
>>> org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65) 
>>>
>>>>           at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
>>>> Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
>>>>           at
>>>>
>>> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) 
>>>
>>>>           at
>>>>
>>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) 
>>>
>>>>           at
>>> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>>>>           ... 13 more
>>>>
>>>> this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>>>>
>>>
>>
>>

Re: Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Posted by Andy Seaborne <an...@apache.org>.
The relevant change happened 2021-10-13.

So why 4.3.0 works is unclear.

     Andy

On 13/12/2021 10:40, Marco Neumann wrote:
> Author: Andy Seaborne <an...@apache.org>
> Date:   Fri Dec 10 15:29:50 2021 +0000
> 
> On Mon, Dec 13, 2021 at 10:20 AM Andy Seaborne <an...@apache.org> wrote:
> 
>>   > this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>>
>> Date of SNAPSHOT?
>>
>> At the moment, dev-main 4.4.0-SNAPSHOT is 4.3.0 except for version
>> number on POMs.
>>
>>       Andy
>>
>> On 13/12/2021 09:50, Marco Neumann wrote:
>>> fyi I currently get an error starting
>>> jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb
>> back-ends)
>>>
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> org/apache/jena/cmd/Cmds
>>>           at
>>> org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
>>>           at
>>> org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
>>>           at
>>>
>> org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117)
>>>           at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>>>           at
>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
>>>           at
>> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
>>>           at
>>> org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
>>>           at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
>>>           at
>>>
>> org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34)
>>>           at
>>> org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
>>>           at
>>>
>> org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114)
>>>           at
>>>
>> org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65)
>>>           at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
>>> Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
>>>           at
>>>
>> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
>>>           at
>>>
>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
>>>           at
>> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>>>           ... 13 more
>>>
>>> this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>>>
>>
> 
> 

Re: Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Posted by Marco Neumann <ma...@gmail.com>.
Author: Andy Seaborne <an...@apache.org>
Date:   Fri Dec 10 15:29:50 2021 +0000

On Mon, Dec 13, 2021 at 10:20 AM Andy Seaborne <an...@apache.org> wrote:

>  > this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>
> Date of SNAPSHOT?
>
> At the moment, dev-main 4.4.0-SNAPSHOT is 4.3.0 except for version
> number on POMs.
>
>      Andy
>
> On 13/12/2021 09:50, Marco Neumann wrote:
> > fyi I currently get an error starting
> > jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb
> back-ends)
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/jena/cmd/Cmds
> >          at
> > org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
> >          at
> > org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
> >          at
> >
> org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117)
> >          at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> >          at
> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
> >          at
> org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
> >          at
> > org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
> >          at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
> >          at
> >
> org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34)
> >          at
> > org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
> >          at
> >
> org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114)
> >          at
> >
> org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65)
> >          at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
> > Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
> >          at
> >
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
> >          at
> >
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
> >          at
> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
> >          ... 13 more
> >
> > this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
> >
>


-- 


---
Marco Neumann
KONA

Re: Error starting jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar

Posted by Andy Seaborne <an...@apache.org>.
 > this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar

Date of SNAPSHOT?

At the moment, dev-main 4.4.0-SNAPSHOT is 4.3.0 except for version 
number on POMs.

     Andy

On 13/12/2021 09:50, Marco Neumann wrote:
> fyi I currently get an error starting
> jena-fuseki-geosparql-4.4.0-SNAPSHOT.jar. (with In-Memory and tdb back-ends)
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/jena/cmd/Cmds
>          at
> org.apache.jena.fuseki.main.sys.InitFuseki.init(InitFuseki.java:60)
>          at
> org.apache.jena.fuseki.main.sys.InitFuseki.start(InitFuseki.java:36)
>          at
> org.apache.jena.base.module.Subsystem.lambda$initialize$2(Subsystem.java:117)
>          at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>          at org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193)
>          at org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169)
>          at
> org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115)
>          at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:88)
>          at
> org.apache.jena.sparql.core.DatasetGraphFactory.<clinit>(DatasetGraphFactory.java:34)
>          at
> org.apache.jena.query.DatasetFactory.create(DatasetFactory.java:54)
>          at
> org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:114)
>          at
> org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65)
>          at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
> Caused by: java.lang.ClassNotFoundException: org.apache.jena.cmd.Cmds
>          at
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
>          at
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
>          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>          ... 13 more
> 
> this is not the case with for jena-fuseki-geosparql-4.3.0-SNAPSHOT.jar
>