That's what I get when I try to deploy it.

 

From: Raymond Feng [mailto:[email protected]] 
Sent: 29 June 2010 17:27
To: [email protected]
Subject: Re: Tuscany and Spring 3

 

Hi,

 

Did you see this exception from the maven build? Or was it from your
test?

 

It seems that either some dependencies are missing or the composite file
has wrong target namespace.

 

Thanks,

Raymond

________________________________________________________________ 

Raymond Feng

[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com

________________________________________________________________

 

On Jun 29, 2010, at 4:21 AM, Gregor Kiddie wrote:





Ok, checked out the latest code ( as of 18/06/10 ) and built it.

I'm getting this exception when I try to run it.

Caused by: java.lang.ClassCastException:
org.apache.tuscany.sca.assembly.impl.ExtensionImpl cannot be cast to
org.apache.tuscany.sca.assembly.Composite
            at
org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(Comp
ositeDocumentProcessor.java:114)
            at
org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(Comp
ositeDocumentProcessor.java:87)
            at
org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.read(Comp
ositeDocumentProcessor.java:50)
            at
org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcesso
rExtensionPoint$LazyURLArtifactProcessor.read(DefaultURLArtifactProcesso
rExtensionPoint.java:288)
            at
org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProce
ssor.read(ExtensibleURLArtifactProcessor.java:109)
            at
org.apache.tuscany.sca.contribution.processor.impl.ContributionContentPr
ocessor.read(ContributionContentProcessor.java:152)
            at
org.apache.tuscany.sca.contribution.processor.impl.ContributionContentPr
ocessor.read(ContributionContentProcessor.java:64)
            at
org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcesso
rExtensionPoint$LazyURLArtifactProcessor.read(DefaultURLArtifactProcesso
rExtensionPoint.java:288)
            at
org.apache.tuscany.sca.deployment.impl.DeployerImpl.loadContribution(Dep
loyerImpl.java:621)
            at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.loadContributions(NodeF
actoryImpl.java:394)
            at
org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:125)

-----Original Message-----
From: Luciano Resende [mailto:[email protected]] 
Sent: 22 June 2010 07:28
To: [email protected]
Subject: Re: Tuscany and Spring 3

On Wed, Jun 16, 2010 at 9:46 AM, Luciano Resende <[email protected]>
wrote:



On Wed, Jun 16, 2010 at 8:54 AM, Gregor Kiddie

        <[email protected]> wrote:

                Well, I utterly failed in trying to update it to 3!

                 

                Any chance you could take a look at it?

                 

                Gk.

                 

         

        Sure, let me look at it over the weekend.

         


I have fixed this in the 2.x trunk via TUSCANY-3605 and the Spring
dependency is now moved to 3.0.2.RELEASE. Please let me know if this
works for you.

[1] https://issues.apache.org/jira/browse/TUSCANY-3605

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

 

Reply via email to