日期:2014-05-16  浏览次数:20737 次

Spring部署Unix问题
系统使用Spring+Hibernate+Struts框架
在本机器用tomcat或weblogic测试时运行正常(开发平台是windows)
转到正式环境Unix下(通过weblogic控制台远程部署)运行报错
另:只要执行系统中的任何一个action就报下述错误,执行jsp正常


错误信息:

Error 500--Internal Server Error
java.lang.Error: PropertyDescriptor: internal error while merging PDs: type mismatch between read and write methods
at java.beans.PropertyDescriptor.(PropertyDescriptor.java(Compiled Code))
at java.beans.Introspector.processPropertyDescriptors(Introspector.java(Compiled Code))
at java.beans.Introspector.getTargetPropertyInfo(Introspector.java(Compiled Code))
at java.beans.Introspector.getBeanInfo(Introspector.java(Inlined Compiled Code))
at java.beans.Introspector.getBeanInfo(Introspector.java(Compiled Code))
at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java(Compiled Code))
at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java(Inlined Compiled Code))
at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java(Compiled Code))
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java(Inlined Compiled Code))
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java(Compiled Code))
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java(Compiled Code))
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java(Inlined Compiled Code))
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java(Compiled Code))
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java(Compiled Code))
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java(Inlined Compiled Code))
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java(Compiled Code))
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled Code))
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java(Compiled Code))


1 楼 hgq0011 2006-12-01  
提示说你的属性读写方法类型不匹配。
是不是和编码有关呢?
2 楼 zxm_dgcstars 2006-12-04  
楼上的兄弟,可否详细说明你的想法
3 楼 zxm_dgcstars 2006-12-05  
到网上搜了很多相关资料,都没有理想的结果,等待中。。。。。