From: Frode H. <Fro...@id...> - 2005-10-04 12:56:12
|
Hi I now changed to JDK 1.4.2_09-b05 and the problem remains Frode On Mon, 3 Oct 2005, Kal Ahmed wrote: > Hi Frode, > > Which version of the JDK are you using? > > Cheers, > > Kal > >> -----Original Message----- >> From: tm4...@li... [mailto:tm4j-users- >> ad...@li...] On Behalf Of Fro...@id... >> Sent: 30 September 2005 13:36 >> To: tm4...@li... >> Subject: [TM4J-users] Problem adding topic map to provider >> >> Hi. I'm trying to figure out this TM4J. I'v just tried to make a >> TopicMapProvider and add the "kings_and_queens" topic map. Like this: >> >> TopicMapProviderFactory tmpf = >> TopicMapProviderFactory.newInstance(); >> TopicMapProvider provider = >> tmpf.newTopicMapProvider(System.getProperties()); >> >> TopicMapSource source = new >> SerializedTopicMapSource("C:/Diplom/tm4j- >> 0.9.7/examples/topicmaps/kings_and_queens.xtm"); >> TopicMap tm = provider.addTopicMap(source); >> >> >> When I run this program I recieve the following error: >> >> Exception in thread "main" java.lang.AbstractMethodError: >> javax.xml.parsers.SAXParserFactory.setFeature(Ljava/lang/String;Z)V >> at org.tm4j.topicmap.utils.XMTBuilder.build(XTMBuilder.java:363) >> at org.tm4j.topicmap.utils.XMTBuilder.build(XTMBuilder.java:317) >> at >> org.tm4j.topicmap.source.SerializedTopicMapSource.readMap(SerializedTopicM >> apSource.java:269) >> at >> org.tm4j.topicmap.source.SerializedTopicMapSource.populateTopicMap(Seriali >> zedTopicMapSource.java:317) >> at >> org.tm4j.topicmap.source.SerializedTopicMapSource.populateTopicMap(Seriali >> zedTopicMapSource.java:252) >> at >> org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceS >> upport.java:35) >> at >> org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceS >> upport.java:69) >> at NyTest2.main(Nytest2.java:19) >> >> >> I recieve the same error when trying to run the "Stats" example that >> follows TM4J. >> >> regards >> Frode Hjeltnes >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Tm4j-users mailing list >> Tm4...@li... >> https://lists.sourceforge.net/lists/listinfo/tm4j-users >> > > > |