I am using the default layout of the tdk-2.1/velocity. My velocity templates are in: ~webapp/myapp/templates/app/screens/... (user, group, roles,...) under here.
My classes are in ~webapp/myapp/WEB-INF/classes/org/myproject/main/modules/screens/.... (user, group, roles,.....) My sources are in: ~webapp/myapp/WEB-INF/src/java/org/myapp/main/modules/screens/.... (user, group, roles,.....) I get this error for every screen called, whether or not I have a class file. According the DOC's you don't have to have a class file, and if you don't it will call the Default.java class in the appropriate directory. I did notice when filing this out, my templates are in myapp/templates/app - should this be, myapp/templates/myapp/screens? If so, why didn't the TDK build it that way? It seemed to build the rest of the directory structure correctly. Thanks, Cliff -----Original Message----- From: Eric Dobbs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 9:34 AM To: Turbine Users List Subject: Re: Repost: -- no responses yet: Turbine screens (*.java) files not being processed Turbine.handleException - "Requested Screen not found" On Tuesday, February 26, 2002, at 05:55 AM, Lang, Cliff wrote: > [Fri Feb 15 08:04:12 EST 2002] -- ERROR -- Turbine.handleException: > > Requested Screen not found: > Turbine looked in the following modules.packages path: > [org.myproject.main.modules, org.apache.turbine.flux.modules, > org.apache.turbine.modules] Typically this means your screens are not in this directory: tdk/webapps/myproject/main/modules/screens/ Or it means the names are not matching. For example, if you are going to this url: http://localhost:8080/myproject/servlet/myproject/template/Foo.vm Turbine will be looking for Foo.java in the above directory. If neither of those are the source of your problem, you'll have to give more details. Hope that helps. -Eric -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
