title: Error: When running cucumber from IntelliJ
body: <p>I'm trying to run the following command in IntelliJ from a tutorial:</p>
  <p>java -cp &quot;jars/*&quot; cucumber.api.cli.Main -p pretty .</p>
  <p>But getting the following error:</p>
  <p>WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main
  Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: io/cucumber/tagexpressions/TagExpressionParser
  at io.cucumber.core.options.CucumberPropertiesParser.parse(CucumberPropertiesParser.java:81)
  at io.cucumber.core.options.CucumberPropertiesParser.parse(CucumberPropertiesParser.java:40)
  at io.cucumber.core.cli.Main.run(Main.java:57)
  at cucumber.api.cli.Main.run(Main.java:30)
  at cucumber.api.cli.Main.main(Main.java:15)
  Caused by: java.lang.ClassNotFoundException: io.cucumber.tagexpressions.TagExpressionParser
  at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
  at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 5 more</p>
  <p>Here are the jar files that I downloaded:</p>
  <p><a href="https://i.stack.imgur.com/YPL6e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YPL6e.png" alt="enter image description here" /></a></p>