Loading

摘要: vituralbox 使用的桥接模式 手动指定静态ip vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 ◆将ONBOOT=no改为ONBOOT=yes ◆将BOOTPROTO=dhcp改为BOOTPROTO=static ◆增加IPADDR(IPv4): 阅读全文
posted @ 2020-08-08 23:57 landfill 阅读(513) 评论(0) 推荐(0)
摘要: 针对CentOS,其最小化安装已经不会包含ifconfig和netstat相关的网络工具了。 解决方法有几个: 确认路径 首先,最基本的就是看下是否有该指令,使用find find -name "ipconfig" 如果发现了,则将其添加到PATH环境变量中。当然可以直接去bin和sbin目录下看下 阅读全文
posted @ 2020-08-08 23:52 landfill 阅读(192) 评论(0) 推荐(0)
摘要: 问题: IDEA maven 项目编译忽略xml文件,在target/classes路径下没有xml。、 解决: 在pom中添加build标签的resource 指定的要加入的xml等配置文件 <build> <resources> <!-- mapper.xml文件在java目录下 --> <re 阅读全文
posted @ 2020-08-08 17:43 landfill 阅读(1700) 评论(1) 推荐(0)
摘要: Mybatis Generator 路径和实体类要放的路径不一致。会出现一系列的错误。手动修改alias也还是会报错,直接重新生成 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Fact 阅读全文
posted @ 2020-08-08 17:40 landfill 阅读(1496) 评论(0) 推荐(0)