Question: i need a help when i execute the following MYSQL command in Navicat i get 

```
mysql> SELECT Password FROM workers;

    +----------+
    | Password |
    +----------+
    | A        |
    | B        |
    | B        |
    | B        |
    | B        |

```

when i fire it in java i get 

```
java.sql.SQLException: Column Index out of range, 3 > 2. 

```

Code :-

```
try {
       ArrayList<String> A = new ArrayList<String>();
       Class.forName("com.mysql.jdbc.Driver");
       Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/employees", "root", "123456");
       Statement stmt = con.createStatement();
       ResultSet rs = stmt.executeQuery("SELECT Password FROM workers");
       int c =1;
       while(rs.next())  
       {
           A.add(rs.getString(c));
           c++;
       }
       con.close();
    } catch (Exception e) {
            System.out.println(e);
    }

```

Answer: 
You need to add the version to. Like this:

```
composer require symfony/web-server-bundle --dev ^4.4.2

```

You can check for the latest version here:
<https://packagist.org/packages/symfony/web-server-bundle>
The development web-server is included in the symfony client.

Install the symfony cli : <https://symfony.com/download>

Then, you can start the dev web server

```sh
symfony server:start

```