项目运行出bug&&localhost:8080出现问题的解决

项目运行出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"

(1条消息) 解决 No active profile set, falling back to 1 default profile: “default“问题以及如何查看spring boot版本号_互联网全栈开发实战的博客-CSDN博客

 按照上面的文章,我感觉前面的我都没问题,于是直接在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查询,以下:

接着发现在很久很久以前,就有给过提示了——数据库连接密码错误。。。。。。。。。。。。。

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。我是傻*

 

 成功证明:我真的哭死。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值