Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled build not working due to "traccar" folder missing #1204

Open
ghost opened this issue Jun 21, 2018 · 1 comment
Open

Compiled build not working due to "traccar" folder missing #1204

ghost opened this issue Jun 21, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 21, 2018

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?

@vitalidze
Copy link
Owner

How do you build the project? You must be using maven to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant