Hey Lewis,

Are you talking about optimizing Gora's transitive dependency? Did we
create a JIRA issue for that a while ago?


Renato M.

2013/8/15 Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>

> yes the maven default target is install... the parent project object
> manager ensures that your dependencies are copied from the local .m2 repos
> to the relevant /lib directory.
> If you are adding Gora code  + module to your project pom.xml you don't
> need to declare individual Gora dependencies right now as By default we
> will pull these.
> In all honesty I am not keen on this... I  don't know what others think...
> as it is expensive.
> hth
> Best
> Lewis
>
>
> On Thursday, August 15, 2013, Sznajder ForMailingList <
> bs4mailingl...@gmail.com> wrote:
> > Thanks
> >
> > Compiling by
> > 'mvn'
> > and not by
> > 'mvn clean compile'
> >
> > solved the problem
> >
> > Benjamin
> >
> >
> > On Wed, Aug 14, 2013 at 2:44 PM, Emir Munoz <emir.mu...@deri.org> wrote:
> >>
> >> Hi Benjamin,
> >>
> >>
> >>
> >> For me seems that you didn’t build the project using maven (i.e., mvn
> clean install). Hence, you probably have an empty gora-tutorial/lib/ folder.
> >>
> >> If not, I would recommend you to add the bin/ folder of gora to the
> PATH.
> >>
> >> -bash-4.1$ export PATH=$PATH:/home/gora-0.3/bin
> >>
> >>
> >>
> >> And then execute the compiler inside gora-tutorial folder.
> >>
> >> -bash-4.1$ gora goracompiler src/main/avro/pageview.json src/main/java/
> >>
> >>
> >>
> >> Cheers,
> >>
> >> Emir
> >>
> >>
> >>
> >>
> >>
> >> From: Sznajder ForMailingList [mailto:bs4mailingl...@gmail.com]
> >> Sent: 14 August 2013 11:08
> >> To: user@gora.apache.org
> >> Subject: Compiling Avro Schemas
> >>
> >>
> >>
> >> Hi
> >>
> >> I followed the tutorial given in
> http://gora.apache.org/current/tutorial.html
> >>
> >> When reaching the section Compiling Avro schemas, the command
> >>
> >>
> >>
> >> $ bin/gora goracompiler
> >>
> >>
> >>
> >> returns me:
> >>
> >> -bash-4.1$ bin/gora goracompiler
> gora-tutorial/src/main/avro/pageview.json gora-tutorial/src/main/java/
> >> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/avro/Schema
> >>         at java.lang.Class.getDeclaredMethods0(Native Method)
> >>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
> >>         at java.lang.Class.getMethod0(Class.java:2694)
> >>         at java.lang.Class.getMethod(Class.java:1622)
> >>         at
> sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
> >>         at
> sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
> >> Caused by: java.lang.ClassNotFoundException: org.apache.avro.Schema
> >>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> >>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> >>         at java.security.AccessController.doPrivileged(Native Method)
> >>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> >>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> >>
> >>
> >> How can I fix that, please?
> >>
> >> Benjamin
> >
>
> --
> *Lewis*
>
>

Reply via email to