hi i'am new to hibernate
when i compile the program the result is this :
[root@server-area2 Software]#
java -jar replikasi.jar
Exception in
thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at Replikasi.MainTarikAction.<clinit>(MainTarikAction.java:24)
at Replikasi.MainAction.main(MainAction.java:17)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
... 2 more
what could be wrong?
i already put log4j-1.2.15 in eclipse lib classpath, when i ran the compiler in eclipse, it seems to be fine, but when i run it under linux
the error came up.
thanks
regards