myeclipse报错:Open quote is expected for attribute “{1}” associated with an element type “id”.
今天在写完UserDao.xml文件后,运行tomcat一直报错,看了逻辑都没有错,找了很久才找到原来是在写id的时候少加了双引号。
对,就是有点粗心漏了双引号!!!!
以下是正确的:
myeclipse报错:Open quote is expected for attribute “{1}” associated with an element type “id”.
今天在写完UserDao.xml文件后,运行tomcat一直报错,看了逻辑都没有错,找了很久才找到原来是在写id的时候少加了双引号。
对,就是有点粗心漏了双引号!!!!
以下是正确的: