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 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    GitHub comment 5#102249931

    GitHub | 2 years ago | iwanagah
    org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'Todo'. Cause: java.lang.ClassNotFoundException: Cannot find class: Todo
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    "less than" in Select annotations

    GitHub | 2 years ago | GoogleCodeExporter
    org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 38; The content of elements must consist of well-formed character data or markup.
  5. 0

    MyBatis: Errors when upgrading to 3.2.7 from 3.0.3

    Stack Overflow | 3 years ago | AfterWorkGuinness
    java.lang.IllegalStateException: Failed to load ApplicationContext

  1. archenroot 1 times, last 5 months 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