logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Cannot run program “D:\JDK\bin\java.exe“ (in directory “C:\Program Files\JetBrains\IntelliJ IDEA 202

Cannot run program "D:\JDK\bin\java.exe" (in directory "C:\Program Files\JetBrains\IntelliJ IDEA 2022.2.3\bin"): CreateProcess error=2, 系统找不到指定的文件。

文章图片
#java#intellij-idea#jvm
在自定义Maven依赖的时候,添加json的时候,出现报错,Could not find artifact net.sf.json-lib:json-lib:jar:2.4 in central

Could not find artifact net.sf.json-lib:json-lib:jar:2.4 in central (https://repo.maven.apache.org/maven2)解决方案:在配置json依赖的时候,多写一行代码即完美解决<classifier>jdk15</classifier>添加这一行代码后,在Maven中刷新一下即可。

文章图片
#maven
No provider available from registry 127.0.0.1:2181 for service com.itheima.service.ReportService on

No provider available from registry 127.0.0.1:2181 for service com.itheima.service.ReportService on consumer 192.168.181.1 use dubbo version 2.6.2, please check status of providers(disabled, not regis

文章图片
#java#maven#tomcat
Failed to introspect Class [org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyC

Failed to introspect Class [org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]Error processing condition

文章图片
#gateway#spring cloud#java
“Content type ‘text/plain;charset=UTF-8‘ not supported“,

点击Headers我们看到Content-Type支持的类型是json。Content type 'text/plain不支持。所以问题出现在这个地方,要将Text切换成JSON。

文章图片
#spring boot#spring cloud#json +3
解决Mybatis中SqlMapConfig.xml配置文件中<configuration>标签报错的问题

解决方案是:在 Mybatis 的配置文件中,各 configuration 的属性必须按照规定的先后顺序进行排序,否则就会出错propertiessettingstypeAliasestypeHandlersobjectFactorypluginsenvironmentsdatabaseProvicermappers...

#java
Could not find artifact org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:3.3.0 in central

在maven2中央仓库找不到mybatis-spring-boot-starter,原来是版本好不小心被我改了,输入正确的版本号即可。

文章图片
#mybatis#spring#java
Property ‘spring.profiles‘ imported from location ‘class path resource [application.yml]‘ is invali

Property 'spring.profiles' imported from location 'class path resource [application.yml]' is invalid and should be replaced with 'spring.config.activate.on-profile' [origin: class path resource [appli

文章图片
#spring#java#sql +1
Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc mysql://127.0.0.1:3306/360?useUni

遇到异常时,大家一定要看清楚控制面板里的异常提示,根据异常提示去解决问题。数据库连接驱动声称不接受jdbcUrl,肯定是jdbcUrl有问题,注意此处千万不要加空格,加了空格会报错。加上冒号:后,问题解决。

文章图片
#mysql#数据库
    共 14 条
  • 1
  • 2
  • 请选择