#PTI

com.alibaba.druid.sql.parser.ParserException: syntax error, error in :"XXX"

报错:"com.alibaba.druid.filter.stat.StatFilter-mergesqlerror,dbTypeoracle,"目测为嵌套函数异常,单独Oracle执行sql正常,添加了druid监控后报错这个问题不解决也不影响程序的正常运行,但是看着特别不舒服 试了几种方法:升级druid...

org.springframework.jdbc.UncategorizedSQLException

SQLstate[99999];errorcode[17056];不支持的字符集(在类路径中添加orai18n.jar):ZHS16GBK;原因:和数据库字符集不一致解决办法:添加依赖 <!--https://mvnrepository.com/artifact/com.oracle.database....

Spring Security(二十九):9.4.1 ExceptionTranslationFilter

ExceptionTranslationFilter isaSpringSecurityfilterthathasresponsibilityfordetectinganySpringSecurityexceptionsthatarethrown.Suchexceptionswillgenerallybeth...

Spring Security(二十):6.2.3 Form and Basic Login Options

Youmightbewonderingwheretheloginformcamefromwhenyouwerepromptedtologin,sincewemadenomentionofanyHTMLfilesorJSPs.Infact,sincewedidn’texplicitlysetaURLforthelogin...

异常:NoNodeAvailableException

 1、启动时候出现nodenullnotpartoftheclusterCluster[********],ignoring...2、启动时正常,但是请求时出现NoNodeAvailableException1、配置错误   使用TransportClient时要特别注意配置信息...
代码星球 ·2021-02-23

上传文件异常 MultipartException

参考自  https://blog.csdn.net/u010429286/article/details/54381705上传文件报错org.springframework.web.multipart.MultipartExceptionCouldnotparsemultipartservletr...

nested exception is org.apache.ibatis.reflection.ReflectionExceptio

org.mybatis.spring.MyBatisSystemException:nestedexceptionisorg.apache.ibatis.reflection.ReflectionException:Thereisnogetterforpropertynamed'parent_maintenance_n...

表情存储异常--mybatis抛出异常(java.sql.SQLException: Incorrect string value: 'xF0x9Fx92x94' for column 'name' at row 1)

文章参考 https://blog.csdn.net/junsure2012/article/details/42171035https://www.cnblogs.com/WangYunShuaiBaoLe/p/9055215.htmlhttps://www.jb51.net/article/112879....

unhandled exception(没有处理异常)

今天在代码中抛出了Exception类, 但是出现了代码报错意思是,未处理异常因为Exception是check异常,也就是必须在代码层面直接捕获处理的,这类异常有IOException等。...

HttpMessageNotReadableException(一)

1、今天移动端调用接口时候出现下面异常org.springframework.http.converter.HttpMessageNotReadableException:JSONparseerror:Unrecognizedtoken'name':wasexpecting('true','false'or'null'...
代码星球 ·2021-02-23

NullPointerException

if(userName.equals("zhansan")){}  可能会报空指针异常...
代码星球 ·2021-02-23

clikhouse报错:DB::Exception: Storage MergeTree requires 3 to 4 parameters:

 /Receivedexceptionfromserver(version20.2.1):Code:42.DB::Exception:Receivedfromlocalhost:9000.DB::Exception:StorageMergeTreerequires3to4parameters:nameofco...

clikhouse报错: DB::Exception: Cannot convert NULL to a non-nullable type

 /Receivedexceptionfromserver(version20.2.1):Code:42.DB::Exception:Receivedfromlocalhost:9000.DB::Exception:StorageMergeTreerequires3to4parameters:nameofco...

JQuery select option append

三种方法:$('select').append($('<option>',{value:1,text:'One'}));$('select').append('<optionval="1">One</option>');varoption=newOption(text,value);...
代码星球 ·2021-02-21

Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8

mac或者linux下编译没有问题,在window上面编译就出现了这个问题。原因是:各个操作系统字符宽度不统一的原因。解决方法:配置window环境变量,如下:环境变量名为:JAVA_TOOL_OPTIONS变量值为:-Dfile.encoding=UTF-8配置完成重启AndroidStudio即可。 ...
首页上一页...3839404142...下一页尾页