Compiler Issues

Started by lazydude5 on

Topic category: General discussion

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Compiler Issues

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 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

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

Can you show your whole code, please?