2017-06-26 6 views
-2

アプリケーションをSpringブートデータフローローカルサーバーに登録しようとしています。しかし、私は次のエラーが発生しています:ダッシュボード上。スプリングブートデータフロー:ページサイズは1未満である必要はありません

ページサイズは、この問題を解決するためにどのよう未満1

あってはなりませんか?私はどんな依存関係も見逃していますか?ただし、アプリケーションはデータフローシェルから正常に登録されています。しかし、それはまだダッシュボードから利用できません。以下のスクリーンショットとスタックトレースを参照してください。

enter image description here

enter image description here

2017-06-26 12:45:42.314 ERROR 5444 --- [nio-9393-exec-6] o.s.c.d.s.c.RestControllerAdvice   : Caught exception while handling a request 

java.lang.IllegalArgumentException: Page size must not be less than one! 
    at org.springframework.data.domain.AbstractPageRequest.<init>(AbstractPageRequest.java:47) ~[spring-data-commons-1.13.4.RELEASE.jar:na] 
    at org.springframework.data.domain.PageRequest.<init>(PageRequest.java:63) ~[spring-data-commons-1.13.4.RELEASE.jar:na] 
    at org.springframework.data.web.PagedResourcesAssembler.addPaginationLinks(PagedResourcesAssembler.java:222) ~[spring-data-commons-1.13.4.RELEASE.jar:na] 
    at org.springframework.data.web.PagedResourcesAssembler.createResource(PagedResourcesAssembler.java:205) ~[spring-data-commons-1.13.4.RELEASE.jar:na] 
    at org.springframework.data.web.PagedResourcesAssembler.toResource(PagedResourcesAssembler.java:115) ~[spring-data-commons-1.13.4.RELEASE.jar:na] 
    at org.springframework.cloud.dataflow.server.controller.AppRegistryController.list(AppRegistryController.java:119) ~[spring-cloud-dataflow-server-core-1.2.0.RELEASE.jar:1.2.0.RELEASE] 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121] 
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121] 
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-4.3.9.RELEASE.jar:4.3.9.RELEASE] 
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) ~[spring-w 
+1

なぜdownvote? :( – Forkmohit

答えて

1

これはspring-cloud/spring-cloud-dataflow#1545を介してアドレス指定されています。この修正は、今後の1.2.2.RELEASEに含まれます。

その間は、PRを取り出してテスト用にローカルに構築してください。

+0

ありがとう、それは動作します – Forkmohit

関連する問題