HEADS-project / training

Training material to get started with the HEADS technologies
10 stars 16 forks source link

HelloWorld compilation error (other problem than related topics) #121

Open meedley opened 6 years ago

meedley commented 6 years ago

Hello guys,

I'm having this problem while compiling HelloWorld in Java/Eclipse:

Run Configurations -> Maven Build: Base Directory: $ {workspace_loc: / helloworld} Goals: install OK

Goals: kev:deploy [INFO] Scanning for projects ... [INFO] [INFO] ----------------------------------------------- ------------------------- [INFO] Building Kevoree :: helloworld 0.0.1-SNAPSHOT [INFO] ----------------------------------------------- ------------------------- [INFO] [INFO] --- org.kevoree.tools.mavenplugin: 5.3.1: deploy (default-cli) @ helloworld --- [INFO] ----------------------------------------------- ------------------------- [INFO] BUILD SUCCESS [INFO] ----------------------------------------------- ------------------------- [INFO] Total time: 1.237 s [INFO] Finished at: 2018-04-23T21: 11: 29-03: 00 [INFO] Final Memory: 8M / 123M [INFO] ----------------------------------------------- -------------------------

Goals: kev:run [INFO] Scanning for projects ... [INFO] [INFO] ----------------------------------------------- ------------------------- [INFO] Building Kevoree :: helloworld 0.0.1-SNAPSHOT [INFO] ----------------------------------------------- ------------------------- [INFO] [INFO] --- org.kevoree.tools.mavenplugin: 5.3.1: run (default-cli) @ helloworld --- [INFO] Manually install file: C: \ Users \ masterdv6 \ Documents \ Workspace \ 1.HelloWorld \ java \ target \ classes for mvn: org.kevoree.example: helloworld: 0.0.1-SNAPSHOT 00:00 INFO: Bootstrap Kevoree node: node0, version 5.3.1 00:00 INFO: Merge bootstrap model from C: \ Users \ masterdv6 \ Documents \ Workspace \ 1.HelloWorld \ java \ target \ classes \ KEV-INF \ lib.json 00:00 INFO: Request = JavaNode, org.kevoree.example.HelloWorld, java.lang.Exception: TypeDefinition not found with: JavaNode and version null in 0 selected at org.kevoree.kevscript.util.TypeDefinitionResolver.resolve (TypeDefinitionResolver.java:91) at org.kevoree.kevscript.KevScriptEngine.interpret (KevScriptEngine.java:153) at org.kevoree.kevscript.KevScriptEngine.interpret (KevScriptEngine.java:149) at org.kevoree.kevscript.KevScriptEngine.interpret (KevScriptEngine.java:144) at org.kevoree.kevscript.KevScriptEngine.executeFromStream (KevScriptEngine.java:76) at org.kevoree.kevscript.KevScriptEngine.executeFromStream (KevScriptEngine.java:85) at org.kevoree.bootstrap.Bootstrap.bootstrapFromKevScript (Bootstrap.java:218) at org.kevoree.bootstrap.Bootstrap.bootstrapFromKevScript (Bootstrap.java:248) at org.kevoree.bootstrap.Bootstrap.bootstrapFromFile (Bootstrap.java:351) at org.kevoree.bootstrap.Bootstrap.main (Bootstrap.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.kevoree.microkernel.impl.KevoreeMicroKernelImpl $ 1.run (KevoreeMicroKernelImpl.java:223)

Best regards, Fabio

brice-morin commented 6 years ago

Hi,

Unfortunately, the ThingML->Kevoree compiler is not maintained anymore.

Have you tried with the "plain Java" compiler?

meedley commented 6 years ago

Hello

Ok thanks, I'll try it another way.

Regards, Fabio