[RomaFramework-dev] ConfigurationNotFoundException deploying to Tomcat 5.5
Brought to you by:
lvca
|
From: David B. <dbe...@be...> - 2006-07-24 22:27:26
|
After going through the tutorial, I am receiving the following error
when deploying the tutorial 'blog' app to Tomcat 5.5...
17:19:23,084 ERROR [[FEServlet]] Servlet.service() for servlet
FEServlet threw exception
org.romaframework.core.exception.ConfigurationNotFoundException: Class
HomePage
at org.romaframework.core.schema.SchemaClass.<init>(Unknown Source)
at org.romaframework.core.schema.SchemaManager.createClassInfo(Unknown
Source)
at org.romaframework.core.schema.SchemaManager.getClassInfo(Unknown
Source)
at org.romaframework.core.schema.SchemaManager.getClassInfo(Unknown
Source)
at org.romaframework.core.flow.ObjectContext.show(Unknown Source)
at org.romaframework.core.flow.ObjectContext.show(Unknown Source)
at
com.bensoft.romablog.CustomApplicationConfiguration.startUserSession(Cus
tomApplicationConfiguration.java:29)
My CustomApplicationConfiguration is as follows:
1 package com.bensoft.romablog;
2
3 import org.romaframework.aspect.view.Desktop;
4 import org.romaframework.aspect.view.echo2.desktop.BasicDesktop;
5 import org.romaframework.core.config.ApplicationConfiguration;
6 import org.romaframework.core.flow.ObjectContext;
7
8
9 public class CustomApplicationConfiguration implements
ApplicationConfiguration {
10 public void startup() {
11 // INSERT APPLICATION STARTUP HERE
12 }
13
14 public void shutdown() {
15 // INSERT APPLICATION SHUTDOWN HERE
16 }
17
18 /**
19 * Return initial desktop.
20 */
21 public Desktop getDesktop() {
22 return new BasicDesktop();
23 }
24
25 /**
26 * Callback called on every user connected to the application
27 */
28 public void startUserSession() {
29 ObjectContext.getInstance().show( new
com.bensoft.romablog.view.domain.HomePage() );
30 }
31 }
I have tried with both the import and the fully qualified class name.
Any ideas?
--Dave
|