myeclipse6.0.1+eclipse3.3.1+spring2.0+struts1.2+hibernate3.2配置详解
来源:互联网 发布:php应聘简历 编辑:程序博客网 时间:2024/04/28 23:06
上一版本比较旧。现在配置了比较新的版本。可以选择安装myeclipse6.0.1的fullinstall。傻瓜式安装,已经把tomcat6.0和eclipse3.3.1都包括进去了。需要的可以向我要。
配置基本类似上一篇的5.5配置。但安装好之后发布tomcat会有问题。罗列了两个问题:
问题一:junit.framework.AssertionFailedError: Exception in constructor: testGetCountryList (org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSource' defined in URL [file:/D:/Eclipse3.2/SpringTest2/WebRoot/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPoolCaused by: java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool解决方法:添加commons-pool.jar 问题二:junit.framework.AssertionFailedError: Exception in constructor: testGetCountryList (org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SessionFactory' defined in URL [file:/D:/Eclipse3.2/SpringTest2/WebRoot/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)VCaused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V解决方法:去掉 asm-2.2.3.jar
至此,tomcat已经无异常。
- myeclipse6.0.1+eclipse3.3.1+spring2.0+struts1.2+hibernate3.2配置详解
- MyEclipse6.0.1整合Spring2.0+Struts1.2+Hibernate3.2
- struts1.2+spring2.0+hibernate3.1集成开发详解
- 使用Myeclipse9配置struts1.2+spring2.0+hibernate3.2注意事项
- 20071012 - MyEclipse6.0 + Hibernate3.0 + Struts1.2
- struts1.2+spring2.0+hibernate3.2 整合
- Struts1.2+Spring2.0+Hibernate3示例
- Spring2.0+Struts1.x+Hibernate3.2集成
- myeclipse5.5+eclipse3.2+spring1.2+struts1.2+hibernate3.1配置详解
- struts1.2 + hibernate3.2 + Spring2.5集成配置
- MyEclipse6.0.0 GA里配置struts1.2+hibernate3.0+spring1.2异常
- Dwr2+Log4j+Struts1.2+Spring2.0+Hibernate3.1_in_MyEclipse5.5配置问题及解决方法
- struts1.2+spring2.0+hibernate3.2 整合的小示例
- Struts1.2+Spring2.0+Hibernate3.1整合总结 MyEclipse5.5
- Struts1.2+Hibernate3+Spring2.0手动搭建环境
- Struts1.2+spring2.0+hibernate3.3 搭建SSH框架
- Struts1.3 +hibernate3.2+Spring2.5整合
- Spring2.5+Hibernate3.2+Struts2.0配置
- Server对象
- 用OraKill结束失控的Oracle进程
- error LNK2001: unresolved external symbol __imp__WSACleanup@0类似问题的解决
- 绿色欧洲杯
- 英文面试
- myeclipse6.0.1+eclipse3.3.1+spring2.0+struts1.2+hibernate3.2配置详解
- sendMail
- 学习.net应该知道什么
- linux进制转换命令
- 一是关于怎样找出和去除重复数据,这在另一个帖子利已有详细介绍。二是关于找出某一列里最大或最小的前几个,或是大于或小于某一个值(最大值或平均值)的数据
- 窗体生命周期所响应的消息
- 同一时间同一帐号只能登陆一
- asp.net控件,
- GridView实现用“...”代替超长字符串