
java web
XIE_QAID
java后端
展开
-
idea设置运行参数
如图所示,可以在VM选项设置运行的参数。原创 2020-08-04 10:06:47 · 639 阅读 · 0 评论 -
Ubuntu18.04安装RabbitMq最新版本方法---官方推荐方法
1 安装运行如下脚本安装即可。官网推荐安装方法地址#!/bin/sh## If sudo is not available on the system,## uncomment the line below to install it# apt-get install -y sudosudo apt-get update -y## Install prerequisites...原创 2020-03-31 13:03:25 · 1163 阅读 · 1 评论 -
@SelectKey在springboot整合Mybatis时总是返回1
问题:我们想在插入一条数据后同时能够返回这条数据在表中的id,Mybatis提供了@SelectKey注解。t_user 为数据表,主键自增SelectKey的四个属性:keyColumn:插入数据以后,要返回的内容在数据表t_user中对应的字段名称keyProperty:指定返回的id映射到bean中的哪个属性(这里是user中的id),before=false:表示这个sele...原创 2020-03-28 10:51:02 · 1075 阅读 · 1 评论 -
解决maven:Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin3.7.1问题
问题最近用使用maven 构建springboot项目时发现maven-clean-plugin3.7.0标红,以前遇到这个问题直接修改pom里这个pugin的版本号,降低版本号解决,但是springboot项目.pom文件不能直接修改。这首由于maven可能默认用jdk1.4来解析,导致出现无法解析的问题。IDEA环境下的解决办法打开setting–>Maven:然后到指定se...原创 2020-03-18 22:29:05 · 3238 阅读 · 1 评论 -
转:解决java显示在页面的时间与mysql中不一致的问题
问题:在创建数据库时,使用了timestamp时间,java从数据库中读出时间再转换成Stringpublic NewsData(News news, int id, String typeName){ this.news = news; this.id = id; this.typeName=typeName; //日期转为St...原创 2020-03-02 22:47:36 · 746 阅读 · 0 评论 -
关于maven自动部署到tomcat问题Cannot invoke Tomcat manager
这个博文或许能解决问题亲测有用原创 2019-12-20 00:18:36 · 552 阅读 · 0 评论 -
Intellij Idea 2017创建web项目及tomcat部署实战
这个博客,非常好!原创 2019-11-14 23:00:21 · 157 阅读 · 0 评论