So then could you post your pom.xml here, or link to it on GitHub?
On 04/19/2018 11:15 PM, Tyga wrote:
> i am using Maven
>
> On Friday, April 20, 2018 at 2:11:30 AM UTC+5, Andreas Schildbach wrote:
>
> You need to include bitcoinj's dependencies as well (so-called
> transitive dependencies from your project's perspective). Typically you
> use Maven or Gradle in your project to manage dependencies so you don't
> need to do it manually.
>
>
> On 04/19/2018 11:04 PM, Tyga wrote:
> > I just created a JAR file using a bitcoinj master branch, imported
> it in
> > my project, but when I run this file I got an exception called
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > com/google/common/base/Joiner
> > at org.bitcoinj.core.Utils.<clinit>(Utils.java:55)
> > at
> org.bitcoinj.core.NetworkParameters.<clinit>(NetworkParameters.java:52)
> >
> > i am just running this line
> >
> > import org.bitcoinj.core.NetworkParameters;
> >
> > public class Sample
> > {
> > public static void main(String args[])
> > {
> > NetworkParameters parameters = NetworkParameters.testNet3();
> > }
> > }
> >
> > This is my piece of code, i am using IntelliJIdea but i tried
> NetBeans as well, i read and try multiple suggestion on the internet
> as well, but non of them works for me
> >
> > Anybody have an idea how i can figure this out ?
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "bitcoinj" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to [email protected]
> > <mailto:[email protected]>.
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.