You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above code snippet , @RequestBody and @Valid are two annotations given to ProductDetail parameter . If we run the cleanArch generate archetype task , we get the following error :
Failed to resolve variables in: 'C:\harish\projects\archetype\src\main\resources\templates\src\main\java_packagePath_\model\web\rest\ProductDetailRestRestController.java]
No such property: RequestBody for class: groovy.lang.Binding
@orctom : Can you suggest any solution / configuration for the same if we are missing something? . If its an outstanding issue , is there an ETA for the fix ?
The text was updated successfully, but these errors were encountered:
I probably should trying to fix it. As you can escape @ by @@, #14 1.4.5 might run into some other issue.
So, go either way, @@ or update version to 1.4.5.
@PostMapping
public ResponseEntity createProduct(** @RequestBody @Valid ProductDetail product**) {
log.info("REST[createProduct] Rx[{}]", toStringHelper.asString(product));
In the above code snippet , @RequestBody and @Valid are two annotations given to ProductDetail parameter . If we run the cleanArch generate archetype task , we get the following error :
Failed to resolve variables in: 'C:\harish\projects\archetype\src\main\resources\templates\src\main\java_packagePath_\model\web\rest\ProductDetailRestRestController.java]
No such property: RequestBody for class: groovy.lang.Binding
@orctom : Can you suggest any solution / configuration for the same if we are missing something? . If its an outstanding issue , is there an ETA for the fix ?
The text was updated successfully, but these errors were encountered: