项目运行出bug
第一步,翻译出中文,因为菜鸟是看不懂英文的/(ㄒoㄒ)/~~出现一大堆的时候就更不想看了
No active profile set, falling back to 1 default profile: "default"
Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
10:52:08.773 [restartedMain] WARN o.a.c.c.AprLifecycleListener - [log,175] - The Apache Tomcat Native library failed to load. The error reported was [D:\download_3\tomcat\tomcat_2\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
java.lang.UnsatisfiedLinkError: D:\download_3\tomcat\tomcat_2\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
//翻译
未设置活动配置文件,回退到1个默认配置文件:“default”
Devtools属性默认值处于活动状态!将“spring.devtools.add properties”设置为“false”以禁用
对于其他与web相关的日志记录,请考虑将“logging.level.web”属性设置为“DEBUG”
10:52:08.773[restartedMain]警告o.a.c.PrLifecycleListener-[log,175]-Apache Tomcat本机库加载失败。报告的错误为[D:\download_3\tomcat\tomcat_2\bin\tnative-1.dll:无法在AMD 64位平台上加载IA 32位.dll]
java.lang.UnsaisfiedLinkError:D:\download_3\tomcat\tomcat_2\bin\tnative-1.dll:无法在AMD 64位平台上加载IA 32位.dll
1.No active profile set, falling back to 1 default profile: "default"
按照上面的文章,我感觉前面的我都没问题,于是直接在application.yml添加
但是报错显示运行不了,就把@spring.active@ 前面的@去掉,运行成功,出现如下报错
15:22:02.877 [restartedMain] INFO e.s.m.p.PosApplication - [logStarting,55] - Starting PosApplication using Java 1.8.0_271 on LAPTOP-95MV4917 with PID 20776 (D:\isdp\workspace_2\mis-temporary\target\classes started by the lady in D:\isdp\workspace_2\mis-temporary)
15:22:02.878 [restartedMain] INFO e.s.m.p.PosApplication - [logStartupProfileInfo,640] - The following 1 profile is active: "spring.active@"
15:22:02.955 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - [logTo,255] - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
15:22:02.955 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - [logTo,255] - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
15:22:04.762 [restartedMain] WARN o.a.c.c.AprLifecycleListener - [log,175] - The Apache Tomcat Native library failed to load. The error reported was [D:\download_3\tomcat\tomcat_2\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
java.lang.UnsatisfiedLinkError: D:\download_3\tomcat\tomcat_2\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
感觉不对劲。然后又反反复复找了文章看,by the way,在写这些东西的时候我找了很多文章:
除去两页满满全是bug查询,以下:
接着发现在很久很久以前,就有给过提示了——数据库连接密码错误。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。我是傻*
成功证明:我真的哭死。