Coder Social home page Coder Social logo

Comments (7)

balajikadambi avatar balajikadambi commented on August 16, 2024 1

@NamanSharma21 the source folders are possibly not set properly. hence the package names are not correct. could you see if the source folder is set properly on eclipse to point to src->main->java.

from blockchain-application-using-fabric-java-sdk.

NamanSharma21 avatar NamanSharma21 commented on August 16, 2024

After following all the steps from the readme.md file when i run the command java -cp blockchain-client.jar org.app.network.CreateChannel i get an error Error: Could not find or load main class .home.vdoit.blockchain-application-using-fabric-java-sdk.java.src.main.java.org.app.network.CreateChannel
Caused by: java.lang.ClassNotFoundException: /home/vdoit/blockchain-application-using-fabric-java-sdk/java/src/main/java/org/app/network/CreateChannel

i have followed the exact same steps written in the readme file.Please help.

Also i tried importing the project in the eclipse my steps included:-

1)Import existing maven project

2)Maven Update Project

3)Maven Install

  1. After all that the code is still showing errors in the project.

Please help as im new to blockchain.

Thanks.

from blockchain-application-using-fabric-java-sdk.

ygbingo avatar ygbingo commented on August 16, 2024

that they cannot find the main function , maybe you could find you function CreateChannel if they real into that way

from blockchain-application-using-fabric-java-sdk.

NamanSharma21 avatar NamanSharma21 commented on August 16, 2024

After i clone the project why does it show errors in every class i followed all the steps but still having errors.

from blockchain-application-using-fabric-java-sdk.

ygbingo avatar ygbingo commented on August 16, 2024

maybe you should change the package name at first

from blockchain-application-using-fabric-java-sdk.

NamanSharma21 avatar NamanSharma21 commented on August 16, 2024

@balajikadambi Thanks for the help it worked. Also i have some questions regarding the configuration of my network like configuring the ports and url how can i contact you?

from blockchain-application-using-fabric-java-sdk.

balajikadambi avatar balajikadambi commented on August 16, 2024

@NamanSharma21 glad that helped. you can raise a new issue for network configuration related questions, and we will provide the required help. Will go ahead and close this issue.

from blockchain-application-using-fabric-java-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.