原创 阿里雲centos設置tomcat開機啓動

1. 安裝jdk …… 2. 安裝tomcat …… 3. 在centos的/etc/init.d/目錄下新建個文件 tomcat-smartweb  配置如下(沒有該文件就從服務器中下載一個改名字和重新編輯) #!/bin/bash

原创 Springboot 使用mysql-connector-java8.0鏈接報錯解決

錯誤提示: This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered vi

原创 springboot2.0中使用jsp

pom中新增依賴 <!--引入springboot 內嵌tomcat對jsp的解析包 --> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifa

原创 JAVA 生成唯一短UUID

public static String[] chars = new String[] { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n",

原创 java創建對象的幾種方式

1.常見的使用newUser user = new User();2.使用Class的newInstanceUser user = (User) Class.forName("com.entity.User

原创 eclipse 安裝springboot插件STS spring-tool-suite

1.查看eclipse版本  help ==》eclipse Marktplace 2.點擊 instaled 一路安裝即可 安裝好了會提示重啓eclipse下次新建項目就可以直接選spring了