Everything under the .base. package is going to be loaded by the
component class loader, and transformed into a component class at
runtime.  Only components should go there, not data objects.

On Wed, Jul 2, 2008 at 4:02 PM, Martijn Brinkers (List)
<[EMAIL PROTECTED]> wrote:
> I get a "loader constraint violation" when a page is loaded:
>
> loader constraint violation: loader (instance of
> org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl
> $PackageAwareLoader) previously initiated loading for a different type
> with name "mitm/mimesecure/web/base/propertyeditor/DateProperty"
>
> The strange thinig is that this worked initially until I moved the
> DateProperty class to another package. DateProperty is used by the
> ordinary class mitm.mimesecure.web.beans.PDFPropertiesBean. If I move
> DateProperty back to the package mitm.mimesecure.web.beans everything is
> working fine. Somehow it only works when DateProperty is in the same
> package as PDFPropertiesBean.
>
> Any idea?
>
> Martijn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to