@Parameters(paramLabel = "AMOUNT", description = "the depth to scrape for")
private int amount;
@Parameters(paramLabel = "ENTRY_POINT", description = "the entry point for the scrape")
private String entryPoint;
I have these Parameters in my Main class.
When I run the program with ClassName 5 https://www.baeldung.com/
I get
Missing required parameters: 'AMOUNT', 'ENTRY_POINT'
Usage: <main class> AMOUNT ENTRY_POINT
AMOUNT the depth to scrape for
ENTRY_POINT the entry point for the scrape
Does anyone know why this happens?
I can provide more code if needed.