摘要: web.xml文件配置 配置springMVC:扫描包,解析器,加载静态功能和注解功能 配置spring文件:扫描包,配置dataSource,配饰japEntityFactory等等..jpa的基本配置,事务,jpa管理器,springData 阅读全文
posted @ 2017-12-19 17:20 筱小Q 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 引入需要的jar包 在Web.xml配置文件中添加关于SpringMVC的配置 在src下添加springmvc.xml配置文件 在WEB-INF文件夹下创建名为jsp的文件夹,用来存放jsp视图。创建一个hello.jsp,在body中添加“Hello World”。 编写Controller 详 阅读全文
posted @ 2017-12-19 16:57 筱小Q 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 错误1 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory': Failed to introspect bean class [or 阅读全文
posted @ 2017-12-19 14:33 筱小Q 阅读(301) 评论(0) 推荐(0) 编辑
摘要: help->Eclipse Marketplace安装插件 1 ,Spring Tool Suit (STS) 2, Hibernate Tools 将这两个插件安装好,再输入class名就会有提示 windows-->preference 搜索 xml >xmlcatalog 点击add ,在出现 阅读全文
posted @ 2017-12-19 11:06 筱小Q 阅读(769) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-19 10:46 筱小Q 阅读(145) 评论(0) 推荐(0) 编辑