But I annotation it in AppModule like this:
@SubModule(com.gsww.subapp.SubappModule.class)
public class AppModule {
.....
}
I trace into ComponentClassResolverImpl'class , the
ClassLoader.getResources("com/gsww/subapp/pages") can't found
this package URLs.
I think because the jar exported by eclipse has not package entrys, just has
.class entry, so search package return nothing!
Did anyone has such problem?
--------------------------------------------------
From: "Kristian Marinkovic" <[email protected]>
Sent: Thursday, April 15, 2010 2:26 PM
To: "Tapestry users" <[email protected]>
Subject: Antwort: Why SubModule exported by eclipse can't auto loaded it's
pages/* ? but sub module packaged by maven can be loaded?
i guess you're missing the Tapestry-Module-Classes entry in your
META-INF/manifest.mf file
see also: http://tapestry.apache.org/tapestry5/tapestry-ioc/autoload.html
g,
kris
Von: 董和平 <[email protected]>
An: "Tapestry users" <[email protected]>
Datum: 15.04.2010 02:56
Betreff: Why SubModule exported by eclipse can't auto loaded it's
pages/* ? but sub module packaged by maven can be loaded?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]