title: mybatis nested exception is org.apache.ibatis.reflection.ReflectionException
body: <p>I'm using struts2-spring,spring-mybatis. I get this error: </p>
  
  <p><code>12:21:18,499 DEBUG insertar:46 - ooo Using Connection [com.mysql.jdbc.JDBC4Connection@c0b6]
   12:21:18,499 DEBUG insertar:46 - ==&gt;  Preparing: { CALL INSERTAR_REGISTRO(?,?,?)} 
   12:21:18,516 DEBUG insertar:46 - ==&gt; Parameters: 10302770(String), 2013-10-18(String), 2013-10-18 01:30:00(String)
   12:21:18,531 TRACE insertar:50 - &lt;==    Columns: VID, VENTRADA, VSALIDA, @VPROX, @INSERTAR, @ESTADO, @CONTADOR
   12:21:18,531 TRACE insertar:50 - &lt;==        Row: 69, 2013-10-18 07:15:00.0, 2013-10-18 07:20:00.0, &lt;&lt;BLOB&gt;&gt;, 1, 2, 14
   **nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating void with invalid types () or values (). Cause: java.lang.NoSuchMethodException: void.&lt;init&gt;() # org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating void with invalid types () or values (). Cause: java.lang.NoSuchMethodException: void.&lt;init&gt;()**
  </code></p>
  
  <p>When I test in workbench there's no problem, for example: <code>CALL INSERTAR_REGISTRO('10302770','2013-10-18','2013-10-18 01:30:00')</code>; but in my app get exception.</p>
  
  <p>My procedure <code>PROCEDURE INSERTAR_REGISTRO(IN PNNUMEROID varchar(8), IN PDFECHAEVENTO varchar(10), IN PNFECHAHORA varchar(19))</code>.</p>
  
  <p>My service class:</p>
  
  <pre><code>@Service
  @Scope("request")
  public class RegistroServiceImp implements RegistroService {
  
  @Autowired
  RegistroMapper registroMapper;
  
  @Transactional
  public void registrar(Registro registro, String fecha_hora)
          throws Exception {
      String[] arrayFch = registro.getFecha_evento().split("/");
      String nuevaFch = arrayFch[2] + "-" + arrayFch[1] + "-" + arrayFch[0];
      System.out.println(nuevaFch);
      registroMapper.insertar(registro.getNumero_id(), nuevaFch, nuevaFch
              + " " + fecha_hora);
  }
  </code></pre>