Jump to content

Recommended Posts

Posted (edited)

I run "runData" task and it gives me an error: "Invalid value: -1" and no logs/stacktrace

The same happens when running "runClient"

I'm using KotlinForForge and all my code is in Kotlin.

Edited by NothinGG_
Kotlin details
Posted
  On 4/17/2022 at 2:49 PM, diesieben07 said:

This is a bug with IntelliJ currently: https://youtrack.jetbrains.com/issue/IDEA-292250.

Workaround is to change the ForgeGradle dependency in your build.gradle as follows:

classpath(group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true) { exclude group: 'org.apache.logging.log4j' } 
classpath 'org.apache.logging.log4j:log4j-api:2.11.2'
classpath 'org.apache.logging.log4j:log4j-core:2.11.2' 

 

Expand  

I didn't understand what we have to do?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.