Question: I'm having big problems running my java api war file from the command line after ive packaged it with maven.

I'm trying to run it using the following command from the target folder where my war file is located.

```
java -cp silverkissen.war se/consys/silverkissen/heroku/Main

```

And alot of other variations but i just get 

```
Error: Can't find or load main class se/consys/silverkissen/heroku/Main

```

My war file lies in path `..\Silverkissen-API\target\silverkissen.war`

My heroku main class lies in path `..\Silverkissen-API\target\classes\se\consys\silverkissen\heroku\Main.class`

Thankful for any help.

Answer: 
You're changing the same array over the whole loop, move the creation of `y` into your loop:

```
x=[]
for i in range(3):
   y = np.zeros(2) + i
   x.append(y)

```
Use the full() function of numpy.You have to specify the dimension of array(in ur case 1 row ,2 clolumns) and the value u want it to fill with,ie value provided by i

```
x = []
y = np.zeros(2)
for i in range(3):
    y =np.full((1,2),i)
    x.append(y)

```

x

```
[array([[0, 0]]), array([[1, 1]]), array([[2, 2]])]

```