Thank you dusty! LookupManager interface is correctly defined, in file applicationContext-service.xml, nor in applicationContext.xml.
This file is located in /src/main/resources. I guess if Jetty is not able to find the file correctly... dusty wrote: > > I think this error means that spring cannot find the correct > implementation for your LookupManager interface. What I would do is go > look at the applicationContext.xml and verify that the class you have > specified there implements the correct interface. > > This has happened to me in the past when I have customized/changed > interfaces and copied and pasted the bean definition without changing the > implementation class. > > -D > > Acrobat wrote: >> >> Hi all, >> >> I'm trying to run AppFuse in Jetty, without having done any changes to >> code and I'm getting this error: >> java.lang.ClassCastException: $Proxy36 cannot be cast to >> com.app.ebun.service.LookupManager >> >> This error is not appearing when I create the WAR file for the >> application and deploying it to Tomcat. >> >> It's similar to this >> http://www.nabble.com/Help%21-mvn-jetty%3Arun-war-failed-td13433151.html >> one , except in my case I use basic AppFuse, not modular. >> >> Thanks in advance for your support! >> >> Environment: AppFuse 2.0.1, Spring MVC, Basic, Full source >> > > -- View this message in context: http://www.nabble.com/Error-deploying-in-Jetty-tp16227534s2369p16241196.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
