Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am making a mod in VSCode and everything was working properly. Now, for some reason, whenever I try to execute gradlew runClient it fails and says "Execution failed for task :compileJava". If someone could tell me what was wrong I would appreciate it.

Please don't put anything from 1.16.5, 1.12.2, 1.14, 1.15, 1.0, or anything not 1.18.x or 1.19.x!

2023-03-30T18:03:48.346-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\GreekMythsMod.java:27: error: package net.theelementguy.greekmyths.items does not exist
2023-03-30T18:03:48.346-0700 [ERROR] [system.err] import net.theelementguy.greekmyths.items.ModItems;
2023-03-30T18:03:48.347-0700 [ERROR] [system.err]                                          ^
2023-03-30T18:03:48.409-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\items\ModItems.java:3: error: package com.example.examplemod does not exist
2023-03-30T18:03:48.410-0700 [ERROR] [system.err] import com.example.examplemod.GreekMythsMod;
2023-03-30T18:03:48.410-0700 [ERROR] [system.err]                              ^
2023-03-30T18:03:48.417-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\items\ModItems.java:20: error: cannot find symbol
2023-03-30T18:03:48.418-0700 [ERROR] [system.err]     public static void register(IEventBus eventbus) {
2023-03-30T18:03:48.418-0700 [ERROR] [system.err]                                 ^
2023-03-30T18:03:48.418-0700 [ERROR] [system.err]   symbol:   class IEventBus
2023-03-30T18:03:48.419-0700 [ERROR] [system.err]   location: class ModItems
2023-03-30T18:03:48.471-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\GreekMythsMod.java:40: error: cannot find symbol
2023-03-30T18:03:48.471-0700 [ERROR] [system.err]         ModItems.register(modEventBus);
2023-03-30T18:03:48.472-0700 [ERROR] [system.err]         ^
2023-03-30T18:03:48.472-0700 [ERROR] [system.err]   symbol:   variable ModItems
2023-03-30T18:03:48.472-0700 [ERROR] [system.err]   location: class GreekMythsMod
2023-03-30T18:03:48.574-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\items\ModItems.java:12: error: cannot find symbol
2023-03-30T18:03:48.574-0700 [ERROR] [system.err]     public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, GreekMythsMod.MOD_ID);
2023-03-30T18:03:48.574-0700 [ERROR] [system.err]                                                                                          
             ^
2023-03-30T18:03:48.574-0700 [ERROR] [system.err]   symbol:   variable GreekMythsMod
2023-03-30T18:03:48.574-0700 [ERROR] [system.err]   location: class ModItems
2023-03-30T18:03:48.647-0700 [ERROR] [system.err] 5 errors

Seems to be a bunch of issues with your mod. Assuming that this information is correctly linked, I would guess there's something wrong within your build.gradle, if you would so kindly provide it.

  • 2 weeks later...
  • Author

I ended up figuring it out. I hadn't imported the correct packages. Thank you for all the help you have given.

Please don't put anything from 1.16.5, 1.12.2, 1.14, 1.15, 1.0, or anything not 1.18.x or 1.19.x!

  • TheElementGuy changed the title to [Resolved] gradlew runClient Failing

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.