发表于: 2017-05-30 21:05:19
1 994
今天完成的事:
上午把mybatis使用注解方式对数据库CRUD复习了一遍。后面在学习SSM。
明日计划:
继续学习SSM。
遇到的问题:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
spring-mybatis.xml中会遇到上文加粗部分报错,显示为红色,看了下pom.xml文件,发现spring-webmvc忘记配了,之前一直以为这部分是死的,只用照着写就行,没想到。。。
收获:
评论