springmvc+hibernate报错

明明是跟别人的jar包一样,怎么我的就是不行

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

转载别人的

http://ilyljc007.blog.163.com/blog/static/1623518992011111162336911/

然后我不管这个,我的mysql服务是手动的,开了就没这个问题了

然后是这个问题

 java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

密码多敲了个1

改正

3,Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap

换包,转载

http://blog.csdn.net/lo5sea/article/details/6645711

4,Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/hib-config.xml]; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

 java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

好像

转载

http://blog.sina.com.cn/s/blog_4550f3ca01012ej3.html少jar包aspectjweaver (1)

可是已经有了

http://chenzhou123520.iteye.com/blog/1562798

这个问题很棘手,到最后清理了一下tomcat,吧tomcat下work和workapps下的都删掉,然后没问题了

而且之前启动20000以上,现在5000ms就可以了

原文地址:https://www.cnblogs.com/bashala/p/3665315.html