In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
How to debug Hybris ECP, in view of this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
The following shows how to set up a debugging environment for Hybris ECP (Enterprise Business platform).
1. Start the Hybris server with the debugging option
Start the Hybris server in debug mode
two。 Import the folder hybris\ bin into Eclipse. Right-click the extension you want to debug. In my case, it is yacceleratorstorefront.
Import the entire bin folder into Eclipse.
3. Set breakpoints in the file\ bin\ ext template\ yacceleratorstorefront\ web\ src\ de\ hybris\ platform\ yacceleratorstorefront\ filters\ cms\ CMSSiteFilter. JAVA
Take opening the UI of storefront as an example, set a breakpoint in the file mentioned above. Open UI with a browser, and the breakpoint triggers:
And access the storefront url below and try to open a catalog:
Then breakpoint is triggered:
The url observed from the debugger is the same as the url of the product detail page that was last opened.
After pressing continue in the debugger, you can check the url in the debugger as expected to see the details page.
This is the answer to the question about how to debug Hybris ECP. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.