Record Detail

Compile Error

/in/com/ve472/l1/Main.java:10: error: package org.apache.commons.cli does not exist
import org.apache.commons.cli.*;
^
/in/com/ve472/l1/Main.java:26: error: cannot find symbol
        Options options = new Options();
        ^
  symbol:   class Options
  location: class Main
/in/com/ve472/l1/Main.java:26: error: cannot find symbol
        Options options = new Options();
                              ^
  symbol:   class Options
  location: class Main
/in/com/ve472/l1/Main.java:27: error: cannot find symbol
        Option help = new Option("h", "help", false, "print this message");
        ^
  symbol:   class Option
  location: class Main
/in/com/ve472/l1/Main.java:27: error: cannot find symbol
        Option help = new Option("h", "help", false, "print this message");
                          ^
  symbol:   class Option
  location: class Main
/in/com/ve472/l1/Main.java:30: error: cannot find symbol
        Option hall = new Option(null, "hall", true, "path of the hall config directory");
        ^
  symbol:   class Option
  location: class Main
/in/com/ve472/l1/Main.java:30: error: cannot find symbol
        Option hall = new Option(null, "hall", true, "path of the hall config directory");
                          ^
  symbol:   class Option
  location: class Main
/in/com/ve472/l1/Main.java:34: error: cannot find symbol
        Option query = new Option(null, "query", true, "query of customer orders");
        ^
  symbol:   class Option
  location: class Main
/in/com/ve472/l1/Main.java:34: error: cannot find symbol
        Option query = new Option(null, "query", true, "query of customer orders");
                           ^
  symbol:   class Option
  location: class Main
/in/com/ve472/l1/Main.java:38: error: cannot find symbol
        CommandLineParser parser = new DefaultParser();
        ^
  symbol:   class CommandLineParser
  location: class Main
/in/com/ve472/l1/Main.java:38: error: cannot find symbol
        CommandLineParser parser = new DefaultParser();
                                       ^
  symbol:   class DefaultParser
  location: class Main
/in/com/ve472/l1/Main.java:39: error: cannot find symbol
        HelpFormatter formatter = new HelpFormatter();
        ^
  symbol:   class HelpFormatter
  location: class Main
/in/com/ve472/l1/Main.java:39: error: cannot find symbol
        HelpFormatter formatter = new HelpFormatter();
                                      ^
  symbol:   class HelpFormatter
  location: class Main
/in/com/ve472/l1/Main.java:40: error: cannot find symbol
        CommandLine cmd;
        ^
  symbol:   class CommandLine
  location: class Main
/in/com/ve472/l1/Main.java:50: error: cannot find symbol
                throw new ParseException("");
                          ^
  symbol:   class ParseException
  location: class Main
/in/com/ve472/l1/Main.java:54: error: cannot find symbol
        } catch (ParseException e) {
                 ^
  symbol:   class ParseException
  location: class Main
16 errors

Information

Submit By
Type
Submission
Language
Java
Submit At
2023-05-18 11:16:01
Judged At
2023-05-18 11:18:47
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes