Can you build the sca/modules/implementation-spring module successfully ? This module have spring iTests that reference the namespace in question.
On Wed, Aug 13, 2008 at 6:55 PM, Abraham Washington <[EMAIL PROTECTED]> wrote: > hi all...no luck no matter which way i try. has anyone had any success > getting the application context using spring has an implementation. not > sure how I can get a bean if I can't get the application context. > > > > thx abe > > ----- Original Message ---- > From: Abraham Washington <[EMAIL PROTECTED]> > To: [email protected] > Sent: Monday, August 11, 2008 12:24:12 PM > Subject: Re: sca namespace in spring > > Running it in eclipse using scadomain. sca-1.3. spring 2.0.1. > > > > when i make the call to get the application context, it hurls. here's my > beanRefFactory.xml > > > > < > > beans> > > <bean id="beanRefFactory" > > class="org.springframework.context.support.ClassPathXmlApplicationContext"> > > <constructor-arg> > > <list> > > <value>Organization-spring-context.xml</value> > > </list> > > </constructor-arg> > > </bean> > > </ > > beans> > > > here's my call to get the applicationContext: > > > org.springframework.context.ApplicationContext applicationContext = > > (org.springframework.context.ApplicationContext) > org.springframework.context.access.ContextSingletonBeanFactoryLocator.getInstance( > > "beanRefFactory.xml").useBeanFactory("beanRefFactory").getFactory(); > > > thx abe > > > > ----- Original Message ---- > From: Luciano Resende <[EMAIL PROTECTED]> > To: [email protected] > Sent: Saturday, August 9, 2008 5:16:04 PM > Subject: Re: sca namespace in spring > > What is the environment you are running the application and > experiencing the validation error ? > > On Sat, Aug 9, 2008 at 2:09 PM, Abraham Washington <[EMAIL PROTECTED]> > wrote: >> >> hi all...when running with the spring implementation, i'm running into the >> following error: >> >> >> Configuration problem: Unable to locate NamespaceHandler for namespace >> [http://www.springframework.org/schema/sca] >> >> >> >> going out to the spring website http://www.springframework.org/schema/ i >> don't see the sca directory. here's the beginning definition for my app's >> context: >> >> >> >> < >> >> beans xmlns="http://www.springframework.org/schema/beans" >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> xmlns:sca="http://www.springframework.org/schema/sca" >> >> xsi:schemaLocation=" >> >> http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans.xsd >> >> http://www.springframework.org/schema/sca >> http://www.springframework.org/schema/sca/spring-sca.xsd" >> >>> >> >> >> >> ideas? thx abe >> > > > > -- > Luciano Resende > Apache Tuscany Committer > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > > > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
