Hi,

This is the original error :


java.lang.ClassFormatError

Illegal field modifiers in class 
fr/msa/agora/bt1tarif/websaisi/base/XhrSensitiveBlocItf: 0x12


XhrSensitiveBlocItf.java is an interface which is in the package "base", when I 
put it in internal it works.

Is it the right solution to fix this problem because I will have to change the 
location of full classes ?


Thanks.


Nicolas


________________________________
De : Thiago H de Paula Figueiredo <thiag...@gmail.com>
Envoyé : mercredi 8 juin 2016 23:38:31
À : Tapestry users
Objet : Re: Illegal field modifiers in class ...: 0x12

On Wed, 08 Jun 2016 06:06:13 -0300, Nathan Quirynen
<nat...@pensionarchitects.be> wrote:

> Hey,

Hi!

> In what package was the interface originally? Because Tapestry does
> bytecode rewriting in some defined packages; I know it does in package
> "components".

Packages components, pages, base and mixins, to be complete. :)

> So this might be what is happening and then it is true that the
> interface should be moved outside of this package.

Exactly.
Nothing that isn't a component should be in the components package.
Nothing that isn't a page should be in the pages package.
Nothing that isn't a mixin should be in the mixins package.
Nothing that isn't a abstract superclass for other base, component, page
or mixin classes should be in the base package.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to