exception in thread 'main' java.lang.NoClassDefFoundError:

后端 未结 23 3574
心在旅途
心在旅途 2020-11-28 06:27

The following program is throwing error:

public class HelloWorld {
    public static void main(String args[]) {
        System.out.println(\"Hello World!\");         


        
23条回答
  •  囚心锁ツ
    2020-11-28 06:40

    You can find information about required libraries inside pom.xml, it is much easier to use tools like Apache Maven to build java applications.

        
            org.yaml
            snakeyaml
            1.20
        
        
            org.apache.commons
            commons-lang3
            3.7
        
        
            org.apache.commons
            commons-text
            1.2
        
        
            org.apache.commons
            commons-math3
            3.6.1
        
        
            com.google.guava
            guava
            24.0-jre
        
    
        
            org.slf4j
            slf4j-api
            1.7.25
        
        
            com.google.inject
            guice
            4.2.0
        
        
            com.google.inject.extensions
            guice-assistedinject
            4.2.0
        
    

提交回复
热议问题