[ http://issues.apache.org/jira/browse/TUSCANY-923?page=comments#action_12458492 ] Ignacio Silva-Lepe commented on TUSCANY-923: --------------------------------------------
I have added RequestScopeObjectFactory to embeddedMaven.scdl with r487218, can you test to see if this fixes it? > @Scope("REQUEST") causes ScopeNotFoundException > ----------------------------------------------- > > Key: TUSCANY-923 > URL: http://issues.apache.org/jira/browse/TUSCANY-923 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core > Affects Versions: Java-Mx > Reporter: Greg Dritschler > Assigned To: Jim Marino > > Using @Scope("REQUEST") in an implementation class causes the following error > at build time. > [INFO] > ------------------------------------------------------------------------ > [INFO] Scope object factory not registered for scope [REQUEST] > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.tuscany.spi.component.ScopeNotFoundException: Scope object factory > not registered for scope [REQUEST] > at > org.apache.tuscany.core.component.scope.ScopeRegistryImpl.getScopeContainer(ScopeRegistryImpl.java:65) > at > org.apache.tuscany.core.implementation.java.JavaComponentBuilder.build(JavaComponentBuilder.java:75) > at > org.apache.tuscany.core.implementation.java.JavaComponentBuilder.build(JavaComponentBuilder.java:52) > at > org.apache.tuscany.core.builder.BuilderRegistryImpl.build(BuilderRegistryImpl.java:115) > at > org.apache.tuscany.core.implementation.composite.CompositeBuilder.build(CompositeBuilder.java:93) > at > org.apache.tuscany.core.builder.BuilderRegistryImpl.build(BuilderRegistryImpl.java:115) > at > org.apache.tuscany.core.deployer.DeployerImpl.build(DeployerImpl.java:115) > at > org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:81) > RequestScopeObjectFactory is not registering with the ScopeRegistry. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]