关于ibatis的问题。。

金戎君 2013-03-11 01:14:23
刚进公司几天 他们已经在做项目了
以前没用过ibatis 看了一天就开始做了
今天出了这样一个问题
没报错 就是不进action
怀疑是哪个配置文件什么的有错或者没配 麻烦大神们看看。。。
2013-03-11 13:11:33,701 DEBUG [org.springframework.web.struts.DelegatingActionUtils] - DelegatingActionProxy with mapping path '/score' and module prefix '' delegating to Spring bean with name [/score]
...全文
187 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
andy_swc 2013-03-11
  • 打赏
  • 举报
回复
像是你mapper中的方法名 没有跟 xml中的方法名对应吧 你仔细看下 代码太多没去看 看了下错误信息
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 12 楼 yyw6637 的回复:
额,这代码看的我脑袋疼,我只是发现没有/score这个action
因为代码太多。。而且同一个人只能连续回复3次。。好吧 我自己再找找吧。。谢谢。。
yyw6637 2013-03-11
  • 打赏
  • 举报
回复
额,这代码看的我脑袋疼,我只是发现没有/score这个action
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 8 楼 yyw6637 的回复:
也看不到你的配置文件,猜的能对么
[code=java]<?xml version="1.0" encoding="GBK"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <data-sources /> <form-beans> <form-bean name="noticeForm" type="com.activetech.common.form.BaseDynaForm" dynamic="true"> <form-property name="notice" type="com.activetech.yunying.domain.Notice" /> </form-bean> <form-bean name="customForm" type="com.activetech.common.form.BaseDynaForm" dynamic="true"> <form-property name="custom" type="com.activetech.yunying.domain.Custom" /> </form-bean> <form-bean name="itemForm" type="com.activetech.common.form.BaseDynaForm" dynamic="true"> <form-property name="item" type="com.activetech.yunying.domain.Item" /> </form-bean> <form-bean name="countForm" type="com.activetech.common.form.BaseDynaForm" dynamic="true"> <form-property name="count" type="com.activetech.yunying.domain.Count" /> <form-property name="device" type="com.activetech.yunying.domain.Device" /> </form-bean> <form-bean name="scoreForm" type="com.activetech.yunying.form.ScoreForm" dynamic="true"> <form-property name="score" type="com.activetech.yunying.domain.Score"></form-property> </form-bean> <form-bean name="deviceForm" type="com.activetech.common.form.BaseDynaForm" dynamic="true"> <form-property name="device" type="com.activetech.yunying.domain.Device" /> <form-property name="posinfo" type="com.activetech.yunying.domain.PosInfo" /> <form-property name="devterm" type="com.activetech.yunying.domain.Devterm" /> </form-bean> <form-bean name="repairForm" type="com.activetech.common.form.BaseDynaForm" dynamic="true"> <form-property name="devtran" type="com.activetech.yunying.domain.Devtran" /> <form-property name="devtransub" type="com.activetech.yunying.domain.Devtransub" /> <form-property name="device" type="com.activetech.yunying.domain.Device" /> <form-property name="posinfo" type="com.activetech.yunying.domain.PosInfo" /> <form-property name="repository" type="com.activetech.yunying.domain.Repository"> </form-property> <form-property name="jctran" type="com.activetech.yunying.domain.Jctran"> </form-property> <form-property name="devterm" type="com.activetech.yunying.domain.Devterm" /> <form-property name="custom" type="com.activetech.yunying.domain.Custom" /> <form-property name="InteItem" type="com.activetech.yunying.domain.InteItem"/> <form-property name="compctl" type="com.activetech.base.domain.Compctl" /> </form-bean> </form-beans> <action-mappings> <action path="/notice" name="noticeForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/notice/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/notice/noticelist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/notice/noticelistgrid.jsp"> </forward> <forward name="detail" path="/WEB-INF/jsp/notice/detail.jsp"> </forward> </action> <action path="/custom" name="customForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/custom/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/custom/customlist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/custom/customlistgrid.jsp"> </forward> <forward name="custom" path="/WEB-INF/jsp/custom/custom.jsp"> </forward> </action> <action path="/item" name="itemForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/item/index.jsp"></forward> <forward name="list" path="/WEB-INF/jsp/item/itemlist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/item/itemlistgrid.jsp"> </forward> <forward name="item" path="/WEB-INF/jsp/item/item.jsp"></forward> <forward name="customgrid" path="/WEB-INF/jsp/item/customgrid.jsp"> </forward> </action> <action path="/device" name="deviceForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/device/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/device/devicelist.jsp"> </forward> <forward name="maplist" path="/WEB-INF/jsp/device/devicemaplist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/device/devicelistgrid.jsp"> </forward> <forward name="mapgrid" path="/WEB-INF/jsp/device/devicemaplistgrid.jsp"> </forward> <forward name="device" path="/WEB-INF/jsp/device/deviceinfo.jsp"> </forward> <forward name="posinfo" path="/WEB-INF/jsp/device/posinfo.jsp"> </forward> <forward name="devterminfo" path="/WEB-INF/jsp/device/devterminfo.jsp"> </forward> <forward name="itemgrid" path="/WEB-INF/jsp/device/itemgrid.jsp"> </forward> <forward name="fixlist" path="/WEB-INF/jsp/device/fixlist.jsp"> </forward> <forward name="fixgrid" path="/WEB-INF/jsp/device/fixgrid.jsp"> </forward> <forward name="posmap" path="/WEB-INF/jsp/device/posmap.jsp"> </forward> <forward name="markmap" path="/WEB-INF/jsp/device/markmap.jsp"> </forward> </action> <action path="/unmade" name="deviceForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/unmade/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/unmade/list.jsp"></forward> <forward name="grid" path="/WEB-INF/jsp/unmade/grid.jsp"></forward> </action> <action path="/repair" name="repairForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/repair/index.jsp"> </forward> <forward name="addrepair" path="/WEB-INF/jsp/repair/addrepair.jsp"> </forward> <forward name="devicegrid" path="/WEB-INF/jsp/repair/devicegrid.jsp"> </forward> <forward name="searchpage" path="/WEB-INF/jsp/repair/searchpage.jsp"> </forward> <forward name="addjcrepair" path="/WEB-INF/jsp/repair/addjcrepair.jsp"> </forward> </action> <action path="/fixup" name="repairForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/fixup/index.jsp"></forward> <forward name="list" path="/WEB-INF/jsp/fixup/fixuplist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/fixup/fixupgrid.jsp"> </forward> </action> <action path="/handle" name="repairForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/handle/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/handle/handlelist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/handle/handlegrid.jsp"> </forward> <forward name="handlememo" path="/WEB-INF/jsp/handle/handlememo.jsp"> </forward> </action> <action path="/unhandle" name="repairForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/unhandle/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/unhandle/unhandlelist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/unhandle/unhandlegrid.jsp"> </forward> <forward name="devtranpage" path="/WEB-INF/jsp/unhandle/devtranpage.jsp"> </forward> </action> <action path="/work" name="repairForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/work/index.jsp"></forward> <forward name="list" path="/WEB-INF/jsp/work/worklist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/work/workgrid.jsp"> </forward> <forward name="usrgrid" path="/WEB-INF/jsp/work/usrgrid.jsp"> </forward> <forward name="devtranpage" path="/WEB-INF/jsp/work/devtranpage.jsp"> </forward> <forward name="base" path="/WEB-INF/jsp/work/workbase.jsp"> </forward> </action> <action path="/history" name="repairForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/history/index.jsp"> </forward> <forward name="list" path="/WEB-INF/jsp/history/hislist.jsp"> </forward> <forward name="grid" path="/WEB-INF/jsp/history/hisgrid.jsp"> </forward> <forward name="devtransub" path="/WEB-INF/jsp/history/devtran.jsp"> </forward> </action> <action path="/count" name="countForm" scope="request" type="org.springframework.web.struts.DelegatingActionProxy"> <forward name="index" path="/WEB-INF/jsp/count/index.jsp"></forward> <forward name="list" path="/WEB-INF/jsp/count/list.jsp"></forward> <forward name="grid" path="/WEB-INF/jsp/count/grid.jsp"></forward> <forward name="index2" path="/WEB-INF/jsp/rptcommon/rptTimeout/index.jsp"> </forward> <forward name="list2" path="/WEB-INF/jsp/rptcommon/rptTimeout/list.jsp"> </forward> <forward name="grid2" path="/WEB-INF/jsp/rptcommon/rptTimeout/listgrid.jsp"> </forward> <forward name="index3" path="/WEB-INF/jsp/rptcommon/rptDellist/index.jsp"> </forward> <forward name="list3" path="/WEB-INF/jsp/rptcommon/rptDellist/list.jsp"> </forward> <forward name="devtranpage" path="/WEB-INF/jsp/count/devtranpage.jsp"> </forward> </action>
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 8 楼 yyw6637 的回复:
也看不到你的配置文件,猜的能对么
<bean id="countService" class="com.activetech.yunying.service.impl.TCountService"> <property name="countDao"> <ref bean="countDao" /> </property> </bean> <!-- scoreService中的dao注入 yangwen 2013年3月8日 16:36:58 --> <bean id="scoreService" class="com.activetech.yunying.service.impl.TScoreService"> <property name="scoreDao"> <ref bean="scoreDao" /> </property> </bean> <bean id="transferService" class="com.activetech.base.service.impl.TTransferService"> <property name="compDao"> <ref bean="compDao" /> </property> <property name="userDao"> <ref bean="userDao" /> </property> <property name="trancodeDao"> <ref bean="trancodeDao" /> </property> <property name="devtranDao"> <ref bean="devtranDao" /> </property> <property name="sysctlDao"> <ref bean="sysctlDao" /> </property> </bean> <!--20120716 qianlan --> <bean id="queueService" class="com.activetech.yunying.service.impl.TQueueService"> <property name="queueDao"> <ref bean="queueDao" /> </property> </bean> <!-- *******************************************SERVICE END*************************************** --> <!-- *******************************************DAO****************************************** --> <bean id="flowEntryDao" class="com.activetech.yunying.dao.impl.TFlowEntryDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="flowHisDao" class="com.activetech.yunying.dao.impl.TFlowHisDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="noticeDao" class="com.activetech.yunying.dao.impl.TNoticeDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="customDao" class="com.activetech.yunying.dao.impl.TCustomDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="itemDao" class="com.activetech.yunying.dao.impl.TItemDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="countDao" class="com.activetech.yunying.dao.impl.TCountDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <!-- scoreDao中sqlMapClient的注入 yangwen 2013年3月8日 16:39:47 --> <bean id="scoreDao" class="com.activetech.yunying.dao.impl.TScoreDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient"/> </property> </bean> <bean id="deviceDao" class="com.activetech.yunying.dao.impl.TDeviceDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="devtranDao" class="com.activetech.yunying.dao.impl.TDevtranDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <bean id="queueDao" class="com.activetech.yunying.dao.impl.TQueueDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <!-- *******************************************DAO END****************************************** --> <!-- ******************************************* 函数 ******************************************--> <bean id="recordHistory" class="com.activetech.osworkflow.function.RecordHistory"> <property name="flowhisService"> <ref bean="flowHisService" /> </property> <property name="compService"> <ref bean="compService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="sysctlService"> <ref bean="sysctlService" /> </property> <property name="idtableService"> <ref bean="idtableService" /> </property> <property name="eventService"> <ref bean="eventService" /> </property> <property name="flowEntryService"> <ref bean="flowEntryService" /> </property> </bean> <bean id="firstOwner" class="com.activetech.osworkflow.function.FirstOwner"> <property name="userService"> <ref bean="userService" /> </property> </bean> <bean id="initFunction" class="com.activetech.osworkflow.function.InitFunction"> <property name="flowEntryService"> <ref bean="flowEntryService" /> </property> </bean> <bean id="getDirectorOwner" class="com.activetech.osworkflow.function.GetDirectorOwner"> <property name="userService"> <ref bean="userService" /> </property> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="sysctlService"> <ref bean="sysctlService" /> </property> <property name="compService"> <ref bean="compService" /> </property> </bean> <bean id="fixupOwner" class="com.activetech.osworkflow.function.FixupOwner"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="setMemo" class="com.activetech.osworkflow.function.SetMemo"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="roleValidator" class="com.activetech.osworkflow.validator.RoleValidator"> <property name="userService"> <ref bean="userService" /> </property> </bean> <bean id="saveDevtran" class="com.activetech.osworkflow.function.SaveDevtran"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="custmanService"> <ref bean="custmanService" /> </property> </bean> <bean id="saveAndHandleDevtran" class="com.activetech.osworkflow.function.SaveAndHandleDevtran"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="custmanService"> <ref bean="custmanService" /> </property> </bean> <bean id="cancleDevtran" class="com.activetech.osworkflow.function.CancleDevtran"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="backManager" class="com.activetech.osworkflow.function.BackManager"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="handleOver" class="com.activetech.osworkflow.function.HandleOver"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="backInspect" class="com.activetech.osworkflow.function.BackInspect"> <property name="prodeService"> <ref bean="prodeService" /> </property> </bean> <bean id="doneInspect" class="com.activetech.osworkflow.function.DoneInspect"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="getItemManager" class="com.activetech.osworkflow.function.GetItemManager"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="overInspect" class="com.activetech.osworkflow.function.OverInspect"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <bean id="sendInspect" class="com.activetech.osworkflow.function.SendInspect"> <property name="prodeService"> <ref bean="prodeService" /> </property> </bean> <bean id="saveInspect" class="com.activetech.osworkflow.function.SaveInspect"> <property name="devtranService"> <ref bean="devtranService" /> </property> </bean> <!-- ******************************************* 函数END ******************************************--> </beans>[/code] 这是Spring的配置
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 8 楼 yyw6637 的回复:
也看不到你的配置文件,猜的能对么
[code=java]<?xml version="1.0" encoding="GBK"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <!-- *******************************************ACTION****************************************** --> <!-- 公告管理 --> <bean name="/notice" class="com.activetech.yunying.action.NoticeAction"> <property name="noticeService"> <ref bean="noticeService" /> </property> </bean> <!-- 客户信息管理 --> <bean name="/custom" class="com.activetech.yunying.action.CustomAction"> <property name="customService"> <ref bean="customService" /> </property> <property name="custmanService"> <ref bean="custmanService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> </bean> <!-- 项目信息管理 --> <bean name="/item" class="com.activetech.yunying.action.ItemAction"> <property name="itemService"> <ref bean="itemService" /> </property> <property name="customService"> <ref bean="customService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> </bean> <!-- 设备信息管理 --> <bean name="/device" class="com.activetech.yunying.action.DeviceAction"> <property name="deviceService"> <ref bean="deviceService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="archiveService"> <ref bean="archiveService" /> </property> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="userService"> <ref bean="userService" /> </property> </bean> <!-- 待装设备信息 --> <bean name="/unmade" class="com.activetech.yunying.action.UnmadeAction"> <property name="deviceService"> <ref bean="deviceService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="archiveService"> <ref bean="archiveService" /> </property> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="userService"> <ref bean="userService" /> </property> </bean> <!-- 报修录入模块 --> <bean name="/repair" class="com.activetech.yunying.action.RepairAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="jctranService"> <ref bean="jctranService" /> </property> <property name="deviceService"> <ref bean="deviceService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="queueService"> <ref bean="queueService" /> </property> <property name="custmanService"> <ref bean="custmanService" /> </property> </bean> <!-- 主管派单模块 --> <bean name="/fixup" class="com.activetech.yunying.action.FixupAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="queueService"> <ref bean="queueService" /> </property> <property name="custmanService"> <ref bean="custmanService" /> </property> </bean> <!-- 报修维护模块 --> <bean name="/handle" class="com.activetech.yunying.action.HandleAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="queueService"> <ref bean="queueService" /> </property> <property name="custmanService"> <ref bean="custmanService" /> </property> </bean> <bean id="custmanService" class="com.activetech.yunying.service.impl.TCustmanService"> <property name="custmanDao"> <ref bean="custmanDao" /> </property> </bean> <bean id="custmanDao" class="com.activetech.yunying.dao.impl.TCustmanDao"> <property name="sqlMapClient"> <ref bean="sqlMapClient" /> </property> </bean> <!-- 未完成报修维护模块 --> <bean name="/unhandle" class="com.activetech.yunying.action.UnHandleAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> </bean> <!-- 在途工单模块 --> <bean name="/work" class="com.activetech.yunying.action.WorkAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> </bean> <!-- 员工在途工单统计模块 --> <bean name="/count" class="com.activetech.yunying.action.CountAction"> <property name="countService"> <ref bean="countService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> <property name="deviceService"> <ref bean="deviceService" /> </property> </bean> <!-- 月度工单评分统计报表 --> <!-- yangwen 2013年3月8日 13:43:18 --> <bean name="/score" class="com.activetech.yunying.action.ScoreAction"> <property name="scoreService"> <ref bean="scoreService"/> </property> </bean> <!-- 报修历史模块 --> <bean name="/repairhis" class="com.activetech.yunying.action.RepairhisAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> </bean> <!-- 客服回访(所有) --> <bean name="/history" class="com.activetech.yunying.action.HisAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> </bean> <!-- 历史工单(所有) --> <bean name="/finish" class="com.activetech.yunying.action.FinAction"> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="userService"> <ref bean="userService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> </bean> <!-- 巡检模块 --> <bean name="/inspect" class="com.activetech.yunying.action.InspectAction"> <property name="deviceService"> <ref bean="deviceService" /> </property> <property name="codeService"> <ref bean="codeService" /> </property> <property name="devtranService"> <ref bean="devtranService" /> </property> <property name="archiveService"> <ref bean="archiveService" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> <property name="userService"> <ref bean="userService" /> </property> </bean> <!-- *******************************************ACTION END*************************************** --> <!-- *******************************************SERVICE****************************************** --> <bean id="flowEntryService" class="com.activetech.yunying.service.impl.TFlowEntryService"> <property name="flowEntryDao"> <ref bean="flowEntryDao" /> </property> </bean> <bean id="flowHisService" class="com.activetech.yunying.service.impl.TFlowHisService"> <property name="flowHisDao"> <ref bean="flowHisDao" /> </property> </bean> <!--20110112 fangyuan --> <bean id="noticeService" class="com.activetech.yunying.service.impl.TNoticeService"> <property name="noticeDao"> <ref bean="noticeDao" /> </property> </bean> <!--20110113 fangyuan --> <bean id="customService" class="com.activetech.yunying.service.impl.TCustomService"> <property name="customDao"> <ref bean="customDao" /> </property> </bean> <!--20110114 fangyuan --> <bean id="itemService" class="com.activetech.yunying.service.impl.TItemService"> <property name="itemDao"> <ref bean="itemDao" /> </property> </bean> <!--20110117 fangyuan --> <bean id="deviceService" class="com.activetech.yunying.service.impl.TDeviceService"> <property name="deviceDao"> <ref bean="deviceDao" /> </property> <property name="custmanDao"> <ref bean="custmanDao" /> </property> </bean> <!--20110118 fangyuan --> <bean id="devtranService" class="com.activetech.yunying.service.impl.TDevtranService"> <property name="devtranDao"> <ref bean="devtranDao" /> </property> <property name="userDao"> <ref bean="userDao" /> </property> <property name="itemService"> <ref bean="itemService" /> </property> <property name="archiveDao"> <ref bean="archiveDao" /> </property> <property name="deviceDao"> <ref bean="deviceDao" /> </property> </bean>
yyw6637 2013-03-11
  • 打赏
  • 举报
