原创 豆瓣 URLError:

import urllib.request as urlrequest  #import ssl #ssl._create_default_http

原创 電影網站增刪改查-3 spring boots/MVC/neo4j/thymeleaf 源碼分析 thymeleaf 配置

前提 1. 添加依賴  <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymelea

原创 電影網站增刪改查-7 spring boots/MVC/neo4j/thymeleaf 電影修改

<a class="c-50a73f mlr-6" href="javascript:void(0)" οnclick="edit(\''+ v.id+'\')">修改</a> 通過jquery HTTP get 方法:

原创 電影網站增刪改查-5 spring boots/MVC/neo4j/thymeleaf 源碼分析 查詢電影分頁

首先   熟悉webUI 下面的目錄, 包括 controller 和 view , VIEW 裏面的 static 靜態目錄包含 CSS 和JS 和圖片, templates 下面是根據模塊功能劃分VIEW 展示電影信息內容 <t

原创 電影網站增刪改查-6 spring boots/MVC/neo4j/thymeleaf 源碼分析 電影刪除

雙節歸來,接着上一篇 fillData(data)填充 <a class="c-50a73f mlr-6" href="javascript:void(0)" οnclick="del(\''+ v.id+'\')">刪除</a>

原创 使用IDEA ULTIMATE 2017.5創建Maven 項目

1.項目新建選擇maven , 2. groupid  , artifactid 必輸 3.輸入name, loaction ,即可完成

原创 spring boots 配置neo4j 主要步驟

1.neo4j依賴 spring-data-neo4j jackson-jsog 2.節點和關係實體建模 @JsonIdentityInfo  防止

原创 Maven 連接ORACLE 數據庫最後還是沒搞定,過程記錄一下

1.ojdbc6.jar首先放到這個目錄 : 2. CD C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\plugins\maven\lib\maven2\bin> 3.mvn in

原创 Spring Boots &mybatis連接數據庫配置步驟

1. 5個包 放到 POM <!--mybatis --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifact

原创 電影網站增刪改查-4 spring boots/MVC/neo4j/thymeleaf 源碼分析 實現View 新增過程

以movie新增爲例, 使用thymeleaf 框架 ,預先定義好layout.html: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" conten

原创 spring boots JPA 使用MYSQL

steps: 1.實體建模 entity 2.持久化 Repository configuration: 1.maven 依賴 data-jpa and mysql-connector-java 2.JPA配置類繼承於接口 JpaCo

原创 create users and grant privilages

--drop table users --            drop tablespace javatest create tablespac

原创 Mysql :Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

Mysql :Can't open the mysql.plugin table. Please run mysql_upgrade to create it. MySQL 服務正在啓動 . MySQL 服務無法啓動。 系統出錯。發生系

原创 mysql綠色版(*.ZIP)在windows系統中的啓動

mysql綠色版在windows系統中的啓動 1、下載mysql免安裝版 例如:mysql-5.7.11-winx64 2、修改配置文件,my-de

原创 spring boots 持久化 報錯

Caused by: org.springframework.beans.factory.BeanCreationException: Error