[protege-owl]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[protege-owl]

Selvanayaki M.
hi  

  i face java.lang.NoSuchFieldError: actualValueType error.and the
following website give solution to this problem.

 http://lists.mindswap.org/pipermail/owl-s/2004-July/000016.html
in that they told  to replace the jar file in the common\lib folder of
tomcat
 directory structure,  by OWL-S build version.

>
>i done the same thing.what i did is i am using xercesImpl.jar version
>2.6.0 in protege plugin.and i put this same jar file in tomcat/common/lib
>folder.i also added in classpath.i delete the old xercesImpl.jar version
>2.5.0 in tomcat.i am using jakarta-tomcat-4.1.31 and j2sdk1.4.2.i done the
>same procedure as in mentioned the following site.
>http://lists.mindswap.org/pipermail/owl-s/2004-July/000016.html
>
>but again i am getting the same
>java.lang.NoSuchFieldError: actualValueType
> at
>com.hp.hpl.jena.datatypes.xsd.XSDDatatype.convertValidatedDataValue(XSDDatatype.java:370)
> at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.parse(XSDDatatype.java:248)
> at
>com.hp.hpl.jena.graph.impl.LiteralLabel.setValue(LiteralLabel.java:166)
> at com.hp.hpl.jena.graph.impl.LiteralLabel.<init>(LiteralLabel.java:82)
> at com.hp.hpl.jena.graph.Node.createLiteral(Node.java:201)
> at com.hp.hpl.jena.rdf.arp.JenaReader.convert(JenaReader.java:106)
> at com.hp.hpl.jena.rdf.arp.JenaReader.convert(JenaReader.java:130)
> at com.hp.hpl.jena.rdf.arp.JenaHandler.statement(JenaHandler.java:66)
> at com.hp.hpl.jena.rdf.arp.ARPResource.tripleLit(ARPResource.java:190)
> at com.hp.hpl.jena.rdf.arp.ARPResource.triple(ARPResource.java:172)
> at
>com.hp.hpl.jena.rdf.arp.ARPResource.setPredObject(ARPResource.java:146)
> at
>com.hp.hpl.jena.rdf.arp.ARPResource.setPredicateObject(ARPResource.java:127)
> at
>com.hp.hpl.jena.rdf.arp.ParserSupport.createTriple(ParserSupport.java:330)
> at
>com.hp.hpl.jena.rdf.arp.RDFParser.propertyEltIdAndValue(RDFParser.java:692)
> at com.hp.hpl.jena.rdf.arp.RDFParser.propertyElt(RDFParser.java:647)
> at com.hp.hpl.jena.rdf.arp.RDFParser.typedNode(RDFParser.java:984)
> at com.hp.hpl.jena.rdf.arp.RDFParser.description(RDFParser.java:429)
> at com.hp.hpl.jena.rdf.arp.RDFParser.obj(RDFParser.java:346)
> at com.hp.hpl.jena.rdf.arp.RDFParser.rdf(RDFParser.java:326)
> at com.hp.hpl.jena.rdf.arp.RDFParser.rdfFileSub(RDFParser.java:107)
> at com.hp.hpl.jena.rdf.arp.RDFParser.rdfFile(RDFParser.java:99)
> at
>com.hp.hpl.jena.rdf.arp.SingleThreadedParser.parse(SingleThreadedParser.java:135)
> at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:187)
> at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:174)
> at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:244)
> at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:226)
> at
>com.hp.hpl.jena.ontology.OntDocumentManager.read(OntDocumentManager.java:992)
> at
>com.hp.hpl.jena.ontology.OntDocumentManager.findMetadata(OntDocumentManager.java:831)
> at
>com.hp.hpl.jena.ontology.OntDocumentManager.initialiseMetadata(OntDocumentManager.java:805)
> at
>com.hp.hpl.jena.ontology.OntDocumentManager.<init>(OntDocumentManager.java:172)
> at
>com.hp.hpl.jena.ontology.OntDocumentManager.<init>(OntDocumentManager.java:154)
> at
>com.hp.hpl.jena.ontology.OntDocumentManager.getInstance(OntDocumentManager.java:201)
> at
>com.hp.hpl.jena.ontology.OntModelSpec.getDocumentManager(OntModelSpec.java:293)
> at
>com.hp.hpl.jena.ontology.impl.OntModelImpl.getDocumentManager(OntModelImpl.java:183)
> at
>com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:154)
> at
>com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:129)
> at
>com.hp.hpl.jena.rdf.model.ModelFactory.createOntologyModel(ModelFactory.java:387)
> at
>edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.createOntModel(Protege2Jena.java:120)
> at
>edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.createOntModel(Protege2Jena.java:109)
> at
>edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(Protege2Jena.java:363)
> at
>edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(JenaOWLModel.java:262)
> at connect.getsensor.getsensorNames(getsensor.java:57)
> at org.apache.jsp.getsensor_jsp._jspService(getsensor_jsp.java:80)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
> at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
> at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
> at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
> at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
> at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)

plz give solution to this problem.


thanks a lot,
selva



-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html