回复
也看不到你的配置文件,猜的能对么
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 6 楼 yyw6637 的回复:
从这句真看不出什么来,配错或者没配会报错的,除非是你jsp页面有问题,看看你的按钮是不是配action了
这个我看过了 写了action的 但是里面指定的方法里面的输出语句都没执行 根据我的判断应该是某个xml文件出问题了。。
yyw6637 2013-03-11
  • 打赏
  • 举报
回复
从这句真看不出什么来,配错或者没配会报错的,除非是你jsp页面有问题,看看你的按钮是不是配action了
lvzg_005 2013-03-11
  • 打赏
  • 举报
回复
这是ibatis的问题吗? 我杂觉得你想说url没有进入到指定的action呢
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 3 楼 yyw6637 的回复:
这也不是错误信息啊,从下面的log来看,程序进入dao层执行查询了,怎么可能没进入action
这个查询不是我Dao层的查询语句。。而且程序也没报异常 只有最开始我发的那一句才是有用的。
yyw6637 2013-03-11
  • 打赏
  • 举报
回复
这也不是错误信息啊,从下面的log来看,程序进入dao层执行查询了,怎么可能没进入action
金戎君 2013-03-11
  • 打赏
  • 举报
回复
引用 1 楼 yyw6637 的回复:
你能不能把错误发全点
2013-03-11 14:28:06,609 DEBUG [org.springframework.web.struts.DelegatingActionUtils] - DelegatingActionProxy with mapping path '/score' and module prefix '' delegating to Spring bean with name [/score]
2013-03-11 14:28:06,609 INFO [com.activetech.base.interceptor.LogAround] - This transaction called TAppOptionService's method getAppOption
2013-03-11 14:28:06,609 DEBUG [java.sql.Connection] - {conn-100178} Connection
2013-03-11 14:28:06,609 DEBUG [java.sql.Connection] - {conn-100178} Preparing Statement:          SELECT OPTTYPE,OPTPARENT,OPTKEY,OPTNAME,OPTVALUE,FIELDTYPE,FIELDSIZE,OPTVISIT,OPTMARK     FROM DSTAPPOPTION        WHERE OPTKEY=?         
2013-03-11 14:28:06,609 DEBUG [java.sql.PreparedStatement] - {pstm-100179} Executing Statement:          SELECT OPTTYPE,OPTPARENT,OPTKEY,OPTNAME,OPTVALUE,FIELDTYPE,FIELDSIZE,OPTVISIT,OPTMARK     FROM DSTAPPOPTION        WHERE OPTKEY=?         
2013-03-11 14:28:06,625 DEBUG [java.sql.PreparedStatement] - {pstm-100179} Parameters: [SYSOFF]
2013-03-11 14:28:06,625 DEBUG [java.sql.PreparedStatement] - {pstm-100179} Types: [java.lang.String]
2013-03-11 14:28:06,766 INFO [BaseDao] - getAppOption query object times:157 ms. row=0
这是点击action控制台中打印的所有语句
yyw6637 2013-03-11
  • 打赏
  • 举报
回复
你能不能把错误发全点

81,114

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