ErrLookup › mybatis/mybatis-3

mybatis/mybatis-3

MyBatis SQL mapper framework for Java · Java · 393 source files

Analyzed at 008069adb1 on 2026-08-14. 235 documented errors.

Code / MessageTypeSeverityTags
Unknown execution method for: {name}
exception error mybatis, binding, mapper, sqlcommand
Mapper method '{name}' attempted to return null from a metho
exception error mybatis, binding, null-return, primitive-type
Mapper method '{name}' has an unsupported return type: {retu
exception error mybatis, binding, dml, return-type
method {name} needs either a @ResultMap annotation, a @Resul
exception error mybatis, binding, result-handler, result-type
Parameter '{key}' not found. Available parameters are {keySe
exception error mybatis, binding, parameters, param-annotation
Invalid bound statement (not found): {mapperInterface}.{meth
exception critical mybatis, binding, statement-not-found, configuration
{methodName} cannot have multiple {paramType} parameters
exception error mybatis, binding, rowbounds, result-handler, parameters
There is no 'privateLookupIn(Class, Lookup)' method in java.
exception critical mybatis, jvm, java-version, environment
Type {type} is not known to the MapperRegistry.
exception error mybatis, binding, mapper-registry, configuration
Error getting mapper instance. Cause: {cause}
exception error mybatis, binding, proxy, classloading
Type {type} is already known to the MapperRegistry.
exception error mybatis, binding, mapper-registry, duplicate-registration
Error resolving JdbcType. Cause: {cause}
exception error mybatis, builder, jdbc-type, configuration
Error resolving ResultSetType. Cause: {cause}
exception error mybatis, builder, result-set-type, configuration
Error resolving ParameterMode. Cause: {cause}
exception error mybatis, builder, parameter-mode, stored-procedure
Error creating instance. Cause: {cause}
exception error mybatis, builder, reflection, instantiation, configuration
Error resolving class. Cause: {cause}
exception error mybatis, builder, class-resolution, type-alias, configuration
Type {typeHandlerType} is not a valid TypeHandler because it
exception error mybatis, builder, type-handler, configuration
The mapper element requires a namespace attribute to be spec
exception error mybatis, builder, namespace, xml-configuration
Wrong namespace. Expected '{currentNamespace}' but found '{c
exception error mybatis, builder, namespace, xml-configuration
Dots are not allowed in element names, please remove it from
exception error mybatis, xml-mapper, naming, configuration
cache-ref element requires a namespace attribute.
exception error mybatis, cache, xml-mapper, configuration
No cache for namespace '{namespace}' could be found.
exception error mybatis, cache, cache-ref, incomplete-element
Could not find a parent resultMap with id '{extend}'
exception error mybatis, resultmap, inheritance, incomplete-element
Cache-ref not yet resolved
exception error mybatis, cache, cache-ref, statement, incomplete-element
Could not find parameter map {parameterMapName}
exception error mybatis, parametermap, legacy, incomplete-element
Could not find result map '{resultMapName}' referenced from
exception error mybatis, resultmap, statement, incomplete-element
Parsing error in {{expression}} in position {p}
exception error mybatis, parameter-expression, syntax, xml-mapper
Expression based parameters are not supported yet
exception error mybatis, parameter-mapping, unsupported-feature
An invalid property '{name}' was found in mapping #{{content
exception error mybatis, parameter-mapping, syntax, xml-mapper
Parsing error was found in mapping #{{content}}. Check synt
exception error mybatis, parameter-expression, syntax, dynamic-sql
Error in result map '{resultMapId}'. Failed to find a constr
exception error mybatis, resultmap, constructor-mapping, reflection
Error in result map '{resultMapId}'. We do not support parti
exception error mybatis, resultmap, constructor-mapping, configuration
Should be specified either value() or name() attribute in th
exception error mybatis, cache, annotation, configuration
Cannot use both value() and name() attribute in the @CacheNa
exception error mybatis, cache, annotation, configuration
If there is no type discriminator, then the NamedResultMap a
exception error mybatis, annotation, resultmap, configuration
Cannot use both @One and @Many annotations in the same @Resu
exception error mybatis, annotation, nested-mapping, resultmap
Detected conflicting annotations '%s' and '%s' on '%s'.
exception error
Could not find a statement annotation that correspond a curr
exception error
Cannot resolve the provider method because '{methodName}' no
exception error
Cannot resolve the provider method because '{methodName}' do
exception error
Cannot resolve the provider method because '{methodName}' is
exception error
Error creating SqlSource for SqlProvider. Method '{methodNam
exception error
Error creating SqlSource for SqlProvider. Cause: {cause}
exception error
Error creating SqlSource for SqlProvider. Method '{methodNam
exception error
Error creating SqlSource for SqlProvider. ProviderContext fo
exception error
Cannot invoke SqlProvider method '{providerMethod}' with spe
exception error
Error invoking SqlProvider method '{providerMethod}' with sp
exception error
Please specify either 'value' or 'type' attribute of @{annot
exception error
Cannot specify different class on 'value' and 'type' attribu
exception error
Each XMLConfigBuilder can only be used once.
exception error
Error parsing SQL Mapper Configuration. Cause: {cause}
exception error
The setting {key} is not known. Make sure you spelled it co
validation error
Error registering typeAlias for '{alias}'. Cause: {cause}
exception error
The properties element cannot specify both a URL and a resou
validation error
Environment declaration requires a TransactionFactory.
validation error
Environment declaration requires a DataSourceFactory.
validation error
A mapper element may only specify a url, resource or class,
validation error mybatis, xml-config, mapper-registration
No environment specified.
validation error mybatis, xml-config, environment
Environment requires an id attribute.
validation error mybatis, xml-config, environment
Failed to create a new Configuration instance.
exception error mybatis, reflection, custom-configuration
Could not find SQL statement to include with refid '{refid}'
exception error mybatis, mapper-xml, sql-fragment, include
Variable {name} defined twice in the same include definition
validation error mybatis, mapper-xml, include, duplicate-property
Mapper's namespace cannot be empty
validation error mybatis, mapper-xml, namespace
Error parsing Mapper XML. The XML location is '{resource}'.
exception error mybatis, mapper-xml, wrapper-exception, startup
Ambiguous collection type for property '{property}'. You mus
validation error mybatis, resultmap, collection, mapping
Not allowed to update a null cache key instance.
exception error mybatis, cache, sentinel, interceptor
Not allowed to update a NullCacheKey instance.
exception error mybatis, cache, deprecated, sentinel
Couldn't get a lock in {timeout} for the key {key} at the ca
exception error mybatis, cache, concurrency, timeout
Got interrupted while trying to acquire lock for key {key}
exception error mybatis, cache, concurrency, interruption
SharedCache failed to make a copy of a non-serializable obje
exception error mybatis, second-level-cache, serialization
Error serializing object. Cause: ${cause}
exception error mybatis, second-level-cache, serialization
Error deserializing object. Cause: ${cause}
exception error mybatis, second-level-cache, deserialization, deployment
Cache instances require an ID.
exception error mybatis, cache, identity
Cannot open more than one iterator on a Cursor
exception error mybatis, cursor, streaming, iterator, illegal-state
A Cursor is already closed.
exception error mybatis, cursor, lifecycle, resource-leak, illegal-state
Cannot remove element from Cursor
exception error mybatis, cursor, iterator, unsupported-operation, streaming
There was an error configuring JndiDataSourceTransactionPool
exception critical mybatis, jndi, datasource, configuration, naming
Error accessing PooledConnection. Connection is invalid.
exception error mybatis, connection-pool, jdbc, lifecycle, stale-reference
PooledDataSource: Could not get a good connection to the dat
exception critical mybatis, connection-pool, database-outage, validation, network
PooledDataSource: Unknown severe error condition. The conne
exception critical mybatis, connection-pool, resource-leak, pool-exhaustion, assertion
${className} is not a wrapper.
exception warning mybatis, jdbc-wrapper, datasource, api-misuse
Error setting driver on UnpooledDataSource.
exception critical mybatis, jdbc-driver, classpath, configuration, classloader
${className} is not a wrapper.
exception warning mybatis, jdbc-wrapper, datasource, api-misuse
Unknown DataSource property: ${propertyName}
exception error mybatis, configuration, datasource, typo, startup
Executor was closed.
exception error mybatis, executor, lifecycle, session-closed
Cannot commit, transaction is already closed
exception error mybatis, transaction, commit, session-closed, lifecycle
${mappedStatementId} (batch index #${index}) failed. ${prior
exception error mybatis, batch, sql-error, rollback, constraint-violation
Caching stored procedures with OUT params is not supported.
exception error mybatis, second-level-cache, stored-procedure, out-params, configuration
This method should not be called
exception error executor, decorator, programming-error
Statement returned more than one row, where no more than one
exception error result-mapping, select-one, sql
Error getting generated key or setting result to parameter o
exception error generated-keys, insert, jdbc
Too many keys are generated. There are only %d target object
exception error generated-keys, batch-insert, map-parameter
Too many keys are generated. There are only %d target object
exception error generated-keys, batch-insert, driver-bug
Could not determine which parameter to assign generated keys
exception error generated-keys, multi-param, keyproperty
Could not find parameter '${paramName}'. Note that when ther
exception error generated-keys, keyproperty, param-name
No setter found for the keyProperty '${propertyName}' in '${
exception error generated-keys, setter, reflection
SelectKey returned no data.
exception error selectkey, insert, sequence
SelectKey returned more than one value.
exception error selectkey, insert, sql
Error selecting key or setting result to parameter object. C
exception error selectkey, wrapper, jdbc
If SelectKey has key columns, the number must match the numb
exception error selectkey, keycolumn, configuration
No setter found for the keyProperty '" + property + "' in "
exception error selectkey, setter, reflection
An attempt has been made to read a not loaded lazy property
exception error lazy-loading, serialization, proxy
ResultLoader could not load lazily. Environment was not con
exception error lazy-loading, environment, configuration
ResultLoader could not load lazily. DataSource was not conf
exception error lazy-loading, datasource, configuration
Nested lazy loaded result property '" + property + "' for qu
exception error lazy-loading, resultmap, nested-select
Property [" + this.property + "] cannot be loaded because re
exception error lazy-loading, serialization, deserialization
Cannot lazy load property [" + this.property + "] of deseria
exception error mybatis, lazy-loading, serialization, deserialization, configuration
Cannot get Configuration as configuration factory was not se
exception error mybatis, lazy-loading, configuration, serialization
Cannot get Configuration as factory method [" + this.configu
exception error mybatis, lazy-loading, reflection, configuration
Cannot get Configuration as factory class [" + this.configur
exception error mybatis, lazy-loading, reflection, configuration
Cannot get Configuration as factory method [" + this.configu
exception error mybatis, lazy-loading, reflection, initialization
Cannot get Configuration as factory method [" + this.configu
exception error mybatis, lazy-loading, configuration, type-mismatch
Cannot enable lazy loading because CGLIB is not available. A
exception error mybatis, lazy-loading, cglib, classpath, dependency
Cannot enable lazy loading because Javassist is not availabl
exception error mybatis, lazy-loading, javassist, classpath, dependency
Error creating lazy proxy. Cause: " + e
exception error mybatis, lazy-loading, javassist, bytecode, proxy
Cursor results cannot be mapped to multiple resultMaps
exception error mybatis, cursor, resultmap, streaming
A query was run and no Result Maps were found for the Mapped
exception error mybatis, resultmap, resulttype, mapper, configuration
Mapped Statements with nested result mappings cannot be safe
exception error mybatis, rowbounds, pagination, nested-results, configuration
Mapped Statements with nested result mappings cannot be safe
exception error mybatis, resulthandler, nested-results, streaming, configuration
Expected result object to be a pending constructor creation!
exception error mybatis, constructor-mapping, nested-results, internal-invariant
No type handler found for '" + javaType + "' and JDBC type '
exception error mybatis, typehandler, jdbc-type, mapping
Two different properties are mapped to the same resultSet
exception error mybatis, multiple-resultsets, stored-procedure, mapping
Do not know how to create an instance of " + resultType
exception error mybatis, instantiation, constructor-mapping, resultmap, immutable
Could not process result for mapping: " + constructorMapping
exception error mybatis, constructor-mapping, typehandler, column-mapping
@AutomapConstructor should be used in only one constructor.
exception error mybatis, automapping, constructor, annotation
'argNameBasedConstructorAutoMapping' is enabled and the clas
exception error mybatis, constructor-automapping, configuration, annotations
Constructor auto-mapping of ''{0}'' failed. The constructor
exception error mybatis, constructor-automapping, resultset, sql
Constructor auto-mapping of ''{1}'' failed because ''{0}'' w
exception error mybatis, constructor-automapping, column-mapping, naming
Error getting constructor collection nested result map value
exception error mybatis, nested-results, collections, jdbc, constructor-mapping
Cannot construct objects with collections in constructors us
exception error mybatis, multiple-resultsets, constructor-mapping, collections, unsupported
Cannot reliably construct result if we are not sure the resu
exception error mybatis, resultordered, constructor-mapping, collections, configuration
Error getting nested result map values for '{}'. Cause: {}
exception error mybatis, nested-results, jdbc, resultmap
Error cloning cache key. Cause: {}
exception error mybatis, cachekey, internal, defensive
Error instantiating collection property for result '{}'. Ca
exception error mybatis, collections, instantiation, resultmap
Cannot add a collection result to non-collection based resul
exception error mybatis, constructor-mapping, collections, resultmap
Error preparing statement. Cause: {}
exception error mybatis, jdbc, statement, timeout, fetch-size
The JDBC Type must be specified for output parameter. Param
validation error mybatis, stored-procedures, callable, jdbctype, parameters
Unknown statement type: {}
validation error mybatis, statement-type, classpath, internal
Cannot find class: {}
exception error mybatis, classloading, classpath, configuration
Bad zip entry: {}
exception error mybatis, vfs, zip-slip, spring-boot, security, classpath
Could not find resource {}
exception error mybatis, resources, classpath, configuration
Error executing: {}. Cause: {}
exception error mybatis, scriptrunner, sql-script, migration, jdbc
Could not set AutoCommit to {}. Cause: {}
exception error mybatis, scriptrunner, autocommit, transactions, jdbc
Could not commit transaction. Cause: {}
exception error mybatis, sql, transaction, script-runner
Line missing end-of-line terminator ({}) => {}
exception error mybatis, sql, script-runner, parsing
Statement returned {} results where exactly one (1) was expe
exception error mybatis, sql, query, sql-runner
SqlRunner requires an instance of Null to represent typed nu
validation error mybatis, jdbc, null-handling, sql-runner
SqlRunner could not find a TypeHandler instance for {}
validation error mybatis, type-handler, jdbc, sql-runner
Error creating logger for logger {}. Cause: {}
exception error mybatis, logging, classpath, classloader
Error setting Log implementation. Cause: {}
exception error mybatis, logging, configuration, classpath
Error building standard cache decorators. Cause: {}
exception error mybatis, cache, configuration
Unsupported property type for cache: '{}' of type {}
validation error mybatis, cache, configuration, reflection
Failed cache initialization for '{}' on '{}'
exception error mybatis, cache, initialization, custom-cache
Could not instantiate cache implementation ({}). Cause: {}
exception error mybatis, cache, instantiation, custom-cache
Invalid base cache implementation ({}). Base cache implemen
validation error mybatis, cache, constructor-contract, custom-cache
Could not instantiate cache decorator ({}). Cause: {}
exception error mybatis, cache, decorator, instantiation
Invalid cache decorator ({}). Cache decorators must have a
validation error mybatis, cache, decorator, constructor-contract
Parameter 'id' must not be null
validation error mybatis, configuration, null-check
Parameter 'transactionFactory' must not be null
validation error mybatis, configuration, transaction, null-check
Parameter 'dataSource' must not be null
validation error mybatis, configuration, datasource, null-check
Missing resultMap in property '{}'. Parameters of type java
validation error mybatis, stored-procedure, cursor, result-map
ResultMaps must have an id
validation error mybatis, result-map, configuration, null-check
Cannot define both nestedQueryId and nestedResultMapId in pr
validation error mybatis, result-map, nested-mapping, configuration
Mapping is missing column attribute for property {}
validation error mybatis, resultmap, configuration, mapping
There should be the same number of columns and foreignColumn
exception error mybatis, resultmap, stored-procedure, multiple-resultsets
dataSource cannot be null
exception error mybatis, datasource, configuration, null-check
Error occurred when getting DB product name.
exception error mybatis, jdbc, connection, databaseid, startup
Error evaluating XPath. Cause: {}
exception error mybatis, xml, xpath, parsing
Error creating document instance. Cause: {}
exception error mybatis, xml, parsing, well-formedness
Method '{}' is not supported as a plugin target.
exception error mybatis, plugin, interceptor, reflection
No @Intercepts annotation was found in interceptor {}
exception error mybatis, plugin, interceptor, annotation
Could not find method on {} named {}. Cause: {}
exception error mybatis, plugin, interceptor, signature, upgrade
There is no default constructor for {}
exception error mybatis, reflection, constructor, lombok, kotlin
There is no setter for property named '{}' in '{}'
exception error mybatis, reflection, setter, resultmap, immutability
There is no getter for property named '{}' in '{}'
exception error mybatis, reflection, getter, ognl, parameters
Failed to invoke 'Class.isRecord()'.
exception error mybatis, reflection, records, jvm, methodhandle
The 2nd arg must be Class or ParameterizedType, but was: {}
exception error mybatis, reflection, generics, type-erasure
Error instantiating {} with invalid types ({}) or values ({}
exception error mybatis, reflection, constructor, instantiation, resultmap
Illegal overloaded getter method with ambiguous type for pro
exception error mybatis, reflection, javabeans, ambiguity, generated-code
Error parsing property name '{}'. Didn't start with 'is', '
exception error reflection, javabean, properties, mybatis
Invalid index syntax in property: '{}'. Missing closing brac
exception error reflection, property-parsing, dynamic-sql, mybatis
Remove is not supported, as it has no meaning in the context
exception warning reflection, iterator, unsupported-operation, mybatis
Cannot get the value '{}' because the property '{}' is null.
exception error reflection, null-safety, collections, mybatis
Cannot get the value '{}' because the property '{}' is not M
exception error reflection, collections, type-mismatch, mybatis
Cannot set the value '{}' because the property '{}' is null.
exception error reflection, null-safety, collections, result-mapping, mybatis
Cannot set the value '{}' because the property '{}' is not M
exception error reflection, collections, type-mismatch, mybatis
Cannot set value of property '{}' because '{}' is null and c
exception error reflection, instantiation, nested-properties, lombok, mybatis
Could not get property '{}' from {}. Cause: {}
exception error reflection, getter, runtime-exception, mybatis
Could not set property '{}' of '{}' with value '{}' Cause: {
exception error reflection, setter, type-mismatch, result-mapping, mybatis
The DefaultObjectWrapperFactory should never be called to pr
exception warning reflection, api-misuse, object-wrapper, mybatis
'" + this.getClass() + "' must override the default method '
exception error reflection, spi, object-wrapper, generics, mybatis
'" + this.getClass() + "' must override the default method '
exception error reflection, spi, object-wrapper, generics, mybatis
null is not a valid Language Driver
exception error configuration, language-driver, null-argument, mybatis
Failed to load language driver for " + cls.getName()
exception error configuration, language-driver, instantiation, mybatis
Could not find type handler for Java type '" + propertyGener
exception error type-handler, parameters, jdbc, mybatis
Could not set parameters for mapping: " + parameterMapping +
exception error type-handler, jdbc, parameters, sql-exception, mybatis
Dynamic content is not allowed when using RAW language
exception error sql-building, language-driver, configuration, dynamic-sql, mybatis
The expression '" + expression + "' evaluated to a null valu
exception error dynamic-sql, foreach, null-safety, ognl, mybatis
Error evaluating expression '" + expression + "'. Return va
exception error mybatis, dynamic-sql, foreach, ognl, builder-exception
Error evaluating expression '" + expression + "'. Cause: " +
exception error mybatis, ognl, dynamic-sql, builder-exception
Unknown element <" + nodeName + "> in SQL statement.
exception error mybatis, xml, mapper-parsing, builder-exception
Too many default (otherwise) elements in choose statement.
exception error mybatis, xml, choose, mapper-parsing, builder-exception
Unknown column is detected on '" + mappedStatement.getId() +
exception error mybatis, auto-mapping, result-mapping, configuration
name + " already contains key " + key
exception error mybatis, configuration, duplicate-key, mapper-registration
name + " does not contain value for " + key
exception error mybatis, configuration, statement-not-found, namespace
key + " is ambiguous in " + name + " (try using the full nam
exception error mybatis, configuration, ambiguous-key, namespace
Error: Cannot get connection. No managed session is starte
exception error mybatis, session-management, threadlocal, sql-session-exception
Error: Cannot clear the cache. No managed session is start
exception error mybatis, session-management, cache, threadlocal
Error: Cannot commit. No managed session is started.
exception error mybatis, session-management, transaction, threadlocal
Error: Cannot rollback. No managed session is started.
exception error mybatis, session-management, transaction, rollback
Error: Cannot close. No managed session is started.
exception error mybatis, session-management, double-close, threadlocal
Expected one result (or null) to be returned by selectOne(),
exception error mybatis, query, too-many-results, select-one
Parameter '" + key + "' not found. Available parameters are
exception error mybatis, parameters, binding-exception, map-params
Error configuring AutoCommit. Your driver may not support g
exception error mybatis, transaction, jdbc, driver, autocommit
ArrayType Handler requires SQL array or java array parameter
exception error mybatis, jdbc, array, type-handler, postgresql
JDBC requires that the JdbcType must be specified for all nu
exception error mybatis, jdbc, nullable, configuration, mapper
Error setting null for parameter #" + i + " with JdbcType "
exception error mybatis, jdbc, oracle, null, configuration
Error setting non null for parameter #" + i + " with JdbcTyp
exception error mybatis, jdbc, type-handler, parameter-binding
Error attempting to get column '" + columnName + "' from res
exception error mybatis, resultset, resultmap, column-mapping
Error attempting to get column #" + columnIndex + " from res
exception error mybatis, resultset, auto-mapping, column-index
Error attempting to get column #" + columnIndex + " from cal
exception error mybatis, stored-procedures, callablestatement, out-parameters
Type argument cannot be null
exception error mybatis, enum, type-handler, configuration
{} does not represent an enum type.
exception error mybatis, enum, type-handler, registration
Cannot convert {} to {} by ordinal value.
exception error mybatis, enum, ordinal, data-mismatch
Type argument cannot be null
exception error mybatis, enum, type-handler, configuration
Could not resolve type alias '{}'. Cause: {}
exception error mybatis, type-alias, configuration, classpath
The parameter alias cannot be null
exception error mybatis, type-alias, registration, null-check
The alias '{}' is already mapped to the value '{}'.
exception error mybatis, type-alias, naming-conflict, package-scan
Error registering type alias {} for {}. Cause: {}
exception error mybatis, type-alias, classpath, configuration
Failed to invoke constructor {}
exception error mybatis, type-handler, reflection, registration
'{}' does not implement TypeHandler.
exception error mybatis, type-handler, registration, interface
Unable to find a usable constructor for {}
exception error mybatis, type-handler, constructor, reflection
Failed to invoke constructor for handler {}
exception error mybatis, type-handler, constructor, initialization
'{}' extends TypeReference but misses the type parameter. Re
exception error mybatis, generics, type-reference, type-handler
Error determining JDBC type for column {}. Cause: {}
exception error mybatis, jdbc, type-handler, resultset-metadata, driver-compatibility, typeexception