Hi David.

I have two thoughts.  First, the "Requested Screen not found" line looks
suspicious because normally the exception message lists the screen that it
was looking for.  For instance, I get the error: "Requested Screen not
found: BadScreen" when I type a bogus screen BadScreen in the URL.  Are you
sure the request is correct inside Eclipse?

Second, if it is a classpath issue, the configuration for the tomcat plug-in
is a 1st-rate candidate for the problem.  IIRC, there have been issues with
tomcat using relative paths while the servlet standard is to use absolute
(it might be the other way around, I still haven't had my coffee this
morning).  If that is the case, maybe the plug-in is expecting an absolute
path somewhere where you have a relative one (web.xml || server.xml)?

Good luck,

Chris

> -----Original Message-----
> From: David Wynter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 4:04 AM
> To: Turbine-User
> Subject: Move from std tdk directory causes error
>
>
> Hi,
>
> I have the following error
>
> Horrible Exception: java.lang.ClassNotFoundException:
>
>       Requested Screen not found:
>       Turbine looked in the following modules.packages path:
>       [com.roamware.rwtransform.modules, org.apache.turbine.modules]
>
>       at
> org.apache.turbine.modules.ScreenLoader.getInstance(ScreenLoader.java:197)
>
> This was caused because I had to move my turbine project from the standard
> location setup by the TDK to the Eclipse IDE workspace directory. I copied
> all directories under the project directory into the workspace setup by
> Eclipse and built the project, I use the Sysdeo Tomcat plugin for Eclipse.
> Now when I run it from Eclipse I get the above error. I have checked the
> Turbineresources.properties file and it has nothing that is directory
> specific so don't know why it suddenly cannot find the Default
> screen class.
>
> Code is not changed. Eclipse does allow you to change the project
> directory
> to the webapps directory, but it blows up when it tries to compile my 6
> Turbine projects with non standard package path (/WEB-INF/src/java/com/...
> instead of /WEB-INF/src/com/...)
>
> Any ideas?
>
> David Wynter
>
> roamware Ltd.
> (+44) (0) 208 922 7539 B.
> (+44) (0) 7879 605 706 M.
> [EMAIL PROTECTED]
>
>
> --
> 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]>

Reply via email to