Jump to content

Recommended Posts

Posted

Whenever i run "gradlew build", it gives me this error... Can anyone help?

 

F:\>gradlew build

****************************

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

****************************

:compileApiJava UP-TO-DATE

:processApiResources UP-TO-DATE

:apiClasses UP-TO-DATE

:sourceMainJava UP-TO-DATE

:compileJava

warning: [options] bootstrap class path not set in conjunction with -source 1.6

F:\build\sources\java\com\tybob12\energisedmod\block\EnergisedGlass.java:7: erro

r: package com.sun.xml.internal.bind.v2.schemagen.xmlschema does not exist

import com.sun.xml.internal.bind.v2.schemagen.xmlschema.List;

                                                      ^

1 error

1 warning

:compileJava FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':compileJava'.

> Compilation failed; see the compiler error output for details.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Total time: 20.37 secs

 

F:\>1

Posted

 

import com.sun.xml.internal.bind.v2.schemagen.xmlschema.List;

 

You probably fucked up and let Eclipse import the wrong List class

You most likely wanted to import java.util.List

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.