From: Anibal C. B. <an...@kr...> - 2004-01-27 23:01:48
|
Hello: I tried to run the example that appear in HAPI Technical Documentation = in Message Parsing Tutoral. The exmple compile and build, but when I run = it this happen: java.lang.NoClassDefFoundError: org/apache/commons/logging/Log at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at = java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at ca.uhn.hl7v2.parser.Parser.<clinit>(Parser.java:52) at HAPI.main(HAPI.java:13) Exception in thread "main" =03 I think that the problem was the log4j and trying to copy the = log4j-1.2.8.jar to /ext folder, and /lib folder of jre. Beside copy to = /bin folder of jsdk. But not tired I copy the example in the same folder = at testpanel without any result. Please if any body can help a pleasure very much. Anibal. |