WenjaFactions Classes

Status
This thread has been locked.

ibeacon

Feedback score
0
Posts
63
Reactions
12
Resources
0
Hey, alright so: my friend make made a post on here that you probably saw about our problems with WenjaFaction's classes, I DM'd a few people and they could not figure it out so thought I'd try to make a post since we plan SOTW sunday (tomorrow) at 2PM EST, so if someone could DM me on discord and try to help that would mean a lot tristan1k.#7531 stacktrace: https://hasteb.in/ekazozin.sql
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

ibeacon

Feedback score
0
Posts
63
Reactions
12
Resources
0
also, forgot to say: I tried other spigots, paperspigot, recompiling with those and other versions of the depends and still get the same problem.[DOUBLEPOST=1575772311][/DOUBLEPOST]i forgot to say what the problem was /facepalm ok so, when you put on a kit like archer, it wont give you your effects
 
Last edited:

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4
is it maven? if so set the scope for Guava to <scope> compile </scope>
 

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4
well its not compiling guava so you can just convert it to maven and set the scope tag to compile
 

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4
its not the class its throwing an exception because it cant find guava I've had a similar issue in the past
 

NV6

the opensource person(?)
Premium
Feedback score
8
Posts
383
Reactions
223
Resources
1
its not the class its throwing an exception because it cant find guava I've had a similar issue in the past
it isn't, it's because it's a wrong version of guava; iHCF's command api also uses guava, which doesn't throw an error on executing. The version guava 21.0 has the method #checkNotNull; I'm pretty sure it's also noted on the github page that guava 21.0 is required.

And, Wenja doesn't use Maven, so. The only option for the OP (ibeacon) is to change the guava dependency to 21.0 (or perhaps change to maven).
 

ibeacon

Feedback score
0
Posts
63
Reactions
12
Resources
0
it isn't, it's because it's a wrong version of guava; iHCF's command api also uses guava, which doesn't throw an error on executing. The version guava 21.0 has the method #checkNotNull; I'm pretty sure it's also noted on the github page that guava 21.0 is required.

And, Wenja doesn't use Maven, so. The only option for the OP (ibeacon) is to change the guava dependency to 21.0 (or perhaps change to maven).
I'm using guava 21.0
 

Niteburn

Supreme
Feedback score
12
Posts
595
Reactions
487
Resources
0
Our codebase on the server that I run requires us to update the guava version in craftbukkit, bukkit and spigot/paperspigot from 17.0 to 28.1-jre, and update all outdated/renamed methods according to the new standards apparently. This is mostly because we are using experimental software that has not been finished yet. It has been a pain in the ass because we want to use a custom spigot jar with nice features but it would require updating guava or getting the source code for the jar.

From what I've heard, all you need to do is to update the pom.xml versions, then updating ~20 methods throughout the project to the new naming standards/usages, then recompiling. Sorry if this sounds weird, this is what my developer told me and maybe it would be useful information to you.

EDIT: I've also seen some popular spigots update the version of Guava but revert the changes due to stuff breaking.
 
Status
This thread has been locked.
Top