body
{
font-family: "Microsoft YaHei UI","Microsoft YaHei",SimSun,"Segoe UI",Tahoma,Helvetica,Sans-Serif,"Microsoft YaHei", Georgia,Helvetica,Arial,sans-serif,宋体, PMingLiU,serif;
font-size: 10.5pt;
line-height: 1.5;
}
html, body
{
}
h1 {
font-size:1.5em;
font-weight:bold;
}
h2 {
font-size:1.4em;
font-weight:bold;
}
h3 {
font-size:1.3em;
font-weight:bold;
}
h4 {
font-size:1.2em;
font-weight:bold;
}
h5 {
font-size:1.1em;
font-weight:bold;
}
h6 {
font-size:1.0em;
font-weight:bold;
}
img {
border:0;
max-width: 100%;
}
blockquote {
margin-top:0px;
margin-bottom:0px;
}
运行环境:Spring3.1.0.RELEASE
???
报错信息如下:?
- Exception?in?thread?"main"?org.springframework.beans.factory.BeanDefinitionStoreException:?Unexpected?exception?parsing?XML?document?from?class?path?resource?[SpringConfig_Jdbc.xml];?nested?exception?is?java.lang.NoClassDefFoundError:?org/aopalliance/intercept/MethodInterceptor
?? - (省略)... ??
- Caused?by:?java.lang.NoClassDefFoundError:?org/aopalliance/intercept/MethodInterceptor??
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [SpringConfig_Jdbc.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor(省略)...Caused by: java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
????
???
出现了java.lang.NoClassDefFoundError:的错误,首先想到的就是少包,在网上搜搜了,果然是少了一个叫aopalliance.jar的jar包,下载这个包,加到路径里就OK了。?
???
下载地址:http://sourceforge.net/projects/aopalliance/files/
关于Spring3报org.aopalliance.intercept.MethodInterceptor错的问题解决方法_JavaLeader_新浪博客