Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError
这里说了
在applicationContext.xml 发生了初始化错误
没有类被装载查一下xml的配置是否正确
这里说了
在applicationContext.xml 发生了初始化错误
没有类被装载查一下xml的配置是否正确
'AreaDAO' 对应的 class 不存在,或者路径写错了,或者大小写。或者,你没有把.class复制到WEB-INF/classes 下面的正确目录