黑马代码生成器的使用

项目一定要放在英文路径下,否则运行报错
1.把通过maven的+号,把项目导入到父项目下面
黑马代码生成器的使用_第1张图片
2.修改里面的 application.properties
改包名,数据库信息,

#pojo\u5305\u8DEF\u5F84
pojoPackage=com.changgou.goods.pojo
#Dao\u5305\u8DEF\u5F84
mapperPackage=com.changgou.goods.dao
#service\u63A5\u53E3\u5305\u8DEF\u5F84
serviceInterfacePackage=com.changgou.goods.service
#service\u63A5\u53E3\u5B9E\u73B0\u7C7B\u5305\u8DEF\u5F84
serviceInterfaceImplPackage=com.changgou.goods.service.impl
#controller\u5305\u8DEF\u5F84
controllerPackage=com.changgou.goods.controller
#feign\u5305\u8DEF\u5F84
feignPackage=com.changgou.goods.feign
#\u662F\u5426\u542F\u7528swagger(\u76EE\u524D\u53EA\u505A\u4E86Pojo\u751F\u6210)
enableSwagger=true
#swagger-ui\u7684\u8DEF\u5F84
swaggeruipath=com.changgou.swagger
#\u670D\u52A1\u540D\u5B57
serviceName=goods

#\u6570\u636E\u6E90\u914D\u7F6E
url=jdbc:mysql://192.168.14.206:3306/changgou_goods?useUnicode=true&characterEncoding=utf-8&useSSL=false
uname=root
pwd=root
driver=com.mysql.jdbc.Driver

你可能感兴趣的:(开发工具)