I'm new to this, and want to know the info about this.
I downloaded the GXDLMS director and java files "gurux.dlms.java". But i don't know from where i need to start. and how to execute those java files in local.
Can any one suggest or guide me, from where i can start to make that "gurux.dlms.java" java file runnable
I tried to run in the eclipse but getting errors
Can any one suggest me.
here is the error details
**********************************
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gurux.dlms.server.example.java 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gurux.dlms.server.example.java ---
[INFO] Deleting F:\Projects\GuruX\gurux.dlms.java-master\gurux.dlms.java-master\gurux.dlms.server.example.java\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gurux.dlms.server.example.java ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory F:\Projects\GuruX\gurux.dlms.java-master\gurux.dlms.java-master\gurux.dlms.server.example.java\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ gurux.dlms.server.example.java ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 6 source files to F:\Projects\GuruX\gurux.dlms.java-master\gurux.dlms.java-master\gurux.dlms.server.example.java\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.782 s
[INFO] Finished at: 2018-12-28T16:36:21+05:30
[INFO] Final Memory: 8M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project gurux.dlms.server.example.java: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Run time error
I tried to run in the eclipse but getting errors
Can any one suggest me.
here is the error details
**********************************
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gurux.dlms.server.example.java 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gurux.dlms.server.example.java ---
[INFO] Deleting F:\Projects\GuruX\gurux.dlms.java-master\gurux.dlms.java-master\gurux.dlms.server.example.java\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gurux.dlms.server.example.java ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory F:\Projects\GuruX\gurux.dlms.java-master\gurux.dlms.java-master\gurux.dlms.server.example.java\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ gurux.dlms.server.example.java ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 6 source files to F:\Projects\GuruX\gurux.dlms.java-master\gurux.dlms.java-master\gurux.dlms.server.example.java\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.782 s
[INFO] Finished at: 2018-12-28T16:36:21+05:30
[INFO] Final Memory: 8M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project gurux.dlms.server.example.java: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Starting
Hi,
It seems that your Eclipse settings are not right.
Try to set them first. After that, you can start example server.
BR,
Mikko