一个上传的操作导致的错误
[code=BatchFile]
exception
javax.servlet.ServletException: There is no statement named createFile in this SqlMap.
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
root cause
com.ibatis.sqlmap.client.SqlMapException: There is no statement named createFile in this SqlMap.
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:293)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMapExecutorDelegate.java:496)
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessionImpl.java:90)
org.springframework.orm.ibatis.SqlMapClientTemplate$10.doInSqlMapClient(SqlMapClientTemplate.java:383)
org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:193)
org.springframework.orm.ibatis.SqlMapClientTemplate.update(SqlMapClientTemplate.java:381)
com.daewoobrenic.jcf.dao.BaseSqlMapClientDAO.executeUpdate(BaseSqlMapClientDAO.java:119)
com.daewoobrenic.jcf.file.dao.FileDAOiBatis.createFile(FileDAOiBatis.java:24)
client.service.ClientService.addClient(ClientService.java:20)
client.action.ClientAction.addClient(ClientAction.java:25)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
[/code]
strits2+ibatis+spring的一个框架
因为上传的createFile这个方法的代码,,,看不见
能看见的也就是这些
// Compiled from IFileDAO.java (version 1.5 : 49.0, no super bit)
public abstract interface com.daewoobrenic.jcf.file.dao.IFileDAO {
// Method descriptor #6 (Lcom/daewoobrenic/jcf/file/FileInfo;)I
public abstract int createFile(com.daewoobrenic.jcf.file.FileInfo arg0);
// Method descriptor #6 (Lcom/daewoobrenic/jcf/file/FileInfo;)I
public abstract int deleteFile(com.daewoobrenic.jcf.file.FileInfo arg0);
// Method descriptor #9 (Ljava/lang/String;)I
public abstract int deleteFileById(java.lang.String arg0);
// Method descriptor #11 (Ljava/lang/String;)Ljava/util/List;
public abstract java.util.List findFilesById(java.lang.String arg0);
}
不知道怎么解决,,,,不知道问题是什么地方啊