文章列表
错误日志如下:
二月 29, 2012 11:55:54 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with ...
private static Class getActualTypeArgument(Method method)
throws ClassNotFoundException {
Type[] paramTypeList = method.getGenericParameterTypes();
if (paramTypeList[0] instanceof ParameterizedType) {
Type[] types = ((ParameterizedType) paramTypeList[0])
.getActualTypeArgumen ...