ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Wiring Your Web Application with Open Source Java
Subject:   Problems
Date:   2004-06-07 13:08:18
From:   bryancdickson
Great article! I just wish I could run the example! I've got everything running, and the build.xml seemed to create the database just fine, however, I'm getting the following error when creating an order (any ideas?):


org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'orderService' defined in resource [/WEB-INF/applicationContext-hibernate.xml] of ServletContext: Class that bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:304)
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.loadBeanDefinition(DefaultXmlBeanDefinitionParser.java:200)
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:152)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:161)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:127)
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:62)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:226)
org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:125)
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:154)
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:95)
org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:80)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:683)
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
org.apache.catalina.startup.HostConfig.start(HostConfig.java:964)
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
org.apache.catalina.startup.Catalina.start(Catalina.java:556)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)



Any help would greatly be appreciated. Thanks!


B


1 to 1 of 1
  1. Problems
    2004-06-11 13:49:10  meagle [View]

    • Problems
      2004-06-26 20:25:48  lazyboy [View]

      • Problems
        2006-05-27 16:13:40  hbravo80 [View]

1 to 1 of 1