Fork me on GitHub

Hello, I am trying to deploy a castra / hoplon war to tomcat. It is unable to load resources when it is a context localhost:8080/api for example but works fine if it is deployed as root localhost:8080. I am assuming the relative urls are incorrect. Is there a solution to this? thanks.