Could not find or load main class org.traccar.Main

Komal7 years ago

Hello Anton,
I am getting following error after I run server side code on netbeans.
Earlier it was working absolutely fine ,I just changed value in changelog-3.8.xml(changed token type to Varchar(256)).After that i did Clean and Build project from Run option.And now onwards it is giving me following error.

  • Could not find or load main class org.traccar.Main

  • Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project traccar: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

Can you please help me to resove this.

Anton Tananaev7 years ago

Sounds like you have a problem with your IDE. You should ask on relevant forums. The issue has nothing to do with Traccar code.

Komal7 years ago

OK,will check.
Thanks

Komal7 years ago

I also wanted to ask when we do any changes in changelog-3.8.xml type of file,to change type or char limit.What needs to be done for changes to reflect.

Anton Tananaev7 years ago

If you are creating a new database then you don't need to do anything else. If you plan to upgrade, you need a new changelog and you shouldn't modify existing ones.

Komal7 years ago

OK,Got it
Thanks for ur help