Skip to Content
Sep 13, 2019 at 01:53 PM

B2BPunchout AddOn Startup Error


Hello - I am running into an issue installing the b2bpunchout AddOn to my existing Storefront. Note that this is my first attempt at setting up an AddOn so it is most likely an issue with my approach. I have succefully executed the command "ant addoninstall -Daddonnames="b2bpunchoutaddon" -DaddonStorefront.yacceleratorstorefront="mystorefront"" which appears to have made some updates to my storefront project. From there an "ant clean all" was performed and the build was also succesfull. However on server startup I am getting a ClassNotFound error during bean creation :

Cannot find class [de.hybris.platform.b2bpunchoutaddon.interceptors.PunchOutBeforeViewHandler] for bean with name 'punchoutBeforeViewHandler' defined in class path resource [b2bpunchoutaddon/web/spring/b2bpunchoutaddon-web-spring.xml]; nested exception is java.lang.ClassNotFoundException: de.hybris.platform.b2bpunchoutaddon.interceptors.PunchOutBeforeViewHandler

Both the b2bpunchout extension and the b2bpunchoutaddon are listed in my Storefront's extentioninfo.xml. Also, I see this PunchOutBeforeViewHandler in the acceleratoraddon dir of the b2bpunchoutaddon project but nowhere else. Was this file supposed to be copied somewhere? Is there a step I have missed?