今天用SpringBoot+MyBatis写一个一对一时错了一个错,检查啦一下才知道运来Mapper.xml中一个SQL语句没有写完,只写啦一部分,没有写参数类型,和返回值类型。大意啦一下,就报啦下面这个错。所以大家敲代码时要小心一点。

在这里插入图片描述

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘controller’: Unsatisfied dependency expressed through field ‘userService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userServiceImp’: Unsatisfied dependency expressed through field ‘userDao’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userDao’ defined in file [D:\win8\sts\stsworke\power\target\classes\com\zsc\dao\UserDao.class]: Unsatisfied dependency expressed through bean property ‘sqlSessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’ threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file [D:\win8\sts\stsworke\power\target\classes\mapper\UserDaoMapper.xml]’; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=value2, …}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor

A

u

t

o

w

i

r

e

d

F

i

e

l

d

E

l

e

m

e

n

t

.

i

n

j

e

c

t

(

A

u

t

o

w

i

r

e

d

A

n

n

o

t

a

t

i

o

n

B

e

a

n

P

o

s

t

P

r

o

c

e

s

s

o

r

.

j

a

v

a

:

586

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

a

n

n

o

t

a

t

i

o

n

.

I

n

j

e

c

t

i

o

n

M

e

t

a

d

a

t

a

.

i

n

j

e

c

t

(

I

n

j

e

c

t

i

o

n

M

e

t

a

d

a

t

a

.

j

a

v

a

:

91

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

a

n

n

o

t

a

t

i

o

n

.

A

u

t

o

w

i

r

e

d

A

n

n

o

t

a

t

i

o

n

B

e

a

n

P

o

s

t

P

r

o

c

e

s

s

o

r

.

p

o

s

t

P

r

o

c

e

s

s

P

r

o

p

e

r

t

y

V

a

l

u

e

s

(

A

u

t

o

w

i

r

e

d

A

n

n

o

t

a

t

i

o

n

B

e

a

n

P

o

s

t

P

r

o

c

e

s

s

o

r

.

j

a

v

a

:

372

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

A

u

t

o

w

i

r

e

C

a

p

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

p

o

p

u

l

a

t

e

B

e

a

n

(

A

b

s

t

r

a

c

t

A

u

t

o

w

i

r

e

C

a

p

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

1341

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

A

u

t

o

w

i

r

e

C

a

p

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

d

o

C

r

e

a

t

e

B

e

a

n

(

A

b

s

t

r

a

c

t

A

u

t

o

w

i

r

e

C

a

p

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

572

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

A

u

t

o

w

i

r

e

C

a

p

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

c

r

e

a

t

e

B

e

a

n

(

A

b

s

t

r

a

c

t

A

u

t

o

w

i

r

e

C

a

p

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

495

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

l

a

m

b

d

a

AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:586) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:372) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda

AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:586) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:372) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.lambdadoGetBeanKaTeX parse error: Undefined control sequence: \win at position 2790: …ned in file [D:\̲w̲i̲n̲8\sts\stsworke\…AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:586) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:372) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1341) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean

0

