Cucumber feature file does not identify the steps
<p>I have written my firsy cucumber feature file. When I run the feature file as Cucumber Feature, I get below errors</p>

<ol>
<li>"WARNING: Cucumber-JVM's --format option is deprecated. Please use --plugin instead." - I used "plugin" in my @CucumberOptions of runner class, but still getting the same error</li>
</ol>

<p>2.It says I do not have any scenario and steps
Feature: Validate Modular GUI pages</p>

<p>Scenario: Validate Login Page # C:/Selenium/RegressionTest/ModularRegression/src/GUI/features/Validate.feature:3
    Given: Modular GUI is opened
    When: Validate the login page
    Then: Login to the Modular</p>

<p>0 Scenarios
0 Steps</p>

<ol start="3">
<li>I'm not getting snippets for my steps.</li>
</ol>

<p>I have added following jars to the library
<a href="https://i.stack.imgur.com/u7nc9.jpg" rel="nofollow noreferrer">Jars</a></p>

<p>This is my runner class,
package GUI;</p>

<pre><code>import org.junit.runner.RunWith;

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;

@RunWith(Cucumber.class)
@CucumberOptions(
        format = {"pretty", "json:target/"},
        features = {"src/GUI/"}
        )
public class GUIRunner {

}
</code></pre>

<p>This is my feature file,</p>

<pre><code>Feature: Validate Modular GUI pages

  Scenario: Validate Login Page
    Given: Modular GUI is opened
    When: Validate the login page
    Then: Login to the Modular
</code></pre>

<p>I would really appreciate if someone can point out what is missing in my code.</p>

<p>Thank you very much </p>

<p>[EDITED]
This is the actual error:</p>

<blockquote>
  <p>WARNING: Cucumber-JVM's --format option is deprecated. Please use
  --plugin instead. Feature: Validate Modular GUI pages</p>
  
  <p>Scenario: Validate Login Page #
  C:/Selenium/RegressionTest/ModularRegression/src/GUI/features/Validate.feature:3
      Given: Modular GUI is opened
      When: Validate the login page
      Then: Login to the Modular</p>
  
  <p>0 Scenarios 0 Steps 0m0.000s</p>
</blockquote>