# Travis started failing in my springboot project and I'm not sure why

**URL:** <https://travis-ci.community/t/travis-started-failing-in-my-springboot-project-and-im-not-sure-why/8496>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [May 6, 2020, 9:53pm UTC](https://travis-ci.community/t/travis-started-failing-in-my-springboot-project-and-im-not-sure-why/8496 "2020-05-06T21:53:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayo329](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rayo329/32/4531_2.png) [@rayo329](https://travis-ci.community/u/rayo329)\
**Post date:** [May 6, 2020, 9:53pm UTC](https://travis-ci.community/t/travis-started-failing-in-my-springboot-project-and-im-not-sure-why/8496/1 "2020-05-06T21:53:36Z")

</div>

Hi, I’m sorry for not giving a lot of information, but I’m not sure why my travis build is failing. I’m sure my travis.yml is correct, I have been using travis in my django projects without problems and it worked at first using springboot.

This is an example of a failing build:  
[https://travis-ci.com/github/gii-is-DP2/DP2-1920-GI-05/builds/163814735](https://travis-ci.com/github/gii-is-DP2/DP2-1920-GI-05/builds/163814735)

The error message doesn’t explain much, so I don’t know what’s the issue.

---

<div class="post-metadata">

**Author:** ![rayo329](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rayo329/32/4531_2.png) [@rayo329](https://travis-ci.community/u/rayo329)\
**Post date:** [May 7, 2020, 11:58am UTC](https://travis-ci.community/t/travis-started-failing-in-my-springboot-project-and-im-not-sure-why/8496/2 "2020-05-07T11:58:39Z")

</div>

So, I went to my mnvw file in the repository and commented the first line

#!/bin/sh -\> # !/bin/sh

and then I went to my travis.yml and added

before\_install:

- chmod +x mvnw

the problem now is that the error is so long, travis terminates the job

[https://travis-ci.com/github/gii-is-DP2/DP2-1920-GI-05/builds/164458710](https://travis-ci.com/github/gii-is-DP2/DP2-1920-GI-05/builds/164458710)

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [May 7, 2020, 12:12pm UTC](https://travis-ci.community/t/travis-started-failing-in-my-springboot-project-and-im-not-sure-why/8496/3 "2020-05-07T12:12:41Z")

</div>

You’ll have to read the logs and resolve the problem. For example:

[https://travis-ci.com/github/gii-is-DP2/DP2-1920-GI-05/builds/164458710#L3106](https://travis-ci.com/github/gii-is-DP2/DP2-1920-GI-05/builds/164458710#L3106)
