![](https://img-blog.csdnimg.cn/20190927151124774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
BUG
bug
Lxinccode
java
展开
-
BUG(18) : Caused by: java.lang.ClassNotFoundException
导入了多个mave依赖, 启动是报java.lang.ClassNotFoundException, 报错位置为依赖包里面的子依赖。什么依赖报错, pom文件直接引入该子依赖。原创 2024-05-27 16:09:52 · 254 阅读 · 0 评论 -
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
JAVA_HOME=jdk的目录。mvn package 时出现。配置Java环境变量即可。>PATH添加两个变量。原创 2024-01-30 11:19:52 · 432 阅读 · 0 评论 -
BUG(17) : No enum constant xxx
参考 :https://panyongzheng.iteye.com/blog/2201675报错操作 :RuleEnum.valueOf("a");报错信息 : IllegalArgumentException No enum const class SqlTypeEnum.XXX 意思是没有找到定义好的枚举,解决 : 改为 Rul...原创 2019-01-28 16:10:33 · 29134 阅读 · 2 评论 -
BUG(16) : nacos No DataSource set
创建新的application.properties文件, 挂载替换容器内部文件, 挂载配置如下。application.properties文件内容如下。docker启动nacos。nacos容器启动命令。转载 2023-12-20 17:53:46 · 80 阅读 · 0 评论 -
BUG(15) : mapstruct Field converter required a bean of type that could not be found.
参考 : java - MAPSTRUCT - Field mapperDTO in CustomerServiceImpl required a bean of type 'com.howtodoinjava.demo.mapper.MapperDTO' that could not be found - STACKOOMmapstruct Field converter required a bean of type that could not be found.mapstruct 接口类作为依转载 2023-10-31 23:24:29 · 243 阅读 · 0 评论 -
BUG(14) : No compiler is provided in this environment. Perhaps you are running on a JRE rather than
参考 : 命令行mvn打包的时候报错:No compiler is provided in this environment. Perhaps you are running on a JRE_铁柱同学的博客-CSDN博客No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?mvn install找到mvn.cmd,编辑,在最上面添加一行,jdk的目录转载 2023-08-31 17:13:39 · 84 阅读 · 0 评论 -
BUG(13) : failed to obtain node locks, tried [[/home/hadoop/es/data1/analytics]] with lock id [0]
参考 : elasticsearch数据写入慢,出现错误 failed to obtain node locks, tried [[/home/hadoop/es/data1/analyti_IT笔记_社区_115生活,一生相伴解决org.elasticsearch.bootstrap.StartupException: ElasticsearchException[failed to bind service]_真是适合睡觉的天气的博客-CSDN博客 failed to obtain no转载 2022-11-16 15:38:15 · 167 阅读 · 0 评论 -
BUG(12) : Configured service account doesn‘t have access. Service account may have been revoked. pod
注 : 根据报错提示的User直接创建角色即可。spark调用k8s接口创建pod无相关权限。原创 2022-11-08 11:23:04 · 1102 阅读 · 0 评论 -
BUG(11) : springboot类复制导致源类属性值全部清空
出错原因 : 未知可能出错原因 : IDEA点击进入该方法实现发下底部有些方法中变量显示红色暂时解决 : 换个方法import org.springframework.beans.BeanUtils; /** * Copy the property values of the given source bean into the target bean. * ...原创 2019-09-28 10:49:02 · 282 阅读 · 0 评论 -
BUG(10) : Illegal unquoted character ((CTRL-CHAR, code 13)): has to be escaped using backslash to be
参考 : https://www.jianshu.com/p/a9a81bb6587f https://annan211.iteye.com/blog/2249146com.fasterxml.jackson.databind.JsonMappingException: Illegal unquoted character ((CTRL-CHAR, code 13))...转载 2019-06-10 10:51:06 · 6668 阅读 · 0 评论 -
BUG(9) : nested exception is com.fasterxml.jackson.databind.JsonMappingException
Could not write JSON: (was java.lang.NullPointerException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain:...转载 2019-01-21 14:11:21 · 6356 阅读 · 5 评论 -
BUG(8) : ##Error querying database. Cause: java.lang.NullPointerException
Error querying database. Cause: java.lang.NullPointerException错误出现操作: springboot项目,由于多数据源,采用自定义jdbc连接池,实现了DataSource 接口,该类有以下属性@Value("${mysql.driver}")private String driver;@Value("${xx.u...原创 2018-12-13 17:34:56 · 4118 阅读 · 2 评论 -
BUG (2) : Parse error web.xml file at jndi:/localhost/WEB-INF/web.xml org.xml.sax.SAXParseExcep
复制ssm项目改名之后运行报错:Parse error in application web.xml file at jndi:/localhost/WEB-INF/web.xmlorg.xml.sax.SAXParseException; systemId: jndi:/localhost/WEB-INF/web.xml; lineNumber: 4; columnNumber:原创 2018-02-27 14:28:24 · 1165 阅读 · 0 评论 -
BUG(3) : Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer';
Failed to bind request element: org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; ...原创 2018-07-04 10:26:08 · 32626 阅读 · 2 评论 -
BUG(4)[springboot] : If you want an embedded database please put a supported one on the classpath.
If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently ...转载 2018-11-09 10:31:01 · 3116 阅读 · 2 评论 -
BUG(5)[springboot] : The Tomcat connector configured to listen on port 7001 failed to start. The por
The Tomcat connector configured to listen on port 7001 failed to start. The port may already be in use or the connector may be misconfigured.错误所属 : springboot 启动;错误说明 : 配置为侦听端口7001的Tomc...转载 2018-11-09 10:50:59 · 1942 阅读 · 0 评论 -
BUG(6)[springboot] : java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefin
sprintboot 引入 jackson 后启动报错 : 2018-11-12 16:12:21.064 ERROR 12011 --- [ main] o.s.boot.SpringApplication : Application run failedorg.springframework.context.ApplicationCont...原创 2018-11-12 16:17:33 · 1008 阅读 · 0 评论 -
BUG(6) : java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.exc.InvalidDefinitionExce
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [com/aliyun/et/industry/templateboot/core/config/Co...原创 2018-12-07 17:42:56 · 2764 阅读 · 2 评论 -
BUG (1) : Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]] at java.util.concurrent.F原创 2018-02-05 22:05:27 · 1120 阅读 · 0 评论