Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get the exception “No service implements the interface org.apache.tapestry5.internal.InternalComponentResources” when trying to use the BeanEditForm component?

0
10 Posted

Why do I get the exception “No service implements the interface org.apache.tapestry5.internal.InternalComponentResources” when trying to use the BeanEditForm component?

0
10

This can occur when you choose the wrong package for your data object, the object edited by the BeanEditForm component. If you place it in the same package as your pages, Tapestry will treat it like a page, and perform a number of transformation on it, including adding a new constructor. Only component classes should go in the Tapestry-controlled packages (pages, components, mixins and base under your application’s root package). By convention, simple data objects should go in a data package, and Hibernate entities should go in an entities package.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123