严重: context initialization failed
java.lang.noclassdeffounderror: org/springframework/core/smartclassloader
at java.lang.classloader.defineclass1(native method)
at java.lang.classloader.defineclass(classloader.java:621)
at java.security.secureclassloader.defineclass(secureclassloader.java:124)
at org.apache.catalina.loader.webappclassloader.findclassinternal(webappclassloader.java:1850)
at org.apache.catalina.loader.webappclassloader.findclass(webappclassloader.java:890)
at org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1354)
at org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1233)
at java.lang.classloader.loadclassinternal(classloader.java:320)
at java.lang.class.getdeclaredconstructors0(native method)
at java.lang.class.privategetdeclaredconstructors(class.java:2389)
at java.lang.class.getconstructor0(class.java:2699)
at java.lang.class.getdeclaredconstructor(class.java:1985)
at org.springframework.beans.beanutils.instantiateclass(beanutils.java:62)
at org.springframework.web.context.contextloader.createwebapplicationcontext(contextloader.java:249)
at org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:199)
at org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:45)
at org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:3934)
at org.apache.catalina.core.standardcontext.start(standardcontext.java:4429)
at org.apache.catalina.core.containerbase.start(containerbase.java:1045)
at org.apache.catalina.core.standardhost.start(standardhost.java:722)
at org.apache.catalina.core.containerbase.start(containerbase.java:1045)
at org.apache.catalina.core.standardengine.start(standardengine.java:443)
at org.apache.catalina.core.standardservice.start(standardservice.java:516)
at org.apache.catalina.core.standardserver.start(standardserver.java:710)
at org.apache.catalina.startup.catalina.start(catalina.java:583)
at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at org.apache.catalina.startup.bootstrap.start(bootstrap.java:288)
at org.apache.catalina.startup.bootstrap.main(bootstrap.java:413)
caused by: java.lang.classnotfoundexception: org.springframework.core.smartclassloader
at org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1387)
at org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1233)
at java.lang.classloader.loadclassinternal(classloader.java:320)
... 31 more
2009-7-16 18:39:28 org.apache.catalina.core.standardcontext listenerstart
max先生为什么我按你写的做总会出现上面的错误,可以发份源码给我吗,我的邮箱:qinshengliao@163.com
回复