on ‎2020 Jul 01 2:03 PM
hello experts,
I try to upgrade my local environment to version 2005 according to documentation upgrade 1905 to 2005
Everything goes ok.
ant clean all and hybrisserver.sh starts without errors.
storefront is Spartacus
when i go to https://localhost:4002 I see in console that request
fails with 404 error
response :
{ "errors" : [ { "message": "There is no resource for path /rest/v2/apparel-uk-spa/cms/pages", "type": "UnknownResourceError" } ] }
Request clarification before answering.
Did you do "ant addoninstall" for "cmsoccaddon"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you will check https://localhost:9002/rest/ Swagger, then you won't find Components webservice there. So may be you forgot to install addon or in process of migration to 2005 while copy-paste new requestMappingHandlerMapping method in WebConfig you forgot to change Handler Mapping to 'v2' in requestMappingHandlerMapping
Should be
final CommerceHandlerMapping handlerMapping = new CommerceHandlerMapping("v2"); in v2 WebConfig, not
final CommerceHandlerMapping handlerMapping = new CommerceHandlerMapping("v1");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.