💻已部署

This commit is contained in:
WuLiZeng 2021-02-27 23:52:25 +08:00
parent 985927b677
commit 3f008d45df
31 changed files with 10153 additions and 414 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -21,6 +21,8 @@
[一言 hitokoto](https://hitokoto.cn/)
[百度统计](https://tongji.baidu.com/web/30949752/welcome/login)
[编辑器 Markdown](https://pandao.github.io/editor.md/)
[内容排版 typo.css](https://github.com/sofish/typo.css)
@ -45,9 +47,14 @@
### **🧑🏼‍💻工具与环境**
- CentOS
- 宝塔面板
- FinalShell
* IDEA
* Maven 3
* JDK 8
* MySQL5.7
* JDK 1.8
### 👀截图

View File

@ -1,12 +1,412 @@
2021-02-12 21:08:53.123 INFO 48499 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 48499 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-12 21:08:53.124 INFO 48499 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-12 21:08:53.796 WARN 48499 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-12 21:08:54.029 WARN 48499 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-12 21:08:54.129 WARN 48499 --- [restartedMain] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2021-02-12 21:08:54.195 INFO 48499 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 1.272 seconds (JVM running for 1.677)
2021-02-12 21:09:20.700 INFO 48527 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 48527 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-12 21:09:20.701 INFO 48527 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-12 21:09:21.416 WARN 48527 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-12 21:09:21.655 WARN 48527 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-12 21:09:21.761 WARN 48527 --- [restartedMain] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2021-02-12 21:09:21.836 INFO 48527 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 1.329 seconds (JVM running for 1.611)
2021-02-27 18:17:00.921 INFO 83695 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 83695 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-27 18:17:00.923 INFO 83695 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-27 18:17:01.751 WARN 83695 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-27 18:17:02.724 WARN 83695 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-27 18:17:03.045 INFO 83695 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.32 seconds (JVM running for 2.6)
2021-02-27 18:17:57.844 INFO 83695 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-27 18:17:57.844 INFO 83695 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-27 18:17:57.904 WARN 83695 --- [http-nio-8081-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-27 18:17:57.912 WARN 83695 --- [http-nio-8081-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-27 18:17:57.915 INFO 83695 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-27 18:17:57.916 INFO 83695 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-27 18:18:06.047 INFO 83695 --- [http-nio-8081-exec-5] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-27 18:18:06.047 INFO 83695 --- [http-nio-8081-exec-5] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/types/-1', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.TypeShowController.types', args=[-1, Page request [number: 0, size 8, sort: updateTime: DESC], {}]}
2021-02-27 18:18:06.061 INFO 83695 --- [http-nio-8081-exec-5] com.hailin.beizhai.aspect.LogAspect : Result:types
2021-02-27 18:18:06.061 INFO 83695 --- [http-nio-8081-exec-5] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-27 19:13:08.198 INFO 86643 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 86643 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-27 19:13:08.199 INFO 86643 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-27 19:13:10.018 WARN 86643 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-27 19:13:10.326 INFO 86643 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.334 seconds (JVM running for 2.78)
2021-02-27 19:13:27.649 INFO 86643 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-27 19:13:27.649 INFO 86643 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-27 19:13:27.712 WARN 86643 --- [http-nio-8081-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-27 19:13:27.719 WARN 86643 --- [http-nio-8081-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-27 19:13:27.723 INFO 86643 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-27 19:13:27.723 INFO 86643 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-27 19:15:10.889 INFO 86767 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 86767 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-27 19:15:10.889 INFO 86767 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-27 19:15:12.612 WARN 86767 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-27 19:15:12.910 INFO 86767 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.219 seconds (JVM running for 2.705)
2021-02-27 19:15:24.821 INFO 86767 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-27 19:15:24.821 INFO 86767 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-27 19:15:24.875 WARN 86767 --- [http-nio-8081-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-27 19:15:24.882 WARN 86767 --- [http-nio-8081-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-27 19:15:24.886 INFO 86767 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-27 19:15:24.886 INFO 86767 --- [http-nio-8081-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-27 22:56:04.088 INFO 95380 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 95380 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-27 22:56:04.090 INFO 95380 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-27 22:56:04.999 WARN 95380 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-27 22:56:05.970 WARN 95380 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-27 22:56:06.293 INFO 95380 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.426 seconds (JVM running for 2.72)
2021-02-27 23:28:41.517 INFO 97529 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 97529 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-27 23:28:41.520 INFO 97529 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-27 23:28:42.974 WARN 97529 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-27 23:28:44.161 ERROR 97529 --- [restartedMain] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255)
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at com.hailin.beizhai.BeizhaiApplication.main(BeizhaiApplication.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
2021-02-27 23:28:44.162 WARN 97529 --- [restartedMain] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255)
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at com.hailin.beizhai.BeizhaiApplication.main(BeizhaiApplication.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
2021-02-27 23:28:44.163 ERROR 97529 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
2021-02-27 23:28:44.164 WARN 97529 --- [restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
2021-02-27 23:28:44.184 ERROR 97529 --- [restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at com.hailin.beizhai.BeizhaiApplication.main(BeizhaiApplication.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255)
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784)
... 22 common frames omitted
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100)
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
... 39 common frames omitted
2021-02-27 23:30:41.683 INFO 97571 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 97571 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-27 23:30:41.684 INFO 97571 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-27 23:30:41.882 WARN 97571 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-27 23:30:42.920 ERROR 97571 --- [restartedMain] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Exception during pool initialization.
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255)
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at com.hailin.beizhai.BeizhaiApplication.main(BeizhaiApplication.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
2021-02-27 23:30:42.920 WARN 97571 --- [restartedMain] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255)
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at com.hailin.beizhai.BeizhaiApplication.main(BeizhaiApplication.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
2021-02-27 23:30:42.920 ERROR 97571 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
2021-02-27 23:30:42.921 WARN 97571 --- [restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
2021-02-27 23:30:42.927 ERROR 97571 --- [restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at com.hailin.beizhai.BeizhaiApplication.main(BeizhaiApplication.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1224)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1255)
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1847)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1784)
... 22 common frames omitted
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100)
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
... 39 common frames omitted

View File

@ -0,0 +1,12 @@
2021-02-12 21:08:53.123 INFO 48499 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 48499 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-12 21:08:53.124 INFO 48499 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-12 21:08:53.796 WARN 48499 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-12 21:08:54.029 WARN 48499 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-12 21:08:54.129 WARN 48499 --- [restartedMain] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2021-02-12 21:08:54.195 INFO 48499 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 1.272 seconds (JVM running for 1.677)
2021-02-12 21:09:20.700 INFO 48527 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 48527 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-12 21:09:20.701 INFO 48527 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: pro
2021-02-12 21:09:21.416 WARN 48527 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-12 21:09:21.655 WARN 48527 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-12 21:09:21.761 WARN 48527 --- [restartedMain] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2021-02-12 21:09:21.836 INFO 48527 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 1.329 seconds (JVM running for 1.611)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,406 @@
2021-02-19 15:36:39.138 INFO 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 54637 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 15:36:39.142 DEBUG 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 15:36:39.142 INFO 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 15:36:39.174 INFO 54637 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-19 15:36:39.174 INFO 54637 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-19 15:36:39.549 INFO 54637 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 15:36:39.582 INFO 54637 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 5 JPA repository interfaces.
2021-02-19 15:36:39.952 INFO 54637 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 15:36:39.958 INFO 54637 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 15:36:39.958 INFO 54637 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 15:36:40.022 INFO 54637 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 15:36:40.023 INFO 54637 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 848 ms
2021-02-19 15:36:40.137 INFO 54637 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 15:36:40.165 INFO 54637 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-19 15:36:40.228 INFO 54637 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-19 15:36:40.276 INFO 54637 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-19 15:36:40.277 WARN 54637 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 15:36:40.511 INFO 54637 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-19 15:36:40.519 INFO 54637 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 15:36:40.865 INFO 54637 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 15:36:40.869 INFO 54637 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:36:40.897 INFO 54637 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2021-02-19 15:36:41.431 WARN 54637 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 15:36:41.523 INFO 54637 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 15:36:41.581 INFO 54637 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 15:36:41.775 INFO 54637 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-02-19 15:36:41.781 INFO 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.967 seconds (JVM running for 3.541)
2021-02-19 15:43:55.843 INFO 54637 --- [Thread-8] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 15:43:55.844 INFO 54637 --- [Thread-8] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:43:55.848 INFO 54637 --- [Thread-8] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-19 15:43:55.851 INFO 54637 --- [Thread-8] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2021-02-19 15:43:55.981 INFO 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 54637 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 15:43:55.981 DEBUG 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 15:43:55.981 INFO 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 15:43:55.994 INFO 55539 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 55539 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 15:43:55.995 DEBUG 55539 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 15:43:55.995 INFO 55539 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 15:43:56.016 INFO 55539 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-19 15:43:56.016 INFO 55539 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-19 15:43:56.076 INFO 54637 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 15:43:56.087 INFO 54637 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 5 JPA repository interfaces.
2021-02-19 15:43:56.179 INFO 54637 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 15:43:56.180 INFO 54637 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 15:43:56.180 INFO 54637 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 15:43:56.185 INFO 54637 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 15:43:56.185 INFO 54637 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 202 ms
2021-02-19 15:43:56.228 INFO 54637 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 15:43:56.231 INFO 54637 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting...
2021-02-19 15:43:56.231 WARN 54637 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 15:43:56.258 INFO 54637 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed.
2021-02-19 15:43:56.259 INFO 54637 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 15:43:56.338 INFO 54637 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 15:43:56.339 INFO 54637 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:43:56.358 INFO 54637 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2021-02-19 15:43:56.422 INFO 55539 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 15:43:56.456 INFO 55539 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 30 ms. Found 5 JPA repository interfaces.
2021-02-19 15:43:56.615 WARN 54637 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 15:43:56.694 INFO 54637 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 15:43:56.725 INFO 54637 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 15:43:56.844 INFO 55539 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 15:43:56.845 INFO 54637 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-02-19 15:43:56.848 INFO 54637 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 0.894 seconds (JVM running for 438.617)
2021-02-19 15:43:56.850 INFO 54637 --- [restartedMain] .ConditionEvaluationDeltaLoggingListener : Condition evaluation unchanged
2021-02-19 15:43:56.851 INFO 55539 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 15:43:56.851 INFO 55539 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 15:43:56.888 INFO 55539 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 15:43:56.888 INFO 55539 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 872 ms
2021-02-19 15:43:56.990 INFO 55539 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 15:43:57.008 INFO 55539 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-19 15:43:57.055 INFO 55539 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-19 15:43:57.097 INFO 55539 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-19 15:43:57.097 WARN 55539 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 15:43:57.270 INFO 55539 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-19 15:43:57.278 INFO 55539 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 15:43:57.616 INFO 55539 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 15:43:57.620 INFO 55539 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:43:57.650 WARN 55539 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : Unable to start LiveReload server
2021-02-19 15:43:58.147 WARN 55539 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 15:43:58.233 INFO 55539 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 15:43:58.283 INFO 55539 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 15:43:58.444 WARN 55539 --- [restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
2021-02-19 15:43:58.444 INFO 55539 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 15:43:58.445 INFO 55539 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:43:58.447 INFO 55539 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-19 15:43:58.449 INFO 55539 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2021-02-19 15:43:58.450 INFO 55539 --- [restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-02-19 15:43:58.456 INFO 55539 --- [restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-02-19 15:43:58.472 ERROR 55539 --- [restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
2021-02-19 15:44:01.409 INFO 54637 --- [http-nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [1613542153; JSESSIONID=632E0BBD82A9F75FFFD075942520EC0F; CNZZDATA1279096621=1786622301-1610242524-%7C1613700147; Hm_lpvt_a71f3b21244c8401ed833cf8a95be732=1613701378] that contained an invalid cookie. That cookie will be ignored.
Note: further occurrences of this error will be logged at DEBUG level.
2021-02-19 15:44:01.413 INFO 54637 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-02-19 15:44:01.413 INFO 54637 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-02-19 15:44:01.414 INFO 54637 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2021-02-19 15:44:01.433 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:44:01.433 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 15:44:01.486 WARN 54637 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-19 15:44:01.491 WARN 54637 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-19 15:44:01.494 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 15:44:01.494 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:44:05.717 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:44:05.718 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:44:05.721 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:44:05.722 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:45:48.072 INFO 55767 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 55767 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 15:45:48.073 DEBUG 55767 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 15:45:48.073 INFO 55767 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 15:45:48.092 INFO 55767 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-19 15:45:48.092 INFO 55767 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-19 15:45:48.439 INFO 55767 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 15:45:48.465 INFO 55767 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 5 JPA repository interfaces.
2021-02-19 15:45:48.768 INFO 55767 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 15:45:48.772 INFO 55767 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 15:45:48.772 INFO 55767 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 15:45:48.824 INFO 55767 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 15:45:48.824 INFO 55767 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 731 ms
2021-02-19 15:45:48.891 INFO 55767 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 15:45:48.907 INFO 55767 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-19 15:45:48.947 INFO 55767 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-19 15:45:48.982 INFO 55767 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-19 15:45:48.983 WARN 55767 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 15:45:49.151 INFO 55767 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-19 15:45:49.158 INFO 55767 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 15:45:49.480 INFO 55767 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 15:45:49.508 INFO 55767 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:45:49.535 WARN 55767 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : Unable to start LiveReload server
2021-02-19 15:45:49.983 WARN 55767 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 15:45:50.085 INFO 55767 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 15:45:50.144 INFO 55767 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 15:45:50.300 WARN 55767 --- [restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
2021-02-19 15:45:50.301 INFO 55767 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 15:45:50.302 INFO 55767 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:45:50.303 INFO 55767 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-19 15:45:50.305 INFO 55767 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2021-02-19 15:45:50.306 INFO 55767 --- [restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-02-19 15:45:50.312 INFO 55767 --- [restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-02-19 15:45:50.318 ERROR 55767 --- [restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
2021-02-19 15:45:51.875 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:45:51.875 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:45:51.876 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:45:51.876 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:45:53.633 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:45:53.633 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:45:53.633 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:45:53.633 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:45:54.694 INFO 54637 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:45:54.694 INFO 54637 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:45:54.694 INFO 54637 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:45:54.694 INFO 54637 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:45:55.461 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:45:55.462 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:45:55.462 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:45:55.462 INFO 54637 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:46:08.496 INFO 55816 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 55816 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 15:46:08.497 DEBUG 55816 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 15:46:08.497 INFO 55816 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 15:46:08.514 INFO 55816 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-19 15:46:08.514 INFO 55816 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-19 15:46:08.798 INFO 55816 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 15:46:08.827 INFO 55816 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 5 JPA repository interfaces.
2021-02-19 15:46:09.125 INFO 55816 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 15:46:09.130 INFO 55816 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 15:46:09.130 INFO 55816 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 15:46:09.177 INFO 55816 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 15:46:09.177 INFO 55816 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 662 ms
2021-02-19 15:46:09.241 INFO 55816 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 15:46:09.255 INFO 55816 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-19 15:46:09.291 INFO 55816 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-19 15:46:09.320 INFO 55816 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-19 15:46:09.321 WARN 55816 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 15:46:09.487 INFO 55816 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-19 15:46:09.494 INFO 55816 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 15:46:09.804 INFO 55816 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 15:46:09.808 INFO 55816 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:46:09.838 WARN 55816 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : Unable to start LiveReload server
2021-02-19 15:46:10.342 WARN 55816 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 15:46:10.434 INFO 55816 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 15:46:10.489 INFO 55816 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 15:46:10.634 WARN 55816 --- [restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
2021-02-19 15:46:10.635 INFO 55816 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 15:46:10.635 INFO 55816 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:46:10.637 INFO 55816 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-19 15:46:10.639 INFO 55816 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2021-02-19 15:46:10.640 INFO 55816 --- [restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-02-19 15:46:10.645 INFO 55816 --- [restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-02-19 15:46:10.659 ERROR 55816 --- [restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
2021-02-19 15:46:43.822 INFO 54637 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:46:43.822 INFO 54637 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:46:43.822 INFO 54637 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:46:43.822 INFO 54637 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:46:44.664 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:46:44.664 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:46:44.665 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:46:44.665 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:47:03.317 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:47:03.317 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 15:47:03.339 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 15:47:03.340 INFO 54637 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:47:05.611 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:47:05.611 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:47:05.612 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:47:05.612 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:48:09.223 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:48:09.224 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 15:48:09.246 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 15:48:09.247 INFO 54637 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:51:15.911 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:51:15.911 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 15:51:15.932 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 15:51:15.932 INFO 54637 --- [http-nio-8080-exec-5] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:51:56.586 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:51:56.586 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 15:51:56.606 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 15:51:56.606 INFO 54637 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:52:37.852 INFO 54637 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 15:52:37.855 INFO 54637 --- [SpringContextShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:52:37.856 INFO 54637 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated...
2021-02-19 15:52:37.864 INFO 54637 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed.
2021-02-19 15:53:46.756 INFO 56788 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 56788 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 15:53:46.757 DEBUG 56788 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 15:53:46.757 INFO 56788 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 15:53:46.776 INFO 56788 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-19 15:53:46.776 INFO 56788 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-19 15:53:47.109 INFO 56788 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 15:53:47.140 INFO 56788 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 5 JPA repository interfaces.
2021-02-19 15:53:47.509 INFO 56788 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 15:53:47.513 INFO 56788 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 15:53:47.513 INFO 56788 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 15:53:47.567 INFO 56788 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 15:53:47.567 INFO 56788 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 790 ms
2021-02-19 15:53:47.638 INFO 56788 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 15:53:47.659 INFO 56788 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-19 15:53:47.706 INFO 56788 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-19 15:53:47.743 INFO 56788 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-19 15:53:47.743 WARN 56788 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 15:53:47.919 INFO 56788 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-19 15:53:47.927 INFO 56788 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 15:53:48.251 INFO 56788 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 15:53:48.254 INFO 56788 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 15:53:48.280 INFO 56788 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2021-02-19 15:53:48.745 WARN 56788 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 15:53:48.828 INFO 56788 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 15:53:48.878 INFO 56788 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 15:53:49.032 INFO 56788 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-02-19 15:53:49.038 INFO 56788 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.528 seconds (JVM running for 3.074)
2021-02-19 15:53:54.334 INFO 56788 --- [http-nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [1613542153; JSESSIONID=632E0BBD82A9F75FFFD075942520EC0F; CNZZDATA1279096621=1786622301-1610242524-%7C1613700147; Hm_lpvt_a71f3b21244c8401ed833cf8a95be732=1613701378] that contained an invalid cookie. That cookie will be ignored.
Note: further occurrences of this error will be logged at DEBUG level.
2021-02-19 15:53:54.339 INFO 56788 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-02-19 15:53:54.339 INFO 56788 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-02-19 15:53:54.340 INFO 56788 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2021-02-19 15:53:54.357 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:53:54.357 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 15:53:54.404 WARN 56788 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-19 15:53:54.418 WARN 56788 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-19 15:53:54.421 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 15:53:54.421 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:53:56.544 INFO 56788 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:53:56.544 INFO 56788 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:53:56.548 INFO 56788 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:53:56.548 INFO 56788 --- [http-nio-8080-exec-4] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:55:15.701 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:55:15.701 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:55:15.702 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:55:15.702 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:57:27.831 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:57:27.832 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:57:27.833 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:57:27.833 INFO 56788 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:58:11.710 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:58:11.711 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:58:11.711 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:58:11.711 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:58:46.508 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:58:46.508 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:58:46.509 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:58:46.509 INFO 56788 --- [http-nio-8080-exec-9] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 15:58:55.139 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 15:58:55.140 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 15:58:55.140 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 15:58:55.140 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:03:02.216 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:03:02.217 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/archives', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.ArchiveShowController.archives', args=[{}]}
2021-02-19 16:03:02.246 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Result:archives
2021-02-19 16:03:02.246 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:03:03.732 INFO 56788 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:03:03.733 INFO 56788 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/tags/-1', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.TagShowController.Tags', args=[-1, Page request [number: 0, size 8, sort: updateTime: DESC], {}]}
2021-02-19 16:03:03.759 INFO 56788 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Result:Tags
2021-02-19 16:03:03.759 INFO 56788 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:03:04.535 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:03:04.535 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/types/-1', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.TypeShowController.types', args=[-1, Page request [number: 0, size 8, sort: updateTime: DESC], {}]}
2021-02-19 16:03:04.557 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : Result:types
2021-02-19 16:03:04.557 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:03:05.449 INFO 56788 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:03:05.450 INFO 56788 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 16:03:05.473 INFO 56788 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 16:03:05.474 INFO 56788 --- [http-nio-8080-exec-2] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:03:29.287 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:03:29.287 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 16:03:29.287 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 16:03:29.287 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:03:57.813 INFO 56788 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:03:57.813 INFO 56788 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/about', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.AboutController.about', args=[]}
2021-02-19 16:03:57.813 INFO 56788 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : Result:about
2021-02-19 16:03:57.813 INFO 56788 --- [http-nio-8080-exec-7] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:04:00.656 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:04:00.656 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 16:04:00.675 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 16:04:00.675 INFO 56788 --- [http-nio-8080-exec-6] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:04:37.862 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:04:37.862 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/types/-1', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.TypeShowController.types', args=[-1, Page request [number: 0, size 8, sort: updateTime: DESC], {}]}
2021-02-19 16:04:37.869 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : Result:types
2021-02-19 16:04:37.869 INFO 56788 --- [http-nio-8080-exec-10] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:04:39.991 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:04:39.991 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/tags/-1', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.TagShowController.Tags', args=[-1, Page request [number: 0, size 8, sort: updateTime: DESC], {}]}
2021-02-19 16:04:40.005 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : Result:Tags
2021-02-19 16:04:40.005 INFO 56788 --- [http-nio-8080-exec-8] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:04:52.499 INFO 56788 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 16:04:52.500 INFO 56788 --- [SpringContextShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 16:04:52.503 INFO 56788 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-19 16:04:52.506 INFO 56788 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2021-02-19 16:05:38.023 INFO 58211 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 58211 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-19 16:05:38.024 DEBUG 58211 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-19 16:05:38.024 INFO 58211 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-19 16:05:38.046 INFO 58211 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-19 16:05:38.046 INFO 58211 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-19 16:05:38.325 INFO 58211 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-19 16:05:38.352 INFO 58211 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 5 JPA repository interfaces.
2021-02-19 16:05:38.649 INFO 58211 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-19 16:05:38.657 INFO 58211 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-19 16:05:38.658 INFO 58211 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-19 16:05:38.709 INFO 58211 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-19 16:05:38.709 INFO 58211 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 663 ms
2021-02-19 16:05:38.798 INFO 58211 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-19 16:05:38.818 INFO 58211 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-19 16:05:38.865 INFO 58211 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-19 16:05:38.902 INFO 58211 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-19 16:05:38.903 WARN 58211 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-19 16:05:39.063 INFO 58211 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-19 16:05:39.069 INFO 58211 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-19 16:05:39.397 INFO 58211 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-19 16:05:39.400 INFO 58211 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 16:05:39.426 INFO 58211 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2021-02-19 16:05:39.907 WARN 58211 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-19 16:05:39.987 INFO 58211 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-19 16:05:40.035 INFO 58211 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-19 16:05:40.179 INFO 58211 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-02-19 16:05:40.186 INFO 58211 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 2.379 seconds (JVM running for 2.879)
2021-02-19 16:05:44.925 INFO 58211 --- [http-nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [1613542153; JSESSIONID=632E0BBD82A9F75FFFD075942520EC0F; CNZZDATA1279096621=1786622301-1610242524-%7C1613700147; Hm_lpvt_a71f3b21244c8401ed833cf8a95be732=1613701378] that contained an invalid cookie. That cookie will be ignored.
Note: further occurrences of this error will be logged at DEBUG level.
2021-02-19 16:05:44.929 INFO 58211 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-02-19 16:05:44.929 INFO 58211 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-02-19 16:05:44.931 INFO 58211 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2021-02-19 16:05:44.948 INFO 58211 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-19 16:05:44.948 INFO 58211 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-19 16:05:45.000 WARN 58211 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-19 16:05:45.007 WARN 58211 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-19 16:05:45.011 INFO 58211 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-19 16:05:45.011 INFO 58211 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-19 16:07:00.934 INFO 58211 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-19 16:07:00.935 INFO 58211 --- [SpringContextShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-19 16:07:00.937 INFO 58211 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-19 16:07:00.940 INFO 58211 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.

View File

@ -0,0 +1,46 @@
2021-02-20 11:08:15.856 INFO 3038 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Starting BeizhaiApplication using Java 1.8.0_275 on zhouhailindeMacBook-Air.local with PID 3038 (/Users/zhouhailin/idea-code/beizhai/target/classes started by zhouhailin in /Users/zhouhailin/idea-code/beizhai)
2021-02-20 11:08:15.858 DEBUG 3038 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Running with Spring Boot v2.4.2, Spring v5.3.3
2021-02-20 11:08:15.859 INFO 3038 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : The following profiles are active: dev
2021-02-20 11:08:15.881 INFO 3038 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-02-20 11:08:15.881 INFO 3038 --- [restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-02-20 11:08:16.216 INFO 3038 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-02-20 11:08:16.250 INFO 3038 --- [restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 28 ms. Found 5 JPA repository interfaces.
2021-02-20 11:08:16.662 INFO 3038 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-02-20 11:08:16.667 INFO 3038 --- [restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-02-20 11:08:16.667 INFO 3038 --- [restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-02-20 11:08:16.708 INFO 3038 --- [restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-02-20 11:08:16.708 INFO 3038 --- [restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 827 ms
2021-02-20 11:08:16.818 INFO 3038 --- [restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-02-20 11:08:16.847 INFO 3038 --- [restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final
2021-02-20 11:08:16.913 INFO 3038 --- [restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-02-20 11:08:16.969 INFO 3038 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-02-20 11:08:16.970 WARN 3038 --- [restartedMain] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-20 11:08:17.217 INFO 3038 --- [restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-02-20 11:08:17.226 INFO 3038 --- [restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2021-02-20 11:08:17.677 INFO 3038 --- [restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-02-20 11:08:17.681 INFO 3038 --- [restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-02-20 11:08:17.726 INFO 3038 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2021-02-20 11:08:18.507 WARN 3038 --- [restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-02-20 11:08:18.667 INFO 3038 --- [restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-02-20 11:08:18.732 INFO 3038 --- [restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-02-20 11:08:18.913 INFO 3038 --- [restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-02-20 11:08:18.919 INFO 3038 --- [restartedMain] com.hailin.beizhai.BeizhaiApplication : Started BeizhaiApplication in 3.316 seconds (JVM running for 3.859)
2021-02-20 11:08:23.410 INFO 3038 --- [http-nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [1613542153,1613789778; Hm_lpvt_a71f3b21244c8401ed833cf8a95be732=1613790032] that contained an invalid cookie. That cookie will be ignored.
Note: further occurrences of this error will be logged at DEBUG level.
2021-02-20 11:08:23.414 INFO 3038 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-02-20 11:08:23.414 INFO 3038 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-02-20 11:08:23.415 INFO 3038 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2021-02-20 11:08:23.435 INFO 3038 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-20 11:08:23.435 INFO 3038 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-20 11:08:23.494 WARN 3038 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-20 11:08:23.503 WARN 3038 --- [http-nio-8080-exec-1] org.hibernate.orm.deprecation : HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [t.blogs.size]; use collection function syntax instead [size(t.blogs)].
2021-02-20 11:08:23.508 INFO 3038 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-20 11:08:23.508 INFO 3038 --- [http-nio-8080-exec-1] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-20 11:09:04.538 INFO 3038 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doBefore--------
2021-02-20 11:09:04.539 INFO 3038 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Requestlog:Requestlog{url='/', ip='0:0:0:0:0:0:0:1', classMethod='com.hailin.beizhai.web.IndexController.index', args=[Page request [number: 0, size 3, sort: updateTime: DESC], {}]}
2021-02-20 11:09:04.557 INFO 3038 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : Result:index
2021-02-20 11:09:04.557 INFO 3038 --- [http-nio-8080-exec-3] com.hailin.beizhai.aspect.LogAspect : ---------doAfter--------
2021-02-20 11:09:36.199 INFO 3038 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2021-02-20 11:09:36.200 INFO 3038 --- [SpringContextShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-02-20 11:09:36.202 INFO 3038 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-02-20 11:09:36.205 INFO 3038 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.

File diff suppressed because it is too large Load Diff

View File

@ -14,6 +14,8 @@
<name>beizhai</name>
<description>Demo project for Spring Boot</description>
<properties>
<!-- 跳过测试 -->
<skipTests>true</skipTests>
<java.version>1.8</java.version>
</properties>

View File

@ -12,6 +12,7 @@ import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
@ -43,7 +44,7 @@ public class TagShowController {
model.addAttribute("tags",tags);
model.addAttribute("page",blogService.listBlog(id,pageable));//分页查询
model.addAttribute("activeTagId",id);
return "Tags";
return "tags";
}
}

View File

@ -3,7 +3,7 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/BeiZhaiBlog?useUnicode=true&characterEncoding=utf-8
username: root
password: root
password: ZhL945945
jpa:
hibernate:
ddl-auto: none
@ -16,4 +16,4 @@ logging:
file:
name: log/blog-dev.log
server:
port: 8081
port: 8180

View File

@ -2,6 +2,6 @@ spring:
thymeleaf:
mode: HTML
profiles:
active: dev
active: pro
comment.avatar: /images/avatar.jpg

View File

@ -1,11 +1,13 @@
#footer
index.email=2230432084@qq.com
index.qq=2230432084
index.describe=尽情的享用这条生命,让它尽兴,让它乘风而来,兴灭而逝。我愿生命如诗。写诗与否不重要,重要的是将自己的人生变成诗,让自己的人生充满诗意。
about.infor=北斋,折腾在 0 和 1 世界,一个终身学习者,誓将学习无限循环. 希望结识可以共同成长的小伙伴.
index.describe=这短短的一生我们终将会失去,不妨大胆一些,爱一个,攀一座山,追一个梦。
#友情链接
friend.name.one=吴李曾
friend.url.one=https:www.wulinzeng.vip
about.infor=北斋,折腾在 0 和 1 世界,一个终身学习者,誓将学习无限循环. 希望结识可以共同成长的小伙伴.

View File

@ -3,7 +3,7 @@
<head th:fragment="head(title)">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title th:replace="${title}">博客</title>
<title th:replace="${title}">BeiZhai</title>
<link rel="icon" th:href="@{/images/icon.png}" type="image/x-icon"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
<link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}">
@ -108,6 +108,18 @@
}
</script>
<!-- 百度统计-->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?96fc24a5607003428f542c8250b03492";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</th:block>
</body>

View File

@ -321,7 +321,7 @@
position: 'left center'
});
var sever = "127.0.0.1:8080";//http:www.
var sever = "118.31.164.51:8180";//http:www.
var url = /*[[@{/blog/{id}(id=${blog.id})}]]*/"";
var qrcode = new QRCode("qrcode", {
text: sever + url,

View File

@ -233,6 +233,7 @@
$('#poem').html("获取出错啦");
}
});
</script>
</body>
</html>

Binary file not shown.

BIN
target/beizhai.jar Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/BeiZhaiBlog?useUnicode=true&characterEncoding=utf-8
username: root
password: root
password: ZhL945945
jpa:
hibernate:
ddl-auto: none
@ -16,4 +16,4 @@ logging:
file:
name: log/blog-dev.log
server:
port: 8081
port: 8180

View File

@ -2,6 +2,6 @@ spring:
thymeleaf:
mode: HTML
profiles:
active: dev
active: pro
comment.avatar: /images/avatar.jpg

View File

@ -1,11 +1,13 @@
#footer
index.email=2230432084@qq.com
index.qq=2230432084
index.describe=尽情的享用这条生命,让它尽兴,让它乘风而来,兴灭而逝。我愿生命如诗。写诗与否不重要,重要的是将自己的人生变成诗,让自己的人生充满诗意。
about.infor=北斋,折腾在 0 和 1 世界,一个终身学习者,誓将学习无限循环. 希望结识可以共同成长的小伙伴.
index.describe=这短短的一生我们终将会失去,不妨大胆一些,爱一个,攀一座山,追一个梦。
#友情链接
friend.name.one=吴李曾
friend.url.one=https:www.wulinzeng.vip
about.infor=北斋,折腾在 0 和 1 世界,一个终身学习者,誓将学习无限循环. 希望结识可以共同成长的小伙伴.

View File

@ -3,7 +3,7 @@
<head th:fragment="head(title)">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title th:replace="${title}">博客</title>
<title th:replace="${title}">BeiZhai</title>
<link rel="icon" th:href="@{/images/icon.png}" type="image/x-icon"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
<link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}">
@ -108,6 +108,18 @@
}
</script>
<!-- 百度统计-->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?96fc24a5607003428f542c8250b03492";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</th:block>
</body>

View File

@ -321,7 +321,7 @@
position: 'left center'
});
var sever = "127.0.0.1:8080";//http:www.
var sever = "118.31.164.51:8180";//http:www.
var url = /*[[@{/blog/{id}(id=${blog.id})}]]*/"";
var qrcode = new QRCode("qrcode", {
text: sever + url,

View File

@ -233,6 +233,7 @@
$('#poem').html("获取出错啦");
}
});
</script>
</body>
</html>

View File

@ -0,0 +1,3 @@
artifactId=beizhai
groupId=com.hailin
version=0.0.1-SNAPSHOT

View File

@ -0,0 +1,45 @@
com/hailin/beizhai/service/CommentService.class
com/hailin/beizhai/dao/TypeRepository.class
com/hailin/beizhai/interceptor/LoginInterceptor.class
com/hailin/beizhai/util/MarkdownUtil$1.class
com/hailin/beizhai/po/Tag.class
com/hailin/beizhai/util/MarkdownUtil$CustomAttributeProvider.class
com/hailin/beizhai/web/admin/TypeController.class
com/hailin/beizhai/util/MarkdownUtil.class
com/hailin/beizhai/web/ArchiveShowController.class
com/hailin/beizhai/po/Comment.class
com/hailin/beizhai/NotFoundException.class
com/hailin/beizhai/handler/ControllerExceptionHandler.class
com/hailin/beizhai/BeizhaiApplication.class
com/hailin/beizhai/aspect/LogAspect$Requestlog.class
com/hailin/beizhai/vo/BlogQuery.class
com/hailin/beizhai/service/BlogServiceImpl$1.class
com/hailin/beizhai/service/BlogServiceImpl$2.class
com/hailin/beizhai/service/CommentServiceImpl.class
com/hailin/beizhai/service/TagService.class
com/hailin/beizhai/service/UserService.class
com/hailin/beizhai/service/BlogService.class
com/hailin/beizhai/web/IndexController.class
com/hailin/beizhai/web/admin/BlogController.class
com/hailin/beizhai/dao/BlogRepositiry.class
com/hailin/beizhai/aspect/LogAspect.class
com/hailin/beizhai/util/MD5Utils.class
com/hailin/beizhai/service/TypeServiceImpl.class
com/hailin/beizhai/web/TagShowController.class
com/hailin/beizhai/service/UserServiceImpl.class
com/hailin/beizhai/service/TagServiceImpl.class
com/hailin/beizhai/web/AboutController.class
com/hailin/beizhai/po/Type.class
com/hailin/beizhai/util/MyBeanUtils.class
com/hailin/beizhai/web/admin/LoginController.class
com/hailin/beizhai/web/TypeShowController.class
com/hailin/beizhai/service/BlogServiceImpl.class
com/hailin/beizhai/web/admin/TagController.class
com/hailin/beizhai/po/User.class
com/hailin/beizhai/service/TypeService.class
com/hailin/beizhai/dao/UserRepository.class
com/hailin/beizhai/web/CommentController.class
com/hailin/beizhai/dao/TagRepository.class
com/hailin/beizhai/po/Blog.class
com/hailin/beizhai/interceptor/WebConfig.class
com/hailin/beizhai/dao/CommentRepositiry.class

View File

@ -0,0 +1,40 @@
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/TypeService.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/IndexController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/po/Blog.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/UserService.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/util/MarkdownUtil.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/vo/BlogQuery.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/TypeServiceImpl.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/admin/BlogController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/dao/UserRepository.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/TypeShowController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/TagShowController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/BeizhaiApplication.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/aspect/LogAspect.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/admin/LoginController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/po/User.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/interceptor/WebConfig.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/dao/BlogRepositiry.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/CommentController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/BlogServiceImpl.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/TagService.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/interceptor/LoginInterceptor.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/admin/TypeController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/po/Comment.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/BlogService.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/AboutController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/CommentService.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/TagServiceImpl.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/dao/CommentRepositiry.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/util/MD5Utils.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/ArchiveShowController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/util/MyBeanUtils.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/po/Tag.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/web/admin/TagController.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/UserServiceImpl.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/NotFoundException.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/dao/TypeRepository.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/handler/ControllerExceptionHandler.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/po/Type.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/service/CommentServiceImpl.java
/Users/zhouhailin/idea-code/beizhai/src/main/java/com/hailin/beizhai/dao/TagRepository.java

View File

@ -0,0 +1 @@
com/hailin/beizhai/BeizhaiApplicationTests.class

View File

@ -0,0 +1 @@
/Users/zhouhailin/idea-code/beizhai/src/test/java/com/hailin/beizhai/BeizhaiApplicationTests.java