Home > database >  Prachanda yuan using named SQL query error in the EOS
Prachanda yuan using named SQL query error in the EOS

Time:09-28

An error content that is to say the name I wrote SQL file not declared in the sqlmap
Under Caused by: com. Primeton. Das. SQL. The impl.. Ibatis sqlmap. Client. SqlMapException: There is no statement named com.. Primeton eos. Forcastwell. Impl. Forcastwell. Forcastwelldata in this sqlmap.
Here is my SQL file name:
 
<? The XML version="1.0" encoding="utf-8"?>





CodePudding user response:

Ask god to help see something wrong thank you!!

CodePudding user response:

The sum (t.w ellsnumberf) as forcastwelldata: is this your query out the column of

You defined in the Map, however, the three attributes, but does not contain forcastwelldata

Add one line

CodePudding user response:

Coupled with that line of code, or not, the same fault,,,
 
Under Caused by: com. Primeton. Das. SQL. The impl.. Ibatis sqlmap. Client. SqlMapException: There is no statement named com.. Primeton eos. Forcastwell. Impl. Forcastwell. Forcastwelldata in this sqlmap.
At com. Primeton. Das. SQL. Impl.. Ibatis sqlmap. Engine. The impl. SqlMapExecutorDelegate. GetMappedStatement (SqlMapExecutorDelegate. Java: 308)
At com. Primeton. Das. SQL. Impl.. Ibatis sqlmap. Engine. The impl. SqlMapExecutorDelegate. QueryForList (SqlMapExecutorDelegate. Java: 625)
At com. Primeton. Das. SQL. Impl.. Ibatis sqlmap. Engine. The impl. SqlMapExecutorDelegate. QueryForList (SqlMapExecutorDelegate. Java: 608)
At com. Primeton. Das. SQL. Impl.. Ibatis sqlmap. Engine. The impl. SqlMapSessionImpl. QueryForList (SqlMapSessionImpl. Java: 118)
At com. Primeton. Das. SQL. Impl. NamedSqlSessionImpl. QueryForList (NamedSqlSessionImpl. Java: 150)
At com. Primeton. Spring. Support. DatabaseExt. QueryByNamedSql (DatabaseExt. Java: 863)
At com. Eos. Spring. DASTemplate. QueryByNamedSql (DASTemplate. Java: 458)
At com, primeton eos. JtcProjectprocessService. Forcastwell (37) JtcProjectprocessService. Java:
At com, primeton eos. JtcProjectprocessService $$$$bd67f9b8 FastClassByCGLIB. Invoke (& lt; generated>)
At net. Sf. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 149)
The at org. Springframework. Aop. Framework. The Cglib2AopProxy $CglibMethodInvocation. InvokeJoinpoint (700). The Cglib2AopProxy Java:
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 149)
At com. Primeton. Spring. The interceptor. BeanInterceptor. Invoke (BeanInterceptor. Java: 114)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 171)
The at org. Springframework. Aop. Framework. The Cglib2AopProxy $DynamicAdvisedInterceptor. Intercept (635). The Cglib2AopProxy Java:
At com, primeton eos. JtcProjectprocessService $$EnhancerByCGLIB $$cfb25867. Forcastwell (& lt; generated>)
At com, primeton eos. JtcProjectprocessService $$$$bd67f9b8 FastClassByCGLIB. Invoke (& lt; generated>)
At net. Sf. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 149)
The at org. Springframework. Aop. Framework. The Cglib2AopProxy $CglibMethodInvocation. InvokeJoinpoint (700). The Cglib2AopProxy Java:
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 149)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 106)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 171)
The at org. Springframework. Aop. Framework. The Cglib2AopProxy $DynamicAdvisedInterceptor. Intercept (635). The Cglib2AopProxy Java:
At com, primeton eos. JtcProjectprocessService $$EnhancerByCGLIB $$85062995. Forcastwell (& lt; generated>)
At com, primeton eos. JtcProjectprocessService $$$$bd67f9b8 FastClassByCGLIB. Invoke (& lt; generated>)
At net. Sf. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 149)
The at org. Springframework. Aop. Framework. The Cglib2AopProxy $CglibMethodInvocation. InvokeJoinpoint (700). The Cglib2AopProxy Java:
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related