Ubuntu 安装 Tomcat 1.官网下载Tomcat压缩包到本地(我装的是Tomcat8.5)https://tomcat.apache.org/download-80.cgi2.利用Xftp 或 Bitvise SSH Client 工具上传到Ubuntu3.上传完成后,进入该文件目录,使用如下命令解压:sudo tar -zxvf tomcat8.tar.gz完成后目录下会多一个tomcat8的文件夹4.将该文件夹移...
Ubuntu16.04安装JDK8 简单的安装方法 安装JDK的最简单方法应该就是使用apt-get来安装了 1.打开终端 2.更新系统安装包缓存,并且安装OpenJDK8 sudo apt-get update sudo apt-get install openjdk-8-jdk 3.如果你系统中存在多个版本的JDK,使用下列命令设置一个默认的JDK sudo update-alternatives -...
Ubuntu 16.04下安装MySQL 首先执行下面三条命令:sudo apt-get install mysql-serversudo apt isntall mysql-clientsudo apt install libmysqlclient-dev安装成功后可以通过下面的命令测试是否安装成功:sudo netstat -tap | grep mysql出现如下信息证明安装成功:可以通过如下命令进入MySQL服务:mysql -u...
String 、StringBuffer、 StringBuilder 的区别 1.从执行速度上来说 StringBuilder > StringBuffer > String String ------->字符串常量 (每次都要创建一个新的)StringBuffer ------->字符串变量 (不需要每次都创建一个新的)StringBuilder ------->字符串变量 (不需要每次都创...
redis 异常 redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured to redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. ...
windows下 mysql Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too lar 的问题 Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too lar解决办法: 找到mysql安装目录 下的 my.ini 文件 修改 其 [mysql] 配置项中 max_allowed_packet = 1M (可能没有,加上就行) 修改为4M 然后重新启动 mysql 服务 就好了。...
org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.util.Ar 15:44:02,211 DEBUG TypeConverterDelegate:296 - Original ConversionService attempt failed - ignored since PropertyEditor based conversion eventually succeededorg.springframework.core.convert.Conversion...
Java初学之HelloWord public class HeloWord{ public static void main(String [] args){ System.out.println("Hello Word !"); }}