Nah... Disini salah nya... Spring udah ada logging nya... Tapi.. Spring juga punya dependencies...
Adelwin Handoyo - adel...@gmail.com - Sent from my Mac From: Ronal Daniel Panjaitan <if07...@students.del.ac.id> Reply-To: JUG-Indonesia <jug-indonesia@yahoogroups.com> Date: Sun, 7 Mar 2010 08:17:06 -0500 (EST) To: JUG-Indonesia <jug-indonesia@yahoogroups.com> Subject: Re: [JUG-Indonesia] [help] error spring thanks atas bantuannya... bukannya logging itu udah di cover di spring.jar itu sendiri? mohon penjelasannyaa... Ronal Daniel Pandjaitan ----- Original Message ----- From: "Adelwin Handoyo" <adel...@gmail.com> To: "JUG-Indonesia" <jug-indonesia@yahoogroups.com> Sent: Saturday, March 6, 2010 5:22:10 AM GMT -08:00 Tijuana / Baja California Subject: Re: [JUG-Indonesia] [help] error spring Kurang library log4j ato apache-commons... Gue sendiri agak kurang apal ini class dateng dari jar mana.. Heheheh Adelwin Handoyo - adel...@gmail.com - Sent from my Mac From: Ronal Daniel Panjaitan < if07...@students.del.ac.id > Reply-To: JUG-Indonesia < jug-indonesia@yahoogroups.com > Date: Sat, 6 Mar 2010 03:40:31 -0500 (EST) To: JUG-Indonesia < jug-indonesia@yahoogroups.com > Subject: [JUG-Indonesia] [help] error spring dear all, saya baru belajar spring dan saya mendapat kan error seperti ini... Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.core.CollectionFactory.<clinit>(CollectionFactory.java:6 4) at org.springframework.core.SimpleAliasRegistry.<init>(SimpleAliasRegistry.java :41) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init >(DefaultSingletonBeanRegistry.java:73) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>( FactoryBeanRegistrySupport.java:41) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(Abstrac tBeanFactory.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .<init>(AbstractAutowireCapableBeanFactory.java:144) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .<init>(AbstractAutowireCapableBeanFactory.java:155) at org.springframework.beans.factory.support.DefaultListableBeanFactory.<init>( DefaultListableBeanFactory.java:121) at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.j ava:72) at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.j ava:61) at org.pidel.ei.ronal.exam.withSpring_1.Main.main(Main.java:8) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 11 more kira2 ini kenapa ya? apakah lokasi .xml nya yang salah ya? Ronal Daniel Pandjaitan ------------------------------------ Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke jug-indonesia-unsubscr...@yahoogroups.com . Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id Yahoo! Groups Links ------------------------------------ Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke jug-indonesia-unsubscr...@yahoogroups.com. Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id Yahoo! Groups Links