Happy3w

查询时报错java.lang.reflect.InvocationTargetException SecurityConfiguration

2016.12.16
环境:UAP Studio V65开发+NCHome6.5 语言:Java 7、查询时报错java.lang.reflect.InvocationTargetException SecurityConfiguration 描述: 报错位:ESAPI.encoder().encodeForSQL(UAPESAPI.NC_DB_CODEC, inputString); 错误提示:java.lang.reflect.InvocationTargetException SecurityConfiguration class (org.owasp.esapi.reference.DefaultSecurityConfiguration) CTOR threw exception. 解决方案:加入vm参数jre“-Dorg.owasp.esapi.resources=${FIELD_NC_HOME}/ierp/bin/esapi” 具体位置:eclipse->references->installed jre->选中运行jre编辑vm