Building and packaging in IntelliJ

Only for the brave!
Post Reply
krusher
Someone..
Posts: 8
Joined: Wed Jan 01, 2020 9:28 pm

Building and packaging in IntelliJ

Post by krusher »

Hello, I'm fiddling with the new versions of Ysoccer from the git server, and came across Construo tasks, but when I try to package:
Error: Module JDK removed internal API/sun.reflect not found
java.lang.module.FindException: Module JDK removed internal API/sun.reflect not foun
d

I'm using JVM 17 (tried 11 too) as a runtime in IntelliJ to run the target. What am I missing?

Thank you.
krusher
Someone..
Posts: 8
Joined: Wed Jan 01, 2020 9:28 pm

Re: Building and packaging in IntelliJ

Post by krusher »

I have found the problem... the dependency KryoNet

When removed it worked OK, but without network support, of course :/

EDIT: Even then, it will include all the assets on the jar file, and when executing it won't find them.
krusher
Someone..
Posts: 8
Joined: Wed Jan 01, 2020 9:28 pm

Re: Building and packaging in IntelliJ

Post by krusher »

Moved to this clone:

https://github.com/crykn/kryonet

But error goes now as:

Error: Module JDK removed internal API/sun.reflect not found

I'm stalled here :/
Post Reply