Exception: Configuration File is not Provided

Hercules4 years ago

Hi,

I'm having the following issue:

I'm using traccar server for quite some time now, but all of the sudden it stopped working. i tried to run again and it appeared an error in CMD Expection in thread "main" java.lang.RuntimeException: Configuration file is not provided at org.traccar.Main.main<Main.java:84>

I tried reinstalling traccar-server but with no sucess.

The configuration file is indeed provided, as there is not a single alteration in the configuration file provided by the instalation setup.

Image of my Traccar Folder

Anton Tananaev4 years ago

Sounds like your service command line is incorrect. Did you install an official release or built it from source?

Hercules4 years ago

I use the following code in order to run, but even when i try it as a service doesn't work.

"java -jar Traccar.jar"

I installed the official release

Anton Tananaev4 years ago

Where did you get this command from? It doesn't have path to the config file. That's exactly the problem.

bamartinezd3 years ago

Hi @tananaev

I have the same issue "Configuration file is not provided" when I try to run traccar v4.7 on IntelliJ IDEA, or another IDE but I can run it well the last version v5.0

I followed the specified documentation.

Yeah, obviously the server can't find the config file "./debug.xml" but why?, I'm sure that physical file is in the right path.

Anton Tananaev3 years ago
  • You post question once - I try to help
  • You post same question twice - don't expect any help from me
  • You post same question 3+ times - you're banned on the forum