yah, something might be dependent on spring stuff...
check out that link i pasted.. should show how to include whole directories


On Wed, Jun 26, 2013 at 5:03 PM, Sean Beck <[email protected]> wrote:

> I see. Is there a way to specify a whole directory to be included in the
> classpath? Your suggestion fixed that problem for ConnectionFactory but now
> I have it with ApplicationContextAware which I didn't realize is even being
> used in my program
>
> On Wed, Jun 26, 2013 at 6:01 PM, Christian Posta
> <[email protected]>wrote:
>
> > yep, compiling will produce the byte code. but when you run it, the
> runtime
> > libs must be made available to the code that uses it.
> >
> >
> > On Wed, Jun 26, 2013 at 4:58 PM, Sean Beck <[email protected]>
> > wrote:
> >
> > > I am compiling like so:
> > >
> > > javac -cp
> > >
> > >
> >
> /apache-activemq-5.8.0/lib/geronimo-jms_1.1_spec-1.1.1.jar:/apache-activemq-5.8.0/lib/camel/camel-jms-2.10.3.jar:/apache-activemq-5.8.0/activemq-all-5.8.0.jar:/apache-activemq-5.8.0/lib/camel/camel-core-2.10.3.jar:.
> > > QueueListener.java
> > >
> > > So everything already should be in the classpath
> > >
> >
> >
> >
> > --
> > *Christian Posta*
> > http://www.christianposta.com/blog
> > twitter: @christianposta
> >
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to