traccar-web
traccar-web copied to clipboard
Compiled build not working due to "traccar" folder missing
So when I try to compile your project using Maven, I get my *.war file but when I try to run it on the server, it gets stuck on "Loading application...". It also seems like the web page is trying to load files which seem to be missing in my *.war file:
GET http://my.ip/traccar/reset.css 404 (Not Found)
(index):29 GET http://my.ip/traccar/traccar.nocache.js 404 (Not Found)
(index):21 GET http://my.ip/traccar/reset.css 404 (Not Found)
(index):29 GET http://my.ip/traccar/traccar.nocache.js 404 (Not Found)
I unzipped the war file and there's no traccar folder.
So I put the traccar folder from your war file in mine and voila, it's working fine. But the problem is that it's ignoring all my changes that I did to the source code. Maybe it's using a cached version? (I tried using other devices and also removed local cache, nothing helped).
I'm running Traccar 3.9 on a Debian 8.
EDIT: I just checked the traccar folder and it seems like there are *.cache.js files mapped in compilation-mappings.txt. Maybe that's causing the issue?
How do you build the project? You must be using maven to do that.