You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kumar k <ku...@yahoo.com> on 2007/09/12 14:30:09 UTC
reposting :pls reply : Compilatin error
I have a lw container component which has 2 jms consumer , 1 jms
provider and 2 pojo bean classes.Bean classes are not getting compiled. It is
not able to get javax.jbi.* classes. But if make this bean as
servicemix-bean component , it gets compiled. What I should do for making these
classes available ?
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
Re: reposting :pls reply : Compilatin error
Posted by kumar k <ku...@yahoo.com>.
Thanks Bruce, it works.
Bruce Snyder <br...@gmail.com> wrote: On 9/12/07, kumar k wrote:
> I built a lwcomponent using maven archetype command. Then I modified servicemix.xml to add jms and bean components. I am using mvn install for building . Compilation errors are
>
> [ cannot find symbol
> symbol : class MessageExchangeListener
> location: package org.apache.servicemix
> package javax.jbi.messaging does not exist
> package javax.jbi.messaging does not exist
> package javax.jbi.messaging does not exist
> cannot find symbol
> symbol: class MessageExchangeListener
> cannot find symbol
> symbol : class MessageExchange
> cannot find symbol
> symbol : class MessagingException
All of these missing classes are from the servicemix-core and
servicemix-jbi modules and should be included transitively from your
project's dependencies on servicemix components. So it looks to me as
if your projects are missing a dependency on a servicemix component.
Adding a dependency in your projects POM files on a servicemix
component will remedy the missing classes.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/
---------------------------------
Check out the hottest 2008 models today at Yahoo! Autos.
Re: reposting :pls reply : Compilatin error
Posted by Bruce Snyder <br...@gmail.com>.
On 9/12/07, kumar k <ku...@yahoo.com> wrote:
> I built a lwcomponent using maven archetype command. Then I modified servicemix.xml to add jms and bean components. I am using mvn install for building . Compilation errors are
>
> [ cannot find symbol
> symbol : class MessageExchangeListener
> location: package org.apache.servicemix
> package javax.jbi.messaging does not exist
> package javax.jbi.messaging does not exist
> package javax.jbi.messaging does not exist
> cannot find symbol
> symbol: class MessageExchangeListener
> cannot find symbol
> symbol : class MessageExchange
> cannot find symbol
> symbol : class MessagingException
All of these missing classes are from the servicemix-core and
servicemix-jbi modules and should be included transitively from your
project's dependencies on servicemix components. So it looks to me as
if your projects are missing a dependency on a servicemix component.
Adding a dependency in your projects POM files on a servicemix
component will remedy the missing classes.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/
Re: reposting :pls reply : Compilatin error
Posted by kumar k <ku...@yahoo.com>.
I built a lwcomponent using maven archetype command. Then I modified servicemix.xml to add jms and bean components. I am using mvn install for building . Compilation errors are
[ cannot find symbol
symbol : class MessageExchangeListener
location: package org.apache.servicemix
package javax.jbi.messaging does not exist
package javax.jbi.messaging does not exist
package javax.jbi.messaging does not exist
cannot find symbol
symbol: class MessageExchangeListener
cannot find symbol
symbol : class MessageExchange
cannot find symbol
symbol : class MessagingException
Bruce Snyder <br...@gmail.com> wrote:
On 9/12/07, kumar k wrote:
> I have a lw container component which has 2 jms consumer , 1 jms
> provider and 2 pojo bean classes.Bean classes are not getting compiled. It is
> not able to get javax.jbi.* classes. But if make this bean as
> servicemix-bean component , it gets compiled. What I should do for making these
> classes available ?
What is your compilation error? How are you building your classes?
Using Ant or Maven? As always, please provide more detail.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/
---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
Re: reposting :pls reply : Compilatin error
Posted by Bruce Snyder <br...@gmail.com>.
On 9/12/07, kumar k <ku...@yahoo.com> wrote:
> I have a lw container component which has 2 jms consumer , 1 jms
> provider and 2 pojo bean classes.Bean classes are not getting compiled. It is
> not able to get javax.jbi.* classes. But if make this bean as
> servicemix-bean component , it gets compiled. What I should do for making these
> classes available ?
What is your compilation error? How are you building your classes?
Using Ant or Maven? As always, please provide more detail.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/