(

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

317

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

D

e

f

a

u

l

t

S

i

n

g

l

e

t

o

n

B

e

a

n

R

e

g

i

s

t

r

y

.

g

e

t

S

i

n

g

l

e

t

o

n

(

D

e

f

a

u

l

t

S

i

n

g

l

e

t

o

n

B

e

a

n

R

e

g

i

s

t

r

y

.

j

a

v

a

:

222

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

d

o

G

e

t

B

e

a

n

(

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

315

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

g

e

t

B

e

a

n

(

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

199

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

c

o

n

f

i

g

.

D

e

p

e

n

d

e

n

c

y

D

e

s

c

r

i

p

t

o

r

.

r

e

s

o

l

v

e

C

a

n

d

i

d

a

t

e

(

D

e

p

e

n

d

e

n

c

y

D

e

s

c

r

i

p

t

o

r

.

j

a

v

a

:

251

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

d

o

R

e

s

o

l

v

e

D

e

p

e

n

d

e

n

c

y

(

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

1135

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

r

e

s

o

l

v

e

D

e

p

e

n

d

e

n

c

y

(

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

1062

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

a

n

n

o

t

a

t

i

o

n

.

A

u

t

o

w

i

r

e

d

A

n

n

o

t

a

t

i

o

n

B

e

a

n

P

o

s

t

P

r

o

c

e

s

s

o

r

0(AbstractBeanFactory.java:317) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor

0(AbstractBeanFactory.java:317) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorAutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
… 24 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userDao’ defined in file [D:\win8\sts\stsworke\power\target\classes\com\zsc\dao\UserDao.class]: Unsatisfied dependency expressed through bean property ‘sqlSessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’ threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file [D:\win8\sts\stsworke\power\target\classes\mapper\UserDaoMapper.xml]’; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=value2, …}
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1436) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1323) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean

0

(

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

317

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

D

e

f

a

u

l

t

S

i

n

g

l

e

t

o

n

B

e

a

n

R

e

g

i

s

t

r

y

.

g

e

t

S

i

n

g

l

e

t

o

n

(

D

e

f

a

u

l

t

S

i

n

g

l

e

t

o

n

B

e

a

n

R

e

g

i

s

t

r

y

.

j

a

v

a

:

222

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

d

o

G

e

t

B

e

a

n

(

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

315

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

g

e

t

B

e

a

n

(

A

b

s

t

r

a

c

t

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

199

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

c

o

n

f

i

g

.

D

e

p

e

n

d

e

n

c

y

D

e

s

c

r

i

p

t

o

r

.

r

e

s

o

l

v

e

C

a

n

d

i

d

a

t

e

(

D

e

p

e

n

d

e

n

c

y

D

e

s

c

r

i

p

t

o

r

.

j

a

v

a

:

251

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

d

o

R

e

s

o

l

v

e

D

e

p

e

n

d

e

n

c

y

(

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

1135

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

s

u

p

p

o

r

t

.

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

r

e

s

o

l

v

e

D

e

p

e

n

d

e

n

c

y

(

D

e

f

a

u

l

t

L

i

s

t

a

b

l

e

B

e

a

n

F

a

c

t

o

r

y

.

j

a

v

a

:

1062

)

 

[

s

p

r

i

n

g

b

e

a

n

s

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

b

e

a

n

s

.

f

a

c

t

o

r

y

.

a

n

n

o

t

a

t

i

o

n

.

A

u

t

o

w

i

r

e

d

A

n

n

o

t

a

t

i

o

n

B

e

a

n

P

o

s

t

P

r

o

c

e

s

s

o

r

0(AbstractBeanFactory.java:317) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor

0(AbstractBeanFactory.java:317) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062) [springbeans5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorAutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
… 37 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’ threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file [D:\win8\sts\stsworke\power\target\classes\mapper\UserDaoMapper.xml]’; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=value2, …}
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:590) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1247) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1096) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBeanKaTeX parse error: Undefined control sequence: \win at position 1593: …urce: 'file [D:\̲w̲i̲n̲8\sts\stsworke\…

E

n

h

a

n

c

e

r

B

y

S

p

r

i

n

g

C

G

L

I

B

EnhancerBySpringCGLIB

EnhancerBySpringCGLIB

1

b

823452.

C

G

L

I

B

1b823452.CGLIB

1b823452.CGLIBsqlSessionFactory

0

(

<

g

e

n

e

r

a

t

e

d

>

)

 

[

m

y

b

a

t

i

s

s

p

r

i

n

g

b

o

o

t

a

u

t

o

c

o

n

f

i

g

u

r

e

1.3.0.

j

a

r

:

1.3.0

]

a

t

o

r

g

.

m

y

b

a

t

i

s

.

s

p

r

i

n

g

.

b

o

o

t

.

a

u

t

o

c

o

n

f

i

g

u

r

e

.

M

y

b

a

t

i

s

A

u

t

o

C

o

n

f

i

g

u

r

a

t

i

o

n

0(<generated>) ~[mybatis-spring-boot-autoconfigure-1.3.0.jar:1.3.0] at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration

0(<generated>) [mybatisspringbootautoconfigure1.3.0.jar:1.3.0]atorg.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration

E

n

h

a

n

c

e

r

B

y

S

p

r

i

n

g

C

G

L

I

B

EnhancerBySpringCGLIB

EnhancerBySpringCGLIB

1

b

823452

1b823452

1b823452

F

a

s

t

C

l

a

s

s

B

y

S

p

r

i

n

g

C

G

L

I

B

FastClassBySpringCGLIB

FastClassBySpringCGLIB

538

f

6

e

77.

i

n

v

o

k

e

(

<

g

e

n

e

r

a

t

e

d

>

)

 

[

m

y

b

a

t

i

s

s

p

r

i

n

g

b

o

o

t

a

u

t

o

c

o

n

f

i

g

u

r

e

1.3.0.

j

a

r

:

1.3.0

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

c

g

l

i

b

.

p

r

o

x

y

.

M

e

t

h

o

d

P

r

o

x

y

.

i

n

v

o

k

e

S

u

p

e

r

(

M

e

t

h

o

d

P

r

o

x

y

.

j

a

v

a

:

228

)

 

[

s

p

r

i

n

g

c

o

r

e

5.0.8.

R

E

L

E

A

S

E

.

j

a

r

:

5.0.8.

R

E

L

E

A

S

E

]

a

t

o

r

g

.

s

p

r

i

n

g

f

r

a

m

e

w

o

r

k

.

c

o

n

t

e

x

t

.

a

n

n

o

t

a

t

i

o

n

.

C

o

n

f

i

g

u

r

a

t

i

o

n

C

l

a

s

s

E

n

h

a

n

c

e

r

538f6e77.invoke(<generated>) ~[mybatis-spring-boot-autoconfigure-1.3.0.jar:1.3.0] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-5.0.8.RELEASE.jar:5.0.8.RELEASE] at org.springframework.context.annotation.ConfigurationClassEnhancer

538f6e77.invoke(<generated>) [mybatisspringbootautoconfigure1.3.0.jar:1.3.0]atorg.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) [springcore5.0.8.RELEASE.jar:5.0.8.RELEASE]atorg.springframework.context.annotation.ConfigurationClassEnhancerBeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:361) ~[spring-context-5.0.8.RELEASE.jar:5.0.8.RELEASE]
at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration

E

n

h

a

n

c

e

r

B

y

S

p

r

i

n

g

C

G

L

I

B

EnhancerBySpringCGLIB

EnhancerBySpringCGLIB1b823452.sqlSessionFactory() ~[mybatis-spring-boot-autoconfigure-1.3.0.jar:1.3.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
… 61 common frames omitted
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=value2, …}
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92) ~[mybatis-3.4.4.jar:3.4.4]
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:521) ~[mybatis-spring-1.3.1.jar:1.3.1]
… 74 common frames omitted
Caused by: org.apache.ibatis.builder.BuilderException: Parsing error was found in mapping #{}. Check syntax #{property|(expression), var1=value1, var2=value2, …}
at org.apache.ibatis.builder.SqlSourceBuilder

P

a

r

a

m

e

t

e

r

M

a

p

p

i

n

g

T

o

k

e

n

H

a

n

d

l

e

r

.

p

a

r

s

e

P

a

r

a

m

e

t

e

r

M

a

p

p

i

n

g

(

S

q

l

S

o

u

r

c

e

B

u

i

l

d

e

r

.

j

a

v

a

:

132

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

S

q

l

S

o

u

r

c

e

B

u

i

l

d

e

r

ParameterMappingTokenHandler.parseParameterMapping(SqlSourceBuilder.java:132) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.SqlSourceBuilder

ParameterMappingTokenHandler.parseParameterMapping(SqlSourceBuilder.java:132) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.SqlSourceBuilderParameterMappingTokenHandler.buildParameterMapping(SqlSourceBuilder.java:72) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.builder.SqlSourceBuilder

P

a

r

a

m

e

t

e

r

M

a

p

p

i

n

g

T

o

k

e

n

H

a

n

d

l

e

r

.

h

a

n

d

l

e

T

o

k

e

n

(

S

q

l

S

o

u

r

c

e

B

u

i

l

d

e

r

.

j

a

v

a

:

67

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

p

a

r

s

i

n

g

.

G

e

n

e

r

i

c

T

o

k

e

n

P

a

r

s

e

r

.

p

a

r

s

e

(

G

e

n

e

r

i

c

T

o

k

e

n

P

a

r

s

e

r

.

j

a

v

a

:

78

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

S

q

l

S

o

u

r

c

e

B

u

i

l

d

e

r

.

p

a

r

s

e

(

S

q

l

S

o

u

r

c

e

B

u

i

l

d

e

r

.

j

a

v

a

:

45

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

s

c

r

i

p

t

i

n

g

.

d

e

f

a

u

l

t

s

.

R

a

w

S

q

l

S

o

u

r

c

e

.

<

i

n

i

t

>

(

R

a

w

S

q

l

S

o

u

r

c

e

.

j

a

v

a

:

46

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

s

c

r

i

p

t

i

n

g

.

d

e

f

a

u

l

t

s

.

R

a

w

S

q

l

S

o

u

r

c

e

.

<

i

n

i

t

>

(

R

a

w

S

q

l

S

o

u

r

c

e

.

j

a

v

a

:

40

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

s

c

r

i

p

t

i

n

g

.

x

m

l

t

a

g

s

.

X

M

L

S

c

r

i

p

t

B

u

i

l

d

e

r

.

p

a

r

s

e

S

c

r

i

p

t

N

o

d

e

(

X

M

L

S

c

r

i

p

t

B

u

i

l

d

e

r

.

j

a

v

a

:

58

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

s

c

r

i

p

t

i

n

g

.

x

m

l

t

a

g

s

.

X

M

L

L

a

n

g

u

a

g

e

D

r

i

v

e

r

.

c

r

e

a

t

e

S

q

l

S

o

u

r

c

e

(

X

M

L

L

a

n

g

u

a

g

e

D

r

i

v

e

r

.

j

a

v

a

:

44

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

x

m

l

.

X

M

L

S

t

a

t

e

m

e

n

t

B

u

i

l

d

e

r

.

p

a

r

s

e

S

t

a

t

e

m

e

n

t

N

o

d

e

(

X

M

L

S

t

a

t

e

m

e

n

t

B

u

i

l

d

e

r

.

j

a

v

a

:

94

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

x

m

l

.

X

M

L

M

a

p

p

e

r

B

u

i

l

d

e

r

.

b

u

i

l

d

S

t

a

t

e

m

e

n

t

F

r

o

m

C

o

n

t

e

x

t

(

X

M

L

M

a

p

p

e

r

B

u

i

l

d

e

r

.

j

a

v

a

:

135

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

x

m

l

.

X

M

L

M

a

p

p

e

r

B

u

i

l

d

e

r

.

b

u

i

l

d

S

t

a

t

e

m

e

n

t

F

r

o

m

C

o

n

t

e

x

t

(

X

M

L

M

a

p

p

e

r

B

u

i

l

d

e

r

.

j

a

v

a

:

128

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

x

m

l

.

X

M

L

M

a

p

p

e

r

B

u

i

l

d

e

r

.

c

o

n

f

i

g

u

r

a

t

i

o

n

E

l

e

m

e

n

t

(

X

M

L

M

a

p

p

e

r

B

u

i

l

d

e

r

.

j

a

v

a

:

118

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

.

.

.

76

c

o

m

m

o

n

f

r

a

m

e

s

o

m

i

t

t

e

d

C

a

u

s

e

d

b

y

:

j

a

v

a

.

l

a

n

g

.

S

t

r

i

n

g

I

n

d

e

x

O

u

t

O

f

B

o

u

n

d

s

E

x

c

e

p

t

i

o

n

:

S

t

r

i

n

g

i

n

d

e

x

o

u

t

o

f

r

a

n

g

e

:

0

a

t

j

a

v

a

.

l

a

n

g

.

S

t

r

i

n

g

.

c

h

a

r

A

t

(

S

t

r

i

n

g

.

j

a

v

a

:

658

)

 

[

n

a

:

1.8.

0

6

6

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

P

a

r

a

m

e

t

e

r

E

x

p

r

e

s

s

i

o

n

.

p

a

r

s

e

(

P

a

r

a

m

e

t

e

r

E

x

p

r

e

s

s

i

o

n

.

j

a

v

a

:

44

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

P

a

r

a

m

e

t

e

r

E

x

p

r

e

s

s

i

o

n

.

<

i

n

i

t

>

(

P

a

r

a

m

e

t

e

r

E

x

p

r

e

s

s

i

o

n

.

j

a

v

a

:

39

)

 

[

m

y

b

a

t

i

s

3.4.4.

j

a

r

:

3.4.4

]

a

t

o

r

g

.

a

p

a

c

h

e

.

i

b

a

t

i

s

.

b

u

i

l

d

e

r

.

S

q

l

S

o

u

r

c

e

B

u

i

l

d

e

r

ParameterMappingTokenHandler.handleToken(SqlSourceBuilder.java:67) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:78) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.SqlSourceBuilder.parse(SqlSourceBuilder.java:45) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.scripting.defaults.RawSqlSource.<init>(RawSqlSource.java:46) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.scripting.defaults.RawSqlSource.<init>(RawSqlSource.java:40) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.scripting.xmltags.XMLScriptBuilder.parseScriptNode(XMLScriptBuilder.java:58) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.scripting.xmltags.XMLLanguageDriver.createSqlSource(XMLLanguageDriver.java:44) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:94) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:135) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:128) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:118) ~[mybatis-3.4.4.jar:3.4.4] ... 76 common frames omitted Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:658) ~[na:1.8.0_66] at org.apache.ibatis.builder.ParameterExpression.parse(ParameterExpression.java:44) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.ParameterExpression.<init>(ParameterExpression.java:39) ~[mybatis-3.4.4.jar:3.4.4] at org.apache.ibatis.builder.SqlSourceBuilder

ParameterMappingTokenHandler.handleToken(SqlSourceBuilder.java:67) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:78) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.SqlSourceBuilder.parse(SqlSourceBuilder.java:45) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.scripting.defaults.RawSqlSource.<init>(RawSqlSource.java:46) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.scripting.defaults.RawSqlSource.<init>(RawSqlSource.java:40) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.scripting.xmltags.XMLScriptBuilder.parseScriptNode(XMLScriptBuilder.java:58) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.scripting.xmltags.XMLLanguageDriver.createSqlSource(XMLLanguageDriver.java:44) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:94) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:135) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:128) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:118) [mybatis3.4.4.jar:3.4.4]...76commonframesomittedCausedby:java.lang.StringIndexOutOfBoundsException:Stringindexoutofrange:0atjava.lang.String.charAt(String.java:658) [na:1.8.066]atorg.apache.ibatis.builder.ParameterExpression.parse(ParameterExpression.java:44) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.ParameterExpression.<init>(ParameterExpression.java:39) [mybatis3.4.4.jar:3.4.4]atorg.apache.ibatis.builder.SqlSourceBuilderParameterMappingTokenHandler.parseParameterMapping(SqlSourceBuilder.java:128) ~[mybatis-3.4.4.jar:3.4.4]
… 88 common frames omitted