1 Reply Latest reply: Oct 3, 2011 11:26 PM by alwu-Oracle RSS

    Error while compile

    887107
      Hi when i am trying to run my program i get this error

      Have no FileObject for C:\Program Files\Java\jdk1.6.0_20\jre\lib\sunrsasign.jar
      Have no FileObject for C:\Program Files\Java\jdk1.6.0_20\jre\classes
      Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
      at oracle.spatial.rdf.client.jena.SimpleLog.getLog(SimpleLog.java:42)
      at oracle.spatial.rdf.client.jena.Oracle.<clinit>(Oracle.java:96)
      at Test.main(Test.java:16)
      Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
      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:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      ... 3 more
      Java Result: 1
      BUILD SUCCESSFUL (total time: 0 seconds)


      can anyone help?

      Edited by: CoCo on Oct 3, 2011 12:10 PM