berkayylmao / setting-up-sbrw

A *brief* guide on how to set up a Soapbox Race World (SBRW) server for NFS: World. Should include everything you'll need.
GNU General Public License v3.0
19 stars 6 forks source link

Step 2: Compiling the code error #9

Open R4mz3d opened 2 years ago

R4mz3d commented 2 years ago

I've been following the install guide and there seems to be an issue with io.thorntail. Cmd error below.

https://pastebin.com/Mt3A4tAU

Any help would be appreciated.

D3ATHLY commented 2 years ago

@R4mz3d add java certificate with keytool

ManicQuinn commented 2 years ago

@R4mz3d add java certificate with keytool

I'm having the same issue, could you elaborate on how to do this?

D3ATHLY commented 2 years ago

keytool -import -alias a -file C:\a.cer -keystore C:\AdoptOpenJDK10\lib\security\cacerts -storepass changeit

"a.cer" is your repo2.apacher... server you have to download https cert with using google. and you have to add with keytool command into java

ManicQuinn commented 2 years ago

keytool -import -alias a -file C:\a.cer -keystore C:\AdoptOpenJDK10\lib\security\cacerts -storepass changeit

"a.cer" is your repo2.apacher... server you have to download https cert with using google. and you have to add with keytool command into java

https://pastebin.com/qQi7c5mG

Here's an update, new issues now

R4mz3d commented 2 years ago

keytool -import -alias a -file C:\a.cer -keystore C:\AdoptOpenJDK10\lib\security\cacerts -storepass changeit

"a.cer" is your repo2.apacher... server you have to download https cert with using google. and you have to add with keytool command into java

@D3ATHLY Thank you for your quick answer.

As @Manic137 stated above, adding the certificate worked for the initial error but there seems to be one more file "jaxb-api-2.4.0-b180830.0359.jar" which cannot be downloaded via batch.

I've also added certificate for https://maven.atlassian.com/repository/public, however that hasn't fixed the issue so I'm not sure what to do next as I get exactly the same log as https://pastebin.com/qQi7c5mG.

D3ATHLY commented 2 years ago

@R4mz3d i fixed this error with latest java 8 jdk with again build, its will be finish your project but. You have to get error i think, starting server. Please contact with me, we can work together if u want. LaSt.MuRDeR#1141 discord

ManicQuinn commented 2 years ago

@R4mz3d i fixed this error with latest java 8 jdk with again build, its will be finish your project but. You have to get error i think, starting server. Please contact with me, we can work together if u want. LaSt.MuRDeR#1141 discord

I have added you

ManicQuinn commented 2 years ago

Log, first successful build.txt

Both me and R4M got the same result up to this point, I would say this issue is closed but sadly there's more issues after

ManicQuinn commented 2 years ago

Doing Step 3 now, at the openfire setup, here's an error log from me trying to connect to the database:

". According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification."

0P3N50URC3-F0R3V3R commented 2 years ago

keytool -import -alias a -file C:\a.cer -keystore C:\AdoptOpenJDK10\lib\security\cacerts -storepass changeit

"a.cer" is your repo2.apacher... server you have to download https cert with using google. and you have to add with keytool command into java

Aaaand my questions is i am at step two with the same error... how can i get this cert? This is not mentioned in the install tutorial.... where and how to get it...? you said google but what do you mean? YOu can provide some info or link? never did this before so please help... :\

Update: I figured it out, i had to save all cert file from the pom.xml with a browser,(literally open the webpage, and save the webpage cert file.) and add to the system with the mentioned command... please be more precise, since i had no idea what you did talked about for a half hour XD

Update: I have compiled the openfire but it it not working cuz it is yeeling about the useSSL parameter - that i have added to id and that WONT fix it not on ture or false value. So all i vhave now is a precompiled LATEST official openfire. But weith that the items and multiplayer are not working with the mentioned tutorial modnet setup... or the tutorial are missing something? IDK...

How to fix multiplayer and powerups?? the Tutorial itself is not enough...

0P3N50URC3-F0R3V3R commented 2 years ago

Nevermind, i did solvet id. Check my repos for compiled servers if you dont want to mess wit this outdated tutorial.

WeAppU commented 2 years ago

Hi There... Is there an Step by Step Guide to import the Certs? Stuck on Compiling :-(