ZhangKe4042602
ZhangKe4042602
我的使用MAC OS 电脑调试的,发现在判断时只判断了Linux和Windows。我修改后继续调试。在执行maven 命令begin to exec the command /bin/bash -c mvn dependency:copy-dependencies -DoutputDirectory=/app/doe/lib/ -DincludeScope=compile -f /app/doe/pom.xml; 错误信息是: [WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] [INFO]...
我今天找了下报错的原因,是在执行Linux maven命令时只能在/app/doe下,也就是pom.xml下执行才可以。我已经把/app/doe添加到环境变量中了还是报错。在/app/doe下执行就可以。明天再找下原因吧。感觉这个工具还是挺方便的,十分感谢
补充一下。我在使用中发现如果判断的-1必须是Long,(:#{#idList[0]} = -1L or u.id in :idList),估测是因为id的类型为Long。  
  张哥,使用中遇到了参数是List 查询提示解析参数异常的问题,异常信息如下: org.springframework.expression.spel.SpelEvaluationException: EL1025E: The collection has '0' elements, index '0' is invalid at org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.growCollectionIfNecessary(Indexer.java:704) at org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.getValue(Indexer.java:667) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:92) at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:117) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:308) at org.springframework.data.jpa.repository.query.QueryParameterSetterFactory$ExpressionBasedQueryParameterSetterFactory.evaluateExpression(QueryParameterSetterFactory.java:179) at org.springframework.data.jpa.repository.query.QueryParameterSetterFactory$ExpressionBasedQueryParameterSetterFactory.lambda$create$0(QueryParameterSetterFactory.java:164) at...
>  >  > 张哥,使用中遇到了参数是List 查询提示解析参数异常的问题,异常信息如下: > org.springframework.expression.spel.SpelEvaluationException: EL1025E: The collection has '0' elements, index '0' is invalid > > ``` > at org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.growCollectionIfNecessary(Indexer.java:704) > at org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.getValue(Indexer.java:667) > at...