异常
Cansluck
每一天都是未知的,这样才是最有意思的!努力,奋斗,成功!
展开
-
tomcat端口被占用
如题,在myeclipse中操作时候,有时候因为误操作,导致myeclipse退出,但是进程中tomcat还在运行着,再次打开的时候显示tomcat端口号被占用了解决办法如下:1、打开cmd,然后输入:netstat -ano这里是显示出进程的各个端口号,一般在最上面你能看到你的端口号信息(如果你端口号还在被挂用的话)2、如上图即可找到你的端口号原创 2015-12-25 10:08:21 · 1178 阅读 · 1 评论 -
Incorrect string value: ‘\xE7\x94\x98\xE5\xB7\x9E...‘ for column ‘SystemName‘ at row 1
org.springframework.jdbc.UncategorizedSQLException: ### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xE7\x94\x98\xE5\xB7\x9E...' for column 'SystemName' at row 1原创 2017-02-15 15:58:37 · 6148 阅读 · 2 评论 -
使用Slf4j集成Log4j2构建项目日志系统的完美解决方案
一、背景 最近因为公司项目性能需要,我们考虑把以前基于的log4j的日志系统重构成基于Slf4j和log4j2的日志系统,因为,使用slf4j可以很好的保证我们的日志系统具有良好的兼容性,兼容当前常见几种日志系统,而使用log4j2而不是log4j是因为Log4j 1.x 在高并发情况下出现死锁导致cpu使用率异常飙升,而Log4j2.0基于LMAX Disruptor的异步日志在多线程原创 2016-12-12 11:57:34 · 8174 阅读 · 1 评论 -
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.hadoop.conf.Configuration.(Configuration.java:173) at com.newspace.HDFSDemo.init(HDFSDe原创 2016-08-09 14:55:15 · 3710 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.apache.hadoop.fs.CanUnbuffer
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.o原创 2016-08-09 14:53:36 · 11011 阅读 · 3 评论 -
java.lang.NoSuchMethodError: org.apache.hadoop.fs.FSOutputSummer.<init>(Ljava/util/zip/Checksum;II)V
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.o原创 2016-08-09 14:52:02 · 4457 阅读 · 0 评论 -
redis.clients.jedis.exceptions.JedisConnectionException: no reachable node in cluster
redis未打开,因此报出未连接的异常信息原创 2016-03-25 10:40:38 · 6383 阅读 · 3 评论 -
java.util.MissingResourceException: Can‘t find resource for bundle java.util.PropertyResourceBundle,
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 1043 at java.util.ResourceBundle.getObject(ResourceBundle.java:384) at java.util.ResourceBund原创 2015-12-25 10:48:24 · 18703 阅读 · 1 评论 -
org.apache.jasper.JasperException
org.apache.jasper.JasperException: /include/left.jsp (line: 2, column: 52) File "/authority-tags" not found at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) at原创 2015-12-25 10:44:05 · 883 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creat原创 2017-05-25 17:25:15 · 5228 阅读 · 0 评论