Compiler Issues

Started by lazydude5 on Thu, 02/02/2017 - 21:45

Topic category: General discussion

Last seen on 01:57, 14. Feb 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Compiler Issues
Thu, 02/02/2017 - 21:45

basicly im working on a mod realated to spongebob (that will be released soon!)

and im having a issue compileing

check out the gradle log:

C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:271: error: '{' expected
public static class ModelSpongebob_mob.model extends ModelBase
                                      ^
C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:280: error: <identifier> expected
public ModelSpongebob_mob.model()
                               ^
2 errors

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.

 

can sombody help me? what should i do?

 

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Try removing the dot from the
Thu, 02/02/2017 - 22:04

Try removing the dot from the name (For example changing ModelSpongebob_mob.model to ModelSpongebob_mobModel)

Last seen on 01:57, 14. Feb 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Try removing the dot from the
Thu, 02/02/2017 - 22:30

@#1 Thanks!

Last seen on 01:57, 14. Feb 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:RE:Try removing the dot from the
Thu, 02/02/2017 - 22:40

@#1.1 edit: it didnt work. still got a error message

gradle log:

C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:274: error: '{' expected
public static class ModelSpongebob_mob.model extends ModelBase
                                      ^
C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:283: error: <identifier> expected
public ModelSpongebob_mob.model()
                               ^
2 errors

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.

 

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can you show your whole code,
Thu, 02/02/2017 - 23:02

Can you show your whole code, please?