Hello,
I've cloned master repository, went through the instructions for both Netbeans and IDEA, and I have the following issue:
http://localhost:8082 returns just "404 - not found"
Hadn't made any changes to the source, just did a build.
This is the output from the console:
cd /home/marko/Projects/traccar/traccar; JAVA_HOME=/usr/lib/jvm/java-8-oracle /home/marko/netbeans-8.1/java/maven/bin/mvn "-Dexec.args=-classpath %classpath org.traccar.Main debug.xml" -Dexec.executable=/usr/lib/jvm/java-8-oracle/bin/java org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts.
Scanning for projects...
------------------------------------------------------------------------
Building traccar 3.7-SNAPSHOT
------------------------------------------------------------------------
--- exec-maven-plugin:1.2.1:exec (default-cli) @ traccar ---
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Started.
INFO 9/25/16 3:25 PM: liquibase: Clearing database change log checksums
INFO 9/25/16 3:25 PM: liquibase: Successfully acquired change log lock
INFO 9/25/16 3:25 PM: liquibase: Successfully released change log lock
INFO 9/25/16 3:25 PM: liquibase: Successfully acquired change log lock
INFO 9/25/16 3:25 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 9/25/16 3:25 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 9/25/16 3:25 PM: liquibase: Successfully released change log lock
[main] INFO org.eclipse.jetty.util.log - Logging initialized @2337ms
[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.19.v20160908
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@528f8f8b{/api,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@25b5c5e3{/console,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@245892d0{HTTP/1.1}{0.0.0.0:8082}
[main] INFO org.eclipse.jetty.server.Server - Started @3424ms
And another thing - traccar-server.jar doesn't appear in <project-root>/target
Solved, it appears now, it was "Compile on save".
Am I doing something wrong?
Thank you.
You need to checkout traccar-web repository as well.
If you are using IntelliJ IDEA, it won't generate jar file and it's fine.
So, if I understood correctly, if it compiles without errors, I can just replace the compiled traccar-server.jar with the one currently running on another instance, and that should be it?
Yes, you can, as long as libraries are the same. Which should be the case if you are using latest version.
Hello,
I've cloned master repository, went through the instructions for both Netbeans and IDEA, and I have the following issue:
http://localhost:8082 returns just "404 - not found"
Hadn't made any changes to the source, just did a build.
This is the output from the console:
And another thing - traccar-server.jar doesn't appear in <project-root>/targetSolved, it appears now, it was "Compile on save".
Am I doing something wrong?
Thank you.