端点可以从web应用程序正确响应,但在运行测试(来自IntelliJ IDEA)时,我得到以下错误:'spring.data.rest.base-path' in string value "${spring.data.rest.base-path}/whatever"
application.propert
projection=withAccount readTimestamp="2015-12-15T11:32:06.380+0000"java.lang.IllegalArgumentException(ETag.java:191) ~[spring-data-rest-webmvc-2.4.1.RELEASE.jar:na]
at org.springframework.data.rest.webmvc.support.ETag.fro
每次尝试使用Spring Data REST和MongoDB创建项目时,都会遇到同样恼人的问题。尝试访问REST端点的每个测试都会产生由PersistentEntityResource构建器方法抛出的java.lang.IllegalArgumentException: PersistentEntitypersons"))
我在build.xml中构建了一个maven项目A,其中包含使用另一个pom导入所有测试依赖项。当我尝试将maven项目A包含到gradle项目B中时,出现错误。我尝试使用--info,首先它尝试正确的存储库url,并且更新jar缓存资源是最新的。但最终它会尝试其他方法并抛出错误。感谢您的帮助。> java.lang.IllegalArgumentException (no error messa
in context with path [/callcentre] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring classController [$Proxy109]] with root cause
j
我正在用DynamoDB构建一个Spring应用程序。我想添加Spring数据REST。数据层可以工作,但其他层在实体映射时失败。它正确地解析和创建了REST端点,但是我得到的PersistentEntity不能是null!访问REST时的消息和异常:
java.lang.IllegalArgumentException: PersistentEntity must not be null!这意味着我的实体没有注册。