
遇到的错误
error
ReflectMirroring
希望你的努力配得上你的野心
展开
-
docker遇到的错误:Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53
问题Trying to pull repository docker.io/library/elasticsearch ... Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:50339->[::1]:53: read: connection refused解决 vi /etc/resolv.conf 加入: nameser原创 2021-05-14 13:22:59 · 42481 阅读 · 12 评论 -
java.lang.ClassNotFoundException: org.springframework.boot.Bootstrapper
错误13:20:03.686 [main] ERROR org.springframework.boot.SpringApplication - Application run failedjava.lang.NoClassDefFoundError: org/springframework/boot/Bootstrapper at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineCla原创 2021-05-10 13:46:23 · 5183 阅读 · 0 评论 -
Navicat连接远程Linux的MySQL服务器出现1130错误
解决大概因为是MySQL这个账户不允许远程连接的原因mysql> use mysql;Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -ADatabase changedmysql> select user,host from user;+---------------+---原创 2021-04-19 18:18:55 · 726 阅读 · 1 评论 -
Linux的MySQL服务启动失败:Failed to start SYSV: MySQL databas....
报错[root@localhost ~]# mysql -uroot -pEnter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)[root@localhost ~]# service mysqld startStarting mysqld (via systemctl): Job for mysqld.servi原创 2021-04-19 16:52:49 · 1289 阅读 · 0 评论 -
aliyun-oss-spring-boot-starter导入无效
bugjava.lang.NullPointerException at com.jane.shop.shopthirdparty.ShopThirdPartyApplicationTests.test1(ShopThirdPartyApplicationTests.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke原创 2021-04-06 20:01:44 · 2121 阅读 · 3 评论 -
给VirtualBox配置静态ip地址和XShell上传文件到Linux服务器上
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3编辑网关配置信息TYPE="Ethernet"#BOOTPROTO="dhcp" #将动态分配ip地址注释BOOTPROTO=static #使用静态ip地址IPADDR=10.235.140.206 #配置的虚拟机静态ip地址 NETMASK=255.255.248.0 #主机子网掩码GATEWAY=10.235.143.254 #主机网关DEFROUTE="yes"PEERDNS="yes"原创 2021-04-06 19:47:43 · 323 阅读 · 0 评论 -
renren-fast加入服务注册发现时的错误
这个bug如何是好2021-03-25 21:48:53.086 INFO 6124 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.C原创 2021-03-26 14:24:48 · 1041 阅读 · 1 评论 -
Caused by: java.lang.reflect.InvocationTargetException: null,endpoint is blank
错误2021-03-03 21:01:46.277 ERROR 19108 --- [ main] c.a.cloud.nacos.NacosConfigProperties : create config service error!properties=NacosConfigProperties{serverAddr='null', encode='null', group='DEFAULT_GROUP', prefix='null', fileExtension='prop原创 2021-03-07 15:19:01 · 3862 阅读 · 4 评论 -
No Feign Client for loadBalancing defined.Did you forget to include spring-cloud-starter-loadbalance
刚刚学习guilimall的时候使用openfeign进行远程调用,出现下面错误org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController': Unsatisfied dependency expressed through field 'couponFeignService'; nested exception is org.sprin原创 2021-03-03 15:35:55 · 12524 阅读 · 21 评论 -
IDEA使用Spring Initializr创建项目,报错Initialization failed.. Please check URL, network and proxy settings
这个是无法连接到spring的官网https://start.spring.io的或许是防火墙,或者网络网关之类的原因或者使用国内的网址也行https://start.aliyun.com/一般是能连接成功的原创 2021-02-15 13:47:47 · 1703 阅读 · 0 评论 -
docker安装后启动报错:Failed to start Docker Application Container Engine
[root@localhost ~]# systemctl status docker.service● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2021-02-原创 2021-02-05 12:19:18 · 913 阅读 · 1 评论 -
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
错误org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='userID', mode=IN, javaType=class java.lang.Object, jdbcType=null, numericScale=null, re原创 2020-11-09 11:07:09 · 2906 阅读 · 2 评论 -
It is illegal to call this method if the current request is not in asynchronous mode (i.e. isAsyncSt
源头package jane.servlet;import java.io.IOException;import javax.servlet.AsyncContext;import javax.servlet.ServletException;import javax.servlet.ServletResponse;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;import原创 2020-10-18 20:13:15 · 1980 阅读 · 1 评论 -
java.lang.UnsupportedClassVersionError: com/mysql/cj/jdbc/Driver : Unsupported major.minor version 5
现在的环境情况是:我使用的是JDK1.7mysql-connector-java 8.0.11现在报错是JDK 版本与jdbc的Driver不兼容的问题java.lang.UnsupportedClassVersionError我将JDK换成1.8的就没什么问题了Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" java.lang.UnsupportedClassVersi原创 2020-09-06 12:52:44 · 2976 阅读 · 4 评论 -
IDEA中的spring boot项目读取properties文件时出现中文乱码的问题
IDEA中的spring boot项目读取properties文件时出现中文乱码的问题解决方法IDEA优点高级,有Transparent native-to-ascii conversion这个选择,就是将utf-8的文件编码转换成ASCII编码如果按照上面设置后, 重启服务,重启IDEA, 再次访问还是乱码就将之前创建的properties 文件删除, 重新创建过还有的解决方面就是将application.properties配置文件改成application.yaml文件...原创 2020-08-05 00:06:15 · 242 阅读 · 0 评论 -
解决IDEA输入法光标不跟随的bug
之前使用IDEA输入注释的时候,早就发现中文的候选字不在输入的位置,现在需要写多点的中文注释,实在受不了了,必须面对一下解决方案了在网上查找了很多说法,原来其中的原因就是IDEA原本使用的jre对于中文不友好,所以打字总会在右下方现在我们就将它的jre进行偷梁换柱,偷偷改一下一般最好改成jdk1.8.0_261的jre,官网说这个暂时是最稳定的来到IDEA的安装目录将jdk的jre复制到安装目录下,并且将jdk的lib下的tools.jar复制到IDEA安装目录刚刚复制过去的jre的lib文件原创 2020-08-04 23:33:26 · 1653 阅读 · 0 评论 -
Spring Boot Configuration Annotation Processor not found in classpath
Spring Boot Configuration Annotation Processor not found in classpath今天的spring boot需要将配置文件中的数据注入到实体类里面,但是有这样的警告,看着很不舒服所以就点开提示文档提示文档我的是Maven项目,按照它的说明,我需要在依赖中导入相关的依赖<dependency> <groupId>org.springframework.boot</groupId> <artifac原创 2020-08-04 22:14:18 · 354 阅读 · 0 评论 -
IDEA Unable to import maven project: See logs for details
IDEA写spring boot项目,里面的maven是3.3.6jdk是1.8IDEA版本2018不知道为什么maven总会报错IDEA Unable to import maven project: See logs for details然后我将Maven改成3.3.1版本的就行了,具体原因不清楚,待了解原创 2020-08-01 23:59:44 · 212 阅读 · 0 评论 -
STS运行web项目报错:严重: Compilation error
3月 21, 2020 5:57:25 下午 org.apache.jasper.compiler.JDTCompiler$1 findType严重: Compilation errororg.eclipse.jdt.internal.compiler.classfmt.ClassFormatException at org.eclipse.jdt.internal.compiler.cla...原创 2020-03-21 22:44:17 · 621 阅读 · 0 评论 -
错误:Unnamed bean definition specifies neither 'class' nor 'parent' nor 'factory-bean'
今天运行spring的代码报错Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unnamed bean definition specifies neither 'class' nor 'p...原创 2020-03-21 00:36:37 · 778 阅读 · 0 评论