Service Error 1053 in Windows 10

Open Cart5 years ago

Hi,
I have made some modifications in server source code and tested in in IntelliJ IDEA and it works.
I compiled the source code with Maven command line and also IntelliJ artifacts. When I copy the compiled .jar file and replace old .jar and start service, window shows 1053 error.
Any help would be highly appreciated.

Anton Tananaev5 years ago

Try compiling with gradle instead.

Open Cart5 years ago

Hello Anton
I tried to compile with Gradle and same error occurs.
.jar file increases to 53MB. Do I have to take care of maven code checkstyles?
Why does the jar file increases when I use Intellij artifacts to compile the source code?
File size remain the same as approx 1.37MB when I compile it with Maven.

Open Cart5 years ago

Hello,
I have tried to compile with both Maven and Gradle but the problem is still not solved. Could you please help?

Open Cart5 years ago

Below is the error when I execute tracker-server.jar from command line

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.traccar.Main.<clinit>(Main.java:35)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more

Does it means I am not linking dependencies?

netluca15 years ago

hi I used netbeans 10 like the other times to compile the jar file but it also creates the same error for me.
I installed the j8sdk221.
But I wanted to ask you from this discussion I see that is mignado toward grandle, does this mean that netbeans no longer works?
is there a grandle guide?