错误 (发现及解决)
工作及学习中发现的错误及解决方法。
monk use rejoice
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sentinel在linux启动失败
环境:linux ;sentinel安装包是下载源码自己打的包;java版本-java11出现的问题: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class] ...... ...... Unable to instantiat原创 2020-10-26 16:01:54 · 897 阅读 · 0 评论 -
后端long型的值传到前台页面 经过js发现末尾几位数字变化
问题详细:实体id是long类型,存的数经过js后发生精度丢失。原因:丢失精度。解决方法:在实体id上加一个注解,如下import com.fasterxml.jackson.databind.annotation.JsonSerialize;import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;@JsonSerialize(using = ToStringSerializer.class)加上以后问题解决..原创 2020-10-15 11:30:32 · 607 阅读 · 0 评论 -
运行 jar中没有主清单属性 解决
基于spring boot项目在eclipse中使用 右键项目-run as -maven install命令生成jar包使用 java -jar ××.jar 命令运行jar包 提示jar中没有主清单属性在pom中加入如下配置 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <arti原创 2020-05-12 09:00:07 · 1353 阅读 · 0 评论 -
解决 mysql报 this is incompatible with sql_mode=only_full_group_by 错误
百度搜出来的大多有两种解决方案,一般推荐下面这一种,我用了以后问题解决。在mysql的my.ini文件最后加上下面这一行sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION...原创 2020-03-17 15:57:30 · 275 阅读 · 0 评论 -
mysql导入时出现"ERROR at line : Unknown command '\''."的解决办法
使用mysqldump -uroot -p123456 databases > /home/databases.sql 进行备份在使用mysql -uroot -p123456 databases < /home/databases.sql 进行mysql恢复的时候,出现如下报错。ERROR at line 79: Unknown command ‘\0’.上述错误,是因为导出...原创 2019-09-19 07:53:55 · 1281 阅读 · 0 评论 -
Eclipse中src那些目录在java resources包下
把当前的视图调整成JAVA视图。window->open perspective->JAVA原创 2019-05-17 09:05:05 · 2250 阅读 · 0 评论 -
Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
本文是基于spark2.4 以后的解决办法在Windows环境下,将Hadoop /bin目录下缺少的hadoop.dll和winutils.exe加上下面是下载地址http://files.cnblogs.com/files/yjmyzz/hadoop2.6(x64)V0.2.zip如果还报如题的错误随便找个盘,建个文件夹,如 D:\winutil\bin 将winutils.e...原创 2019-05-07 14:09:51 · 414 阅读 · 0 评论 -
去掉spark中打印的INFO信息
将spark安装包中一个文件复制到项目的main/resources目录下 ,将名称改为log4j.properties如下所示:打开该文件,将第一行中的INFO改为ERROR以后运行spark程序将不会有info信息打印了...原创 2019-04-08 09:53:53 · 1611 阅读 · 0 评论 -
解决spark的Jackson版本和jboss自带Jackson版本冲突问题
在项目的WEB-INF目录下,添加jboss-deployment-structure.xml文件<?xml version="1.0" encoding="UTF-8" ?><jboss-deployment-structure> <deployment> <!-- Exclusions allow you to preven...原创 2019-01-07 09:15:03 · 1356 阅读 · 0 评论 -
wildfly使用的小错误---通过9990访问项目里面的rest地址
勾选第一个,则通过9990访问时会显示0.0.0.8080开头的路径访问不勾选第二个则是正常localhost访问原创 2019-01-04 09:41:02 · 860 阅读 · 0 评论 -
启动Wildfly时遇到的错误- "jboss.data-source.java:jboss/datasources/SCI_ODS is missing [jboss.jdbc-driv
启动Wildfly时遇到的错误是:ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([ ("subsystem" => "datasources"), ("data-sou...原创 2019-01-03 17:22:46 · 2779 阅读 · 0 评论 -
而 JAXB 无法处理接口 ---- 使用webService遇到的问题
方法的返回类型不要是接口类型的这返回的是一个接口类型便不被允许发布原创 2018-12-26 14:52:31 · 3109 阅读 · 0 评论 -
解决 Failed to start service jboss.deployment.unit."jboss-as-bmt.war".INSTALL: org.jboss.msc.service.S
Failed to start service jboss.deployment.unit.“jboss-as-bmt.war”.INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit.“jboss-as-bmt.war”.INSTALL: Failed to process phase INST...原创 2018-11-23 15:26:54 · 8999 阅读 · 0 评论 -
解决Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
Arquillian JPA tutorial: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptorpom.xml文件中加入<profiles> <profile> <id>arquillian-jbo...原创 2018-11-22 13:37:24 · 1226 阅读 · 0 评论 -
解决 ERROR [org.jboss.as.controller.management-operation] 清楚jboss缓存,解决jboss始终会加载一个没显示在jboss服务器上的问题
ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Operation (“add”) failed - address: ([(“deployment” =&amp;gt; “jboss-as-kitchensink-jsp.war”)]) - failure description: ...原创 2018-11-22 11:14:02 · 5909 阅读 · 0 评论 -
忽视项目要求有web.xml的错误--maven --jboss
<!--忽视项目要求有web.xml的错误 --> <plugin> <artifactId>maven-war-plugin</artifactId> <version>${version.war.plugin}</version>...原创 2018-11-22 09:28:30 · 259 阅读 · 0 评论 -
解决 Not installing optional component org.jboss.errai.bus.server.servlet.StandardAsyncServlet$1
运行jboss出现Not installing optional component org.jboss.errai.bus.server.servlet.StandardAsyncServlet$1 due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Co...原创 2018-11-21 12:54:11 · 839 阅读 · 0 评论 -
解决 web.xml is missing and <failOnMissingWebXml> is set to true
在maven的pom.xml文件中加<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artif...原创 2018-11-21 11:26:33 · 198 阅读 · 0 评论 -
Description Resource Path Location Type Dynamic Web Module 3.1 requires Java 1.7 or newer.
概述:使用maven构建web项目时,经常会遇见这个问题,问题原因报错讲述的很清晰明了,就是web模块需要使用java1.7及以后的版本,目前的版本不符合。因而只需要修改java版本到1.7及以上即可。解决方法:在eclipse 构建 web中关于java版本有三处需要修改统一。(1)在 Java Build Path的libraries中修改(2)在Java Compiler 中修改...转载 2018-11-21 10:27:20 · 4273 阅读 · 0 评论
分享