Coder Social home page Coder Social logo

ClassNotFoundException about egads HOT 3 OPEN

yahoo avatar yahoo commented on June 4, 2024 1
ClassNotFoundException

from egads.

Comments (3)

jigs1993 avatar jigs1993 commented on June 4, 2024

I think this might be your class-path entry in MANIFEST.MF, can you try specifying main class file com.yahoo.egads.Egads in pom.xml and build again

from egads.

sashaankadibhatla avatar sashaankadibhatla commented on June 4, 2024

i modified the code in pom.xml , build is succeeded but the command after running shows same exeption

from egads.

jichmi avatar jichmi commented on June 4, 2024

To access this project you can run:

'java -Dlog4j.configurationFile=src/test/resources/log4j2.xml -cp target/egads-*-jar-with-dependencies.jar;target/classes com.yahoo.egads.Egads src/test/resources/sample_config.ini src/test/resources/sample_input.csv'

but when i type this command other exception occurred:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at com.yahoo.egads.models.tsmm.TimeSeriesAbstractModel.(TimeSeriesAbstractModel.java:34)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at com.yahoo.egads.control.ProcessableObjectFactory.buildTSModel(ProcessableObjectFactory.java:59)
at com.yahoo.egads.control.ProcessableObjectFactory.create(ProcessableObjectFactory.java:26)
at com.yahoo.egads.utilities.FileInputProcessor.processInput(FileInputProcessor.java:30)
at com.yahoo.egads.Egads.main(Egads.java:57)
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more

Maybe there are some setting need to be modified

from egads.

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.