Sorry, I got mistake. This is error

Exception in thread "AWT-EventQueue-0"
java.lang.IncompatibleClassChangeError: Found class
com.hp.hpl.jena.graph.impl.LiteralLabel, but interface was expected
    at org.mindswap.pellet.jena.JenaUtils.makeLiteral(JenaUtils.java:73)
    at org.mindswap.pellet.jena.JenaUtils.makeATerm(JenaUtils.java:93)
    at
org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader.parseDataRange(DefaultGraphLoader.java:690)
    at
org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader.node2term(DefaultGraphLoader.java:592)
    at
org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader.processType(DefaultGraphLoader.java:1249)
    at
org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader.processTypes(DefaultGraphLoader.java:1211)
    at
org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader.processTypes(DefaultGraphLoader.java:1189)
    at
org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader.load(DefaultGraphLoader.java:2088)
    at org.mindswap.pellet.jena.PelletInfGraph.load(PelletInfGraph.java:219)
    at org.mindswap.pellet.jena.PelletInfGraph.load(PelletInfGraph.java:192)
    at
org.mindswap.pellet.jena.PelletInfGraph.prepare(PelletInfGraph.java:242)
    at
org.mindswap.pellet.jena.PelletInfGraph.prepare(PelletInfGraph.java:230)
    at
com.hp.hpl.jena.ontology.impl.OntModelImpl.prepare(OntModelImpl.java:2607)
    at finish.windowBuilder.prepare(windowBuilder.java:519)
    at finish.windowBuilder.initComponents(windowBuilder.java:476)
    at finish.windowBuilder.<init>(windowBuilder.java:110)
    at finish.windowBuilder$1.run(windowBuilder.java:96)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Binh


On Tue, Feb 21, 2012 at 7:14 PM, Ignazio Palmisano <
[email protected]> wrote:

> On 21 February 2012 17:43, Tran Thai Binh <[email protected]> wrote:
> > Hi,
> > I already change to Eclipse 3.7 (Indigo), but another errors occurs when
> I
> > declare those lib.
> >
> > import com.hp.hpl.jena.ontology.OntModel;
> > import com.hp.hpl.jena.query.Query;
> > import com.hp.hpl.jena.query.QueryExecution;
> > import com.hp.hpl.jena.query.QueryExecutionFactory;
> > import com.hp.hpl.jena.query.QueryFactory;
> > import com.hp.hpl.jena.query.QuerySolution;
> > import com.hp.hpl.jena.query.ResultSet;
> > import com.hp.hpl.jena.rdf.model.Model;
> > import com.hp.hpl.jena.rdf.model.ModelFactory;
> > import com.hp.hpl.jena.util.FileManager;
> > import de.fuberlin.wiwiss.d2rq.ModelD2RQ;
>
> Which error? I cannot see any error here.
> Did you add all the libraries to the project's classpath?
> I.
>
> >
> > It is no errors with Eclipse 3.3.1. I use ARQ-2.8.8. Please help me.
> >
> > Binh
> >
> >
> >
> > On Tue, Feb 21, 2012 at 6:00 PM, Ignazio Palmisano <
> > [email protected]> wrote:
> >
> >> On 21 February 2012 16:53, Tran Thai Binh <[email protected]>
> wrote:
> >> > Hi,
> >> > I use Eclipse SDK 3.3.1, it is very strange that it just has two
> option,
> >> > when i use EXPORT, that are JAR file and Javadoc, NO Runnable JAR
> File.
> >> > Have you seen that case before?
> >>
> >> No, but I am using Eclipse 3.7. Eclipse 3.3.1 dates back to September
> >> 2007, any good reason to still use it?
> >> HTH,
> >> I.
> >>
> >> > Cheers,
> >> > Binh
> >> >
> >> >
> >> > On Tue, Feb 21, 2012 at 5:45 PM, Ignazio Palmisano <
> >> > [email protected]> wrote:
> >> >
> >> >> On 21 February 2012 16:34, Tran Thai Binh <[email protected]>
> >> wrote:
> >> >> > Hi,
> >> >> > Thank you very much. Actually, I am very newbie, so please help me
> >> how to
> >> >> > do that clearly.
> >> >> > Thank in advances,
> >> >> > Binh
> >> >> >
> >> >>
> >> >> In Eclipse, select File/Export; the window that opens has the option
> >> >> to export a runnable jar. From there, select the launch configuration
> >> >> that you use in Eclipse to run your code, then choose the location
> for
> >> >> your exported jar.
> >> >> HTH,
> >> >> I.
> >> >>
> >> >> > On Tue, Feb 21, 2012 at 5:29 PM, Ignazio Palmisano <
> >> >> > [email protected]> wrote:
> >> >> >
> >> >> >> On 21 February 2012 15:45, Tran Thai Binh <[email protected]
> >
> >> >> wrote:
> >> >> >> > Hi all,
> >> >> >> > I create an java file with Eclipse, it run perfectly within
> >> Eclipse,
> >> >> but
> >> >> >> > when I create an executable file (jar file) and run it with
> command
> >> >> line
> >> >> >> an
> >> >> >> > error occurs
> >> >> >> >
> >> >> >>
> >> >> >> Your runnable jar is not including all the needed jars in the
> >> >> >> classpath. In Eclipse, you can export a running configurationa nd
> >> >> >> choose to export the needed libraries as well.
> >> >> >> HTH,
> >> >> >> I.
> >> >> >>
> >> >> >> > Exception in thread "main" java.lang.NoClassDefFoundError:
> >> >> >> > com/hp/hpl/jena/rdf/model/Model
> >> >> >> > Caused by: java.lang.ClassNotFoundException:
> >> >> >> com.hp.hpl.jena.rdf.model.Model
> >> >> >> >        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> >> >> >> >        at java.security.AccessController.doPrivileged(Native
> >> Method)
> >> >> >> >        at
> >> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >> >> >> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >> >> >> >        at
> >> >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >> >> >> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> >> >> >> > Could not find the main class: finish.windowBuilder. Program
> will
> >> >> exit.
> >> >> >> >
> >> >> >> > Please help me to solve this error.
> >> >> >> >
> >> >> >> > Best wishes,
> >> >> >> > Binh
> >> >> >> >
> >> >> >> > --
> >> >> >> > Trần Thái Bình
> >> >> >> > GIS and Remote Sensing
> >> >> >> > [email protected]
> >> >> >> > [email protected]
> >> >> >> > Phone: (848) 38247360
> >> >> >> > mobile:
> >> >> >> > - Việt Nam -
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Trần Thái Bình
> >> >> > GIS and Remote Sensing
> >> >> > [email protected]
> >> >> > [email protected]
> >> >> > Phone: (848) 38247360
> >> >> > mobile:
> >> >> > - Việt Nam -
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Trần Thái Bình
> >> > GIS and Remote Sensing
> >> > [email protected]
> >> > [email protected]
> >> > Phone: (848) 38247360
> >> > mobile:
> >> > - Việt Nam -
> >>
> >
> >
> >
> > --
> > Trần Thái Bình
> > GIS and Remote Sensing
> > [email protected]
> > [email protected]
> > Phone: (848) 38247360
> > mobile:
> > - Việt Nam -
>



-- 
Trần Thái Bình
GIS and Remote Sensing
[email protected]
[email protected]
Phone: (848) 38247360
mobile:
- Việt Nam -

Reply via email to