I'm trying to execute the sever source code but i get this error:
Exception in thread "main" java.lang.RuntimeException: Configuration file is not provided
at org.traccar.Context.init(Context.java:206)
at org.traccar.Main.main(Main.java:35)
then i added the debug file as an argument and i get this error too:
Exception in thread "main" java.io.FileNotFoundException: debug.xml (Le fichier spécifié est introuvable)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at org.traccar.Config.load(Config.java:31)
at org.traccar.Context.init(Context.java:209)
at org.traccar.Main.main(Main.java:35)
So how can i fix this problem?
I think the problem is obvious. Server can't find the config file.
Is there another config file apart debug.xml?
Thanks Tananaev,
That's just an example of config file. The problem is not with the file that you use. The problem is likely with path to the file.
when i use an absolute path (D:\Traccar\debug.xml) i get another error saying that i can't find default.xml so how can i use a relative path
Thanks
You can use either relative or absolute path. There should be no issues.
I'm trying to execute the sever source code but i get this error:
then i added the debug file as an argument and i get this error too:
So how can i fix this problem?