异常:17-Aug-201523:23:35.709INFO[localhost-startStop-1]org.apache.catalina.core.ApplicationContext.logContextListener:contextInitialized()17-Aug-201523:23:35.709INFO[loc...
异常:
17-Aug-2015 23:23:35.709 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
17-Aug-2015 23:23:35.709 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
17-Aug-2015 23:23:38.503 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
17-Aug-2015 23:23:38.543 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
17-Aug-2015 23:23:39.351 SEVERE [localhost-startStop-1] 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 name 'sessionFactory' defined in ServletContext resource [/WEB-INF/daoContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.lang.Class[]' for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Error loading class [com.marage.geo.db.Country]: problem with class file or dependent class.
权限设置:
drwxr-xr-x 9 tomcat tomcat 4.0K Aug 11 21:25 marage
数据库没有问题,因为使用开发环境连接数据库,正常。
展开