问答详情
源自:6-1 关于红包收发之操作数据库(上)

没有自动创建表

http://img4.mukewang.com/5efae8d800013a4910490332.jpg

http://img3.mukewang.com/5efae96f0001632f06820460.jpg

http://img2.mukewang.com/5efae9700001ef3306470315.jpg


  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::        (v2.1.3.RELEASE)


2020-06-30 15:28:19.297  INFO 12956 --- [           main] o.m.s.s.Springboottest1Demo1Application  : Starting Springboottest1Demo1Application on LAPTOP-27QIE0DN with PID 12956 (E:\game\Java\WorkSpace\springboottest1_demo1\target\classes started by why in E:\game\Java\WorkSpace\springboottest1_demo1)

2020-06-30 15:28:19.299  INFO 12956 --- [           main] o.m.s.s.Springboottest1Demo1Application  : The following profiles are active: dev

2020-06-30 15:28:20.006  INFO 12956 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.

2020-06-30 15:28:20.025  INFO 12956 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 12ms. Found 0 repository interfaces.

2020-06-30 15:28:20.347  INFO 12956 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b2f5bd50] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2020-06-30 15:28:21.217  INFO 12956 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8081 (http)

2020-06-30 15:28:21.249  INFO 12956 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2020-06-30 15:28:21.249  INFO 12956 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.16]

2020-06-30 15:28:21.261  INFO 12956 --- [           main] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\Java\jdk1.8.0_73\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:/Java/jdk1.8.0_73/bin/../jre/bin/server;D:/Java/jdk1.8.0_73/bin/../jre/bin;D:/Java/jdk1.8.0_73/bin/../jre/lib/amd64;D:\app\why\product\11.2.0\dbhome_1\bin;D:\Java\jdk1.8.0_73\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\mysql-8.0.11-winx64\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\apache-maven-3.6.3-bin\apache-maven-3.6.3\bin;C:\Users\why\AppData\Local\Microsoft\WindowsApps;;D:\eclipse;;.]

2020-06-30 15:28:21.416  INFO 12956 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/sd1]    : Initializing Spring embedded WebApplicationContext

2020-06-30 15:28:21.416  INFO 12956 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2075 ms

2020-06-30 15:28:21.661  INFO 12956 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...

2020-06-30 15:28:21.822  INFO 12956 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.

2020-06-30 15:28:21.890  INFO 12956 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [

name: default

...]

2020-06-30 15:28:22.016  INFO 12956 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.3.7.Final}

2020-06-30 15:28:22.017  INFO 12956 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found

2020-06-30 15:28:22.191  INFO 12956 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}

2020-06-30 15:28:22.365  INFO 12956 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect

2020-06-30 15:28:23.008  INFO 12956 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'

2020-06-30 15:28:23.260  INFO 12956 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'

2020-06-30 15:28:23.306  WARN 12956 --- [           main] aWebConfiguration$JpaWebMvcConfiguration : 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

2020-06-30 15:28:23.544  INFO 12956 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8081 (http) with context path '/sd1'

2020-06-30 15:28:23.548  INFO 12956 --- [           main] o.m.s.s.Springboottest1Demo1Application  : Started Springboottest1Demo1Application in 4.702 seconds (JVM running for 5.153)


提问者:weixin_慕尼黑6503715 2020-06-30 15:28

个回答

  • weixin_慕尼黑6503715
    2020-07-03 21:12:47

    我现在又可以创建表了,代码完全无任何变化,这个信息也依然还存在。。。但是就是可以了,重启了无数次后莫名其妙的就好了。。

  • Dwdmlos
    2020-07-02 09:46:03

    o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found  提示没有找到o.a.catalina.core.AprLifecycleListener这个库