SSH项目整合时出现问题初始化失败,求救
在处理俩张表有从属(Userinfo表,House表)关系时发生错误: 信息:org.apache.webapp.balancer.BalancerFilter...
在处理俩张表有从属(Userinfo表,House表)关系时发生错误: 信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]2009-08-09 13:43:33 Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name '/house' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService': no matching editors or conversion strategy found Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:PropertyAccessException 1:org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService': no matching editors or conversion strategy foundCaused by: java.lang.IllegalArgumentException: Cannot convert value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService': no matching editors or conversion strategy found错误信息图1: 图2: 图3: 项目启动不起来.求救,QQ279595572
展开
展开全部
Failed to convert property value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.house.service.UserService] to required type [com.house.service.HouseService] for property 'houseService': no matching editors or conversion strategy
看看你的po类有没有和你数据库表的类型相对,还有,你类里面的变量的类型是否和字段的类型一致
看看你的po类有没有和你数据库表的类型相对,还有,你类里面的变量的类型是否和字段的类型一致
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询