You should not add spring-webflow and sculptor-framework-web dependency to you business tier project. Why do you have to do that? Have you placed your subclass of ExceptionAdvice in the business tier project? You should place it in the web project.
/Patrik ralfst wrote: > > Thank you for your help. > > I tried the option to implement a subclass of ExceptionAdvice. For this > purpose I had to add the JARs for the spring-webflow and > sculptor-framework-web from the Maven Repository into the build path of my > project (the one with the application logic). I also added the > dependencies in the POM. > > MVN install is successful, but when i try to deploy my application server, > I get this error: > > ERROR [ContextLoader] Context initialization failed > org.springframework.beans.factory.CannotLoadBeanClassException: Error > loading class [org.helloworld.errorhandling.HelloworldExceptionAdvice] for > bean with name 'webExceptionAdvice' defined in ServletContext resource > [/WEB-INF/applicationContext.xml]: problem with class file or dependent > class; nested exception is java.lang.NoClassDefFoundError: > org/fornax/cartridges/sculptor/framework/web/errorhandling/ExceptionAdvice > Caused by: > java.lang.NoClassDefFoundError: > org/fornax/cartridges/sculptor/framework/web/errorhandling/ExceptionAdvice > > Did I make a mistake concerning the configuration of the build path or is > there missing something? > > Greets, Ralf > -- View this message in context: http://www.nabble.com/checking-against-range-of-values-tp20293432s17564p20586855.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
