You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jack Nuzbit <fn...@googlemail.com> on 2008/04/08 16:26:20 UTC

T5: Base class java.text.Format (super class of my.package.MyFormat) is not in a controlled package

Hi All,

I'm trying to use a custom Format object with the output component but I'm
getting the following exception:

Caused by: java.lang.RuntimeException: Base class java.text.Format (super
class of my.package.tapestry.pages.util.MyFormat) is not in a controlled
package and is therefore not valid. You should try moving the class to
package my.package.tapestry.base.
        at
org.apache.tapestry.internal.services.ComponentClassTransformerImpl.transformComponentClass(ComponentClassTransformerImpl.java:126)
        at
$ComponentClassTransformer_1192e553582.transformComponentClass($ComponentClassTransformer_1192e553582.java)
        at
org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.onLoad(ComponentInstantiatorSourceImpl.java:166)
        at javassist.Loader.findClass(Loader.java:340)

Does anyone have any experience with this? Does tapestry 5 not support
custom Format objects and if so is there any reason for this?

Many thanks,

Jack