I saw this error when I was trying to build just this module but it went
away when I did a full build. 

I do see another error now at runtime (NoClassDefFound) in this module. It
could be due to scope=test 

Helloworld-ws-service/pom.xml

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>apache-activemq</artifactId>
            <version>4.1.1</version>
            <scope>test</scope>
        </dependency>        

It works fine once I change the scope to runtime.



> -----Original Message-----
> From: Luciano Resende [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 28, 2007 9:54 AM
> To: tuscany-dev
> Subject: Strange behavior with helloworld-ws-service and it's ActiveMQ
> dependency.
> 
> Anyone seeing this :
> 
> [INFO] Compilation failure
> 
> D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-ws-
> service\src\main\java\helloworld\HelloWorldJmsServer.java:[22,34]
> package org.apache.activemq.
> broker does not exist
> 
> D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-ws-
> service\src\main\java\helloworld\HelloWorldJmsServer.java:[33,8]
> cannot find symbol
> symbol  : class BrokerService
> location: class helloworld.HelloWorldJmsServer
> 
> D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-ws-
> service\src\main\java\helloworld\HelloWorldJmsServer.java:[33,35]
> cannot find symbol
> symbol  : class BrokerService
> location: class helloworld.HelloWorldJmsServer
> 
> 
> It's strange, as I do see the ActiveMQ jar and the offending class in
> place.
> 
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to