Modules should end up in: <classpath>/META-INF/modules (classpath in your case being WEB-INF/classes )
You haven't shared anything about how you attempt to reference the files so its hard to help you. To include the module in: WEB-INF/classes/META-INF/modules/login/login.js You could do @Import( module = "login/login" ) in your page or in a component on the page. HTH -- Chris On Thu, Feb 5, 2015 at 9:52 AM, samt & sonders <kont...@samtundsonders.at> wrote: > hi, > > I'm trying to upgrade my project from 5.3.8 and running into problems > using modules. > For the source directory structure I have tried: > > src/main/resources/META-INF/modules/mymodule/mymodule.js AND > src/main/modules/mymodule/mymodule.js > > and for the deployment directory structure I have tried this: > > WEB-INF/classes/META-INF/modules/login/login.js AND > WEB-INF/classes/mymodule/mymodule.js > > In both cases I get: > [Error] Failed to load resource: the server responded with a status of 404 > (Not Found) (login.js, line 0) > [Error] RequireJS error: scripterror: Script error for: login > http://requirejs.org/docs/errors.html#scripterror, modules login > (anonymous function) (console.js, line 104) > onError (console.js, line 133) > onError (require.js, line 537) > onScriptError (require.js, line 1681) > > Thanks for your help! > Andreas > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >