Hi Shivam,
Do you mind switching to 1.4-SNAPSHOT. It is a much better version
than 1.3. I know it's a "snapshot", but it's actually more stable and
better behaved overall.
And it will be much easier for me help you troubleshoot!
Cheers,
Boris
On Mon, Sep 9, 2019 at 6:45 AM Shivam Poddar <
shivampo...@gmail.com> wrote:
>
> I have the following code from the tutorial present on HyperGraphDB webpage for Peer-to-Peer Network.
>
> import java.io.File;
> import java.util.concurrent.Future;
> import org.hypergraphdb.peer.HyperGraphPeer;
> import org.hypergraphdb.*;
>
> public class SimpleP2P {
>
> public static void main(String[] args)
> {
> File configFile = new File("hgp2p.json");
> HyperGraphPeer peer = new HyperGraphPeer(configFile); //Error: The type mjson.Json cannot be resolved. It is indirectly referenced from required .class files
> Future<Boolean> startupResult = peer.start();
> try
> {
> if (startupResult.get())
> {
> System.out.println("Peer started successfully.");
> }
> else
> {
> System.out.println("Peer failed to start.");
> peer.getStartupFailedException().printStackTrace(System.err);
> }
> }
> catch (Exception e)
> {
> e.printStackTrace(System.err);
> }
> }
> }
>
> I have included following jar files:
> 1. hgdbje-1.3.jar
>
>
> --
> You received this message because you are subscribed to the Google Groups "HyperGraphDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hypergraphdb...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hypergraphdb/2ea54ad4-e005-4037-af38-914fdf5c3996%40googlegroups.com.
--
https://plus.google.com/+BorislavIordanov
"Damn! The world is big!"
-- Heleni Daly