Not sure.

D2RQ only works with older versions of ARQ.  Have you got two versions 
in your project?  The exported jar and the Eclipse classpath may end up 
finding different instances from different versions.  Exporting it with 
"copy required libraries into a subfolder" may make it clear.

        Andy

On 07/04/11 13:29, Vivi kasse wrote:
>
>
> Hello,
>
> I use d2r- update server, eclipse helios sr2, jdk6 update 24.
>
> When i execute my java application through eclipse, it runs.
>
> When i make a jar (Export->Runnable jar file (Package required libraries
> into generated jar file)) and run it (java -jar name.jar) i get the
> following error:
>
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
> Caused by: java.lang.AbstractMethodError
> at
> com.hp.hpl.jena.sparql.engine.QueryEngineBase.setupContext(QueryEngineBase.java:75)
> at
> com.hp.hpl.jena.sparql.engine.QueryEngineBase.<init>(QueryEngineBase.java:58)
> at
> com.hp.hpl.jena.sparql.engine.QueryEngineBase.<init>(QueryEngineBase.java:41)
> at
> com.hp.hpl.jena.sparql.engine.main.QueryEngineMain.<init>(QueryEngineMain.java:38)
> at
> de.fuberlin.wiwiss.d2rq.engine.QueryEngineD2RQ.<init>(QueryEngineD2RQ.java:38)
> at
> de.fuberlin.wiwiss.d2rq.engine.QueryEngineD2RQ$QueryEngineFactoryD2RQ.create(QueryEngineD2RQ.java:80)
> at
> com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecutionBase.java:266)
> at
> com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(QueryExecutionBase.java:243)
> at
> com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryExecutionBase.java:248)
> at
> com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExecutionBase.java:94)
> at
> semwebprogramming.archeologicalsites.data2rdf.Mysql2rdf.<init>(Mysql2rdf.java:96)
> at
> semwebprogramming.archeologicalsites.archeologicalsites.main(archeologicalsites.java:23)
> ... 5 more
>
> What does it mean?? I have found that AbstractMethodError is Thrown when
> an application tries to call an abstract method. Normally, this error is
> caught by the compiler; this error can only occur at run time if the
> definition of some class has incompatibly changed since the currently
> executing method was last compiled.
>
> Could you help me??
>
> Vivi.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to