struts2+spring+hibernate,Tomcat 移植到 JBoss 5.1 .
来源:互联网 发布:js模块化用什么 编辑:程序博客网 时间:2024/04/28 22:41
转载于:http://blog.csdn.net/digyso888/article/details/6138642
报了一堆错误:
Unable to load tag handler class "org.apache.struts2.views.jsp.ui.SubmitTag" for tag "s:submit"
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sf' is defined('sf'是sessionFaction在spring中bean的名字)
java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field com.registration.po.UserLog_$$_javassist_0._method_filter to org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1
https://issues.apache.org/struts/browse/WW-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
如果不是xwork-core-2.1.4的就把javassist-3.9.0.GA.jar 删了。
删掉的其他jar还有:antlr-2.7.6.jar、commons-logging-1.1.jar、hibernate3.jar、hibernate-annotations.jar、hibernate-commons-annotations.jar、log4j-1.2.15.jar、删了之后还能正常运行,删就删吧。
新加入的jar:jboss-spring-int-vfs.jar,下载地址: https://jira.springsource.org/browse/SPR-5120
web.xml 加入:
<context-param>
<param-name>contextClass</param-name>
<param-value>org.jboss.spring.vfs.context.VFSXmlWebApplicationContext</param-value>
</context-param>
经过以上操作全都好了。
下面的操作没有试:
从项目lib目录 activation.jar xercesImpl-2.9.1.jar xmlrpc-2.0.1.jar
如果spring的配置文件有使用到 <import resource="applicationContext-xxx.xml"/> 记得改成
<import resource="classpath:applicationContext-xxx.xml"/>
- struts2+spring+hibernate,Tomcat 移植到 JBoss 5.1
- struts2+spring+hibernate,Tomcat 移植到 JBoss 5.1 .
- tomcat(jboss4.2) spring hibernate 项目移植到 jboss 5.1
- 细说如何把spring+Hibernate +jsf项目从tomcat移植到jboss上
- web工程从TOMCAT移植到JBOSS中
- web工程从TOMCAT移植到JBOSS中
- Tomcat移植到JBoss的错误:Unable to initialize TldLocationsCache
- Struts2、Spring、Hibernate、tomcat书籍推荐
- Struts2+Hibernate+Spring+Webservice项目从Tomcat到WebLogic遇到问题的解决方法
- Spring、Hibernate和JBoss
- SVN地址:spring,hibernate,jboss
- spring mvc 框架项目tomcat 移植到WebSphere
- Eclipse整合SSH框架(Struts2+Spring+Hibernate+MySQL+Tomcat)
- 小试牛刀~关于(struts2 + spring + hibernate + ibatis + dwr + memcached +mysql + jboss集群)的小实践应用~
- 记要一下子Spring三+hibernate3.3施用从Tomcat迁徙到Jboss的困难进程
- 系统移植到Spring
- struts2+hibernate+spring+ftl....
- struts2+hibernate+spring(1)
- 火狐中当wmode设置为trandparent/opaque时Flash不能响应滚轮缩放的问题
- Windows8王者归来,Windows8必胜,所有程序员都认真关注了。
- 用c语言跳转到绝对地址0x10000执行
- 堆排序
- VS2008下破解90天试用
- struts2+spring+hibernate,Tomcat 移植到 JBoss 5.1 .
- 出差必用品
- VMWare Workstation 7.1 官方英文原版 + 有效密钥 + 汉化补丁
- MySQL命令行下插入中文数据乱码解决方案
- spring component-scan模式在JBOSS 5下的解决方案
- android中用java代码动态控制activity的大小,位置,透明度
- 系统重装后MySQL的数据恢复
- JBoss4.2.3部署SSH2 .
- 如何拒绝非本机的1433/1434端口tcp连接