logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Idea新建maven项目没有webapp目录

IDEA新建maven项目没有webapp目录1、在项目上右键 》open module settings2、在Modules模块中,增加web配置。3、设置web根目录和web.xml文件所在位置。4、结果如下图:...

#idea
IDEA Maven project: 'xxx/pom.xml' already exists in VFS

pom.xml’ already exists in VFS1、删除之前新建的项目2、报错Maven project: ‘xxx/pom.xml’ already exists in VFS3、解决办法:1.通过idea打开任意一个项目2.File > Invalidate Caches / Restart …3.点击“Invalidate and Restart”重要提...

#idea
mybatis-plus 查询hive数据库报错Required field ‘type‘ is unset

org.apache.thrift.protocol.TProtocolException: Required field 'type' is unset! Struct:TPrimitiveTypeEntry(type:null

#apache#hive#java
SpringBoot项目,Loading class com.mysql.jdbc.Driver'. This is deprecated.

Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is

#mysql
kafka启动报错Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073

kafka启动报错在Linux服务器上第一次搭建kafka环境,启动时报错,大概意思是内存不足。Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12..

#kafka
Mybatis查询数据部分字段显示为null,怎么转成空串("")

Mybatis查询数据部分字段显示为null,怎么转成空串("")1、先定义一个handler,来把字段为null的转成空串("")2、在Mapper.xml中,把可能为空的字段,加上typeHandler属性,指定处理的handler类的全路径。CustomStringTypeHandler.javapackage com.wang.common.mybatis.handler;im...

#mybatis
wmware虚拟机centos7 忘记root密码,如何重置

我在虚拟机安装了centOS7,但是忘记了root密码,登录的时候发现登录不上了,然后重新修改密码1、重启虚拟机2、进入到该页面之后,选中第一个(高亮显示即为选中)选项,然后按下键盘的“E”键3、进入到初始化脚本编辑页面,该脚本有两页,用下键向下拉,直到最后两行4、光标拉到最后两行需要加入一些文字shgb后面加入下面这一行文字rwLANG=\zh_CN.UTF-8(我安装的是中文版的,也有可能你的

#centos
到底了