Javaee_ssm_ Error _open quote is expected for attribute ' property ' associated with an Element__mybatis

Source: Internet
Author: User
Tags tomcat server

Error reported when Tomcat server was started

 org.springframework.beans.factory.beancreationexception: error creating bean with  name  ' Faqformservice '  defined in file [d:\soft\tomcat5.5-rcmt\webapps\rcmt\ web-inf\classes\meta-inf\spring\rcmt-message-srvc.xml]: cannot create inner bean  ' Uhr.rcmt.message.srvc.faqformservice#1aedbde '  of type [uhr.rcmt.message.srvc.faqformservice]  while setting bean property  ' target '; nested exception is  org.springframework.beans.factory.beancreationexception: error creating bean with  name  ' Uhr.rcmt.message.srvc.faqformservice#1aedbde '  defined in file [d:\soft\ Tomcat5.5-rcmt\webapps\rcmt\web-inf\classes\meta-inf\spring\rcmt-message-srvc.xml]: cannot resolve  reference to bean  ' Faqdao '  while setting bean property  ' Faqdao ';  nested exception is org.springframework.beans.factory.beancreationexception: error creating bean with  name  ' Faqdao '  defined in file [d:\soft\tomcat5.5-rcmt\webapps\rcmt\web-inf\classes\ meta-inf\spring\rcmt-message-dao.xml]: cannot resolve reference to bean  ' Sqlmapclient '  while setting bean property  ' sqlmapclient ';  nested exception  is org.springframework.beans.factory.beancreationexception: error creating bean  with name  ' Sqlmapclient '  defined in file [d:\soft\tomcat5.5-rcmt\webapps\ rcmt\web-inf\classes\meta-inf\spring\common-sqlmap.xml]: invocation of init method  failed; nested exception is java.lang.runtimeexception: error occurred.   cause: com.ibatis.common.xml.nodeletexception: error parsing xml.  cause:  java.lang.runtimeexception:&nBsp error parsing xpath  '/sqlmapconfig/sqlmap ' .  cause:  com.ibatis.common.xml.nodeletexception: error parsing xml.  cause:  org.xml.sax.saxparseexception: open quote is expected for attribute  " Property '  associated with an  element type   ' result '.

A lot, but really useful is the last sentence, because the last sentence raises a series of questions ahead.

The Open quote is expected the For attribute ' property ' associated with an element type ' result '.


For a long time, sqlmapconfig, sping XML and other configuration files, eventually found the problem in the Ibatis database configuration file

Wrong wording:
<result column= "Wor_resume_tangent_scale_" Property=resumetangentscale/>

Correct wording

<result column= "Wor_resume_tangent_scale_" property= "Resumetangentscale"/>

I'm missing double quotes in the property.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.