Multi-User-Domain / mud-jena

0 stars 0 forks source link

Get task #26

Closed calummackervoy closed 3 years ago

calummackervoy commented 3 years ago

Closes #3

:partying_face:

calummackervoy commented 3 years ago

@MattTennison do you know what's causing the build to fail ?

calummackervoy commented 3 years ago

From the build error logs

#13 6.441 [INFO] Changes detected - recompiling the module!
11472
#13 6.445 [INFO] Compiling 29 source files to /app/target/classes
11473
#13 7.500 [INFO] -------------------------------------------------------------
11474
#13 7.502 [ERROR] COMPILATION ERROR : 
11475
#13 7.502 [INFO] -------------------------------------------------------------
11476
#13 7.503 [ERROR] /app/src/main/java/com/mackervoy/calum/mud/behaviour/task/AbstractTaskActor.java:[31,45] package org.eclipse.jdt.internal.compiler.ast does not exist
11477
#13 7.507 [ERROR] /app/src/main/java/com/mackervoy/calum/mud/content/ContentController.java:[57,65] cannot find symbol
11478
#13 7.507   symbol:   method modelToTurtle(org.apache.jena.rdf.model.Model)
11479
#13 7.549   location: class com.mackervoy.calum.mud.content.ContentController
11480
#13 7.549 [INFO] 2 errors 
11481
#13 7.549 [INFO] -------------------------------------------------------------
11482
#13 7.549 [INFO] ------------------------------------------------------------------------
11483
#13 7.549 [INFO] BUILD FAILURE
11484
#13 7.549 [INFO] ------------------------------------------------------------------------
11485
#13 7.549 [INFO] Total time:  6.037 s
11486
#13 7.549 [INFO] Finished at: 2021-04-19T16:52:18Z
11487
#13 7.549 [INFO] ------------------------------------------------------------------------
11488
#13 7.555 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project mud: Compilation failure: Compilation failure: 
11489
#13 7.573 [ERROR] /app/src/main/java/com/mackervoy/calum/mud/behaviour/task/AbstractTaskActor.java:[31,45] package org.eclipse.jdt.internal.compiler.ast does not exist
11490
#13 7.573 [ERROR] /app/src/main/java/com/mackervoy/calum/mud/content/ContentController.java:[57,65] cannot find symbol
11491
#13 7.573 [ERROR]   symbol:   method modelToTurtle(org.apache.jena.rdf.model.Model)
11492
#13 7.573 [ERROR]   location: class com.mackervoy.calum.mud.content.ContentController
11493
#13 7.573 [ERROR] -> [Help 1]
11494
#13 7.573 [ERROR] 
11495
#13 7.573 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
11496
#13 7.573 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
11497
#13 7.573 [ERROR] 
11498
#13 7.573 [ERROR] For more information about the errors and possible solutions, please read the following articles:
11499
#13 7.573 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
11500
#13 ERROR: executor failed running [/bin/sh -c mvn package]: exit code: 1
11501
------
11502
 > [maven_deps 7/7] RUN mvn package:
11503
------
11504
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c mvn package]: exit code: 1
11505
Error: buildx call failed with: error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c mvn package]: exit code: 1

Not sure I get what's going on there 😅

calummackervoy commented 3 years ago

@MattTennison are you able to pull these changes and try setting up a server your side? I've got no problem running it on Tomcat in Eclipse on mine

MattTennison commented 3 years ago

Taking a look at it now. Sounds like a missing Maven dependency for this org.eclipse.jdt.internal.compiler.ast package (which I assume Eclipse will just magically make available in its environment)

MattTennison commented 3 years ago

Pushed up a branch with some build fixes for you to review @calummackervoy :smile: - https://github.com/Multi-User-Domain/mud-jena/pull/38