Hi,

I have followed the turorial from the start and created all files manually
(Model, DAO, Manager, Implementation). All seems fine until the Web with
Spring tutorial. Since I have used the modular version, I get an error when
running the Controller test. Error says: "cannot find class <insert name of
the DAO here>".

I'm guessing that this is because the DAO is created in the core module and
the web module knows nothing of it.

My questions are: "Should I run a mvn appfuse:gen ... command in the web
module to create the classes?", "Copy the classes from the core module to
the web module?", "Make them visible in some other manner?", "Or acknowledge
that this is a stupid question and settle for learning the observer, facade
and other patterns properly".

Cheers, Villu
-- 
View this message in context: 
http://www.nabble.com/AppFuse-Sring-MVC-modular-tutorial%3A-Models-not-exposed-to-web--tp21092515s2369p21092515.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to