![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
暗夜潜行
这个作者很懒,什么都没留下…
展开
-
mybatis-generator-maven-plugin:1.3.7 报 Either set the home directory in the configuration dialog or
错误 :Error running 'mybatis-demo [org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate]': No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.原创 2021-02-02 00:40:41 · 537 阅读 · 0 评论 -
http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd 爆红
1、下载http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd,放入到指定文件夹2、打开url 输入http://mybatis.org/dtd/mybatis-generator-config_1_0.dtdfile 输入 刚刚存放的文件原创 2021-02-02 00:34:24 · 272 阅读 · 0 评论 -
spring --使用注解管理对象
1、导包2、在applicationContext.xml文件中启动注解<!-- 指定扫描cn.ccnu.cs报下的所有类中的注解. 注意:扫描包时.会扫描指定报下的所有子孙包 --><context:component-scan base-package="cn.ccnu.cds"></context:component-scan><!-- 指定...原创 2018-05-09 18:27:31 · 400 阅读 · 0 评论 -
struts2-spring-hibernate 整合
1、导包2、配置struts.xml<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2....原创 2018-05-10 23:11:54 · 123 阅读 · 0 评论