Announcement Announcement Module
Collapse
No announcement yet.
can anyone help me please Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • can anyone help me please

    i am having the following error
    2009-08-28 12:47:19,271 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started
    2009-08-28 12:47:19,333 INFO [org.springframework.web.context.support.XmlWebAppl icationContext] - Refreshing org.springframework.web.context.support.XmlWebAppl icationContext@13552ed: display name [Root WebApplicationContext]; startup date [Fri Aug 28 12:47:19 EDT 2009]; root of context hierarchy
    2009-08-28 12:47:19,427 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml]
    2009-08-28 12:47:19,583 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - Overriding bean definition for bean '_messageBrokerDefaultHandlerMapping': replacing [Generic bean: class [org.springframework.web.servlet.handler.SimpleUrlH andlerMapping]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.web.servlet.handler.SimpleUrlH andlerMapping]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
    2009-08-28 12:47:19,599 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - Overriding bean definition for bean '_messageBrokerRemotingProcessor': replacing [Generic bean: class [org.springframework.flex.messaging.remoting.Remoti ngServiceConfigProcessor]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.flex.messaging.remoting.Remoti ngServiceConfigProcessor]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
    2009-08-28 12:47:19,599 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - Overriding bean definition for bean '_messageBroker': replacing [Generic bean: class [org.springframework.flex.messaging.MessageBrokerFa ctoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.springframework.flex.messaging.MessageBrokerFa ctoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
    2009-08-28 12:47:19,599 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-security.xml]
    2009-08-28 12:47:20,458 INFO [org.springframework.security.config.HttpSecurityBe anDefinitionParser] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page.
    2009-08-28 12:47:20,536 INFO [org.springframework.security.userdetails.memory.Us erMap] - Adding user [org.springframework.security.userdetails.User@845f 1c00: Username: john; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_ADMIN, ROLE_USER]
    2009-08-28 12:47:20,536 INFO [org.springframework.security.userdetails.memory.Us erMap] - Adding user [org.springframework.security.userdetails.User@e586 9400: Username: guest; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_GUEST]
    2009-08-28 12:47:20,552 INFO [org.springframework.web.context.support.XmlWebAppl icationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebAppl icationContext@13552ed]: org.springframework.beans.factory.support.DefaultL istableBeanFactory@1d5176d
    2009-08-28 12:47:20,927 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@1d5176d: defining beans [_messageBrokerHandlerAdapter,_messageBrokerDefault HandlerMapping,_messageBrokerRemotingProcessor,_me ssageBrokerLoginCommand,org.springframework.flex.m essaging.security.SecurityExceptionTranslationAdvi ce#0,org.springframework.flex.messaging.security.E ndpointServiceMessagePointcutAdvisor#0,_messageBro kerSecurityProcessor,_messageBroker,inquiryService ,report,dataSource,jdbcTemplate,_authenticationMan ager,_filterChainProxy,_httpSessionContextIntegrat ionFilter,_filterChainProxyPostProcessor,_filterCh ainList,_securityContextHolderAwareRequestFilter,_ accessManager,_portMapper,_exceptionTranslationFil ter,_filterSecurityInterceptor,_anonymousAuthentic ationProvider,_anonymousProcessingFilter,_remember MeServices,_rememberMeAuthenticationProvider,_reme mberMeFilter,_rememberMeServicesInjectionBeanPostP rocessor,_logoutFilter,_basicAuthenticationEntryPo int,_basicAuthenticationFilter,_formLoginFilter,_f ormLoginEntryPoint,_defaultLoginPageFilter,_entryP ointInjectionBeanPostProcessor,_userServiceInjecti onPostProcessor,org.springframework.security.provi ders.dao.DaoAuthenticationProvider#0,org.springfra mework.security.userdetails.memory.InMemoryDaoImpl #0,org.springframework.security.config.Authenticat ionProviderBeanDefinitionParser$AuthenticationProv iderCacheResolver#0]; root of factory hierarchy
    2009-08-28 12:47:21,052 INFO [org.springframework.flex.messaging.config.FlexConf igurationManager] - Loading Flex services configuration from: ServletContext resource [/WEB-INF/flex/services-config.xml]
    2009-08-28 12:47:21,302 INFO [org.springframework.flex.messaging.config.FlexConf igurationManager] - Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/remoting-config.xml]
    2009-08-28 12:47:21,302 INFO [org.springframework.flex.messaging.config.FlexConf igurationManager] - Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/proxy-config.xml]
    2009-08-28 12:47:21,318 INFO [org.springframework.flex.messaging.config.FlexConf igurationManager] - Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/messaging-config.xml]
    2009-08-28 12:47:21,474 INFO [org.springframework.flex.messaging.MessageBrokerFa ctoryBean] - BlazeDS - Community Edition: 3.2.0.3978
    2009-08-28 12:47:21,646 INFO [org.springframework.flex.messaging.MessageBrokerFa ctoryBean] - MessageBroker with id '_messageBroker' is starting.
    2009-08-28 12:47:21,724 INFO [org.springframework.flex.messaging.MessageBrokerFa ctoryBean] - MessageBroker with id '_messageBroker' is ready (startup time: '78' ms)
    2009-08-28 12:47:21,864 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@1d5176d: defining beans [_messageBrokerHandlerAdapter,_messageBrokerDefault HandlerMapping,_messageBrokerRemotingProcessor,_me ssageBrokerLoginCommand,org.springframework.flex.m essaging.security.SecurityExceptionTranslationAdvi ce#0,org.springframework.flex.messaging.security.E ndpointServiceMessagePointcutAdvisor#0,_messageBro kerSecurityProcessor,_messageBroker,inquiryService ,report,dataSource,jdbcTemplate,_authenticationMan ager,_filterChainProxy,_httpSessionContextIntegrat ionFilter,_filterChainProxyPostProcessor,_filterCh ainList,_securityContextHolderAwareRequestFilter,_ accessManager,_portMapper,_exceptionTranslationFil ter,_filterSecurityInterceptor,_anonymousAuthentic ationProvider,_anonymousProcessingFilter,_remember MeServices,_rememberMeAuthenticationProvider,_reme mberMeFilter,_rememberMeServicesInjectionBeanPostP rocessor,_logoutFilter,_basicAuthenticationEntryPo int,_basicAuthenticationFilter,_formLoginFilter,_f ormLoginEntryPoint,_defaultLoginPageFilter,_entryP ointInjectionBeanPostProcessor,_userServiceInjecti onPostProcessor,org.springframework.security.provi ders.dao.DaoAuthenticationProvider#0,org.springfra mework.security.userdetails.memory.InMemoryDaoImpl #0,org.springframework.security.config.Authenticat ionProviderBeanDefinitionParser$AuthenticationProv iderCacheResolver#0]; root of factory hierarchy
    2009-08-28 12:47:21,880 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'inquiryService' defined in ServletContext resource [/WEB-INF/config/web-application-config.xml]: 1 constructor arguments specified but no matching constructor found in bean 'inquiryService' (hint: specify index and/or type arguments for simple parameters to avoid type ambiguities)
    at org.springframework.beans.factory.support.Construc torResolver.autowireConstructor(ConstructorResolve r.java:187)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.autowireConstructor(Abs tractAutowireCapableBeanFactory.java:923)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBeanInstance(Abst ractAutowireCapableBeanFactory.java:834)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:443)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:412)
    at java.security.AccessController.doPrivileged(Native Method)

  • #2
    Originally posted by master123 View Post
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'inquiryService' defined in ServletContext resource [/WEB-INF/config/web-application-config.xml]: 1 constructor arguments specified but no matching constructor found in bean 'inquiryService'
    It would seem to be pretty self-explanatory...

    You are trying to construct your 'inquiryService' using a single constructor arg but there is no such constructor in that class.

    Comment

    Working...
    X