org.apache.ibatis.builder.BuilderException: Could not find value method on SQL annotation. Cause: java.lang.NullPointerException

Apache's JIRA Issue Tracker | Tomáš Procházka | 7 years ago
  1. 0

    [IBATIS-669] Support for two and more parameters for query input - ASF JIRA

    apache.org | 1 year ago
    org.apache.ibatis.builder.BuilderException: Could not find value method on SQL annotation. Cause: java.lang.NullPointerException
  2. 0

    MyBatis: Errors when upgrading to 3.2.7 from 3.0.3

    Stack Overflow | 2 years ago | AfterWorkGuinness
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 5#102249931

    GitHub | 2 years ago | iwanagah
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'todoMybatisRepository' defined in URL [wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/bttatsutanikNode01Cell/terasoluna-gfw-functionaltest-web_war.ear/terasoluna-gfw-functionaltest-web.war/WEB-INF/lib/terasoluna-gfw-functionaltest-domain-5.1.0-SNAPSHOT.jar!/org/terasoluna/gfw/functionaltest/domain/repository/queryescape/TodoMybatisRepository.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: XML fragments parsed from previous mappers already contains value for org.terasoluna.gfw.functionaltest.domain.repository.queryescape.TodoMybatisRepository.findAllByTitleLike
  5. 0

    MyBatis: Errors when upgrading to 3.2.7 from 3.0.3

    xluat.com | 12 months ago
    java.lang.IllegalStateException: Failed to load ApplicationContext

  1. archenroot 1 times, last 3 weeks ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.ibatis.builder.BuilderException

    Could not find value method on SQL annotation. Cause: java.lang.NullPointerException

    at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.getSqlSourceFromAnnotations()
  2. MyBatis
    Configuration.addMapper
    1. org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.getSqlSourceFromAnnotations(MapperAnnotationBuilder.java:257)
    2. org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parseStatement(MapperAnnotationBuilder.java:163)
    3. org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parse(MapperAnnotationBuilder.java:49)
    4. org.apache.ibatis.binding.MapperRegistry.addMapper(MapperRegistry.java:43)
    5. org.apache.ibatis.session.Configuration.addMapper(Configuration.java:320)
    5 frames
  3. org.apache.ibatis
    App.main
    1. org.apache.ibatis.App.main(App.java:22)
    1 frame