ibatis參數報錯class java.lang.String
ERROR [500.jsp] - nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘yourParam’ in ‘class java.lang.String’:
- 解決:(@Param(value=”yourParam”) String yourParam)
- Param包:import org.apache.ibatis.annotations.Param;