Error while loading server ?

104 views
Skip to first unread message

Daniel Cloutier

unread,
Dec 11, 2023, 12:17:48 AM12/11/23
to l1j-en
Hello, i'm looking for someone to help me out figuring out how to solve this error.  I started playing around with this yesterday, so I am NOT a programmer, I managed to solve numerous other errors, but this one, I just cant wrap my head around it.
Here's where my server stops.

Exception in thread "main" java.lang.ClassCastException: java.time.LocalDateTime cannot be cast to java.sql.Timestamp
        at l1j.server.server.datatables.CastleTable.<init>(CastleTable.java:70)
        at l1j.server.server.datatables.CastleTable.getInstance(CastleTable.java:47)
        at l1j.server.server.controllers.WarTimeController.<init>(WarTimeController.java:54)
        at l1j.server.server.controllers.WarTimeController.getInstance(WarTimeController.java:76)
        at l1j.server.server.GameServerThread.<init>(GameServerThread.java:199)
        at l1j.server.server.GameServerThread.getInstance(GameServerThread.java:95)
        at l1j.server.server.GameServer.initialize(GameServer.java:138)
        at l1j.server.Server.main(Server.java:73)


any help pointing me in the right direction will be helpful.

Daniel Cloutier

unread,
Dec 11, 2023, 11:12:43 PM12/11/23
to l1j-en
update for anyone in the future reading this with a similar issue, turns out I had MySQL connector 8.2.0.  after reading on this on forums, I found that the connector has this issue, so I reverted back to 8.0.22 and it fixed the problem.

now working on the next hurdle, the server gets stuck at :

[Thread-14] INFO l1j.server.server.network.NetworkServer - Starting networking

i'll keep you guys updated on the progress.

Daniel Cloutier

unread,
Dec 12, 2023, 12:33:11 AM12/12/23
to l1j-en
eh, telnet was off, so I turned that on and server is 100% operational ! (yay) however ! Connector is working, connecting to the server, i can see the log on the console, but client crashes (rather, goes dark and i cant do anything but enter and escape, which closes the client)

hmm. will try a fresh client install tomorrow.
Reply all
Reply to author
Forward
0 new messages