kbaxx / fogframe

Open Source Fog Computing Framework
Apache License 2.0
9 stars 4 forks source link

error encountered when execute "mvn install" #5

Open wang4363688 opened 5 years ago

wang4363688 commented 5 years ago

when I clone this project and excute 'mvn install' first(as indicated in the redeme.md), I encountered some error. could you tell me where the mistake is? please help. thanks! erro message:

[INFO] fogframe ........................................... SUCCESS [ 0.175 s] [INFO] fogdata ............................................ SUCCESS [ 1.617 s] [INFO] fogcontrolnode ..................................... FAILURE [ 14.074 s] [INFO] fogcell ............................................ SKIPPED [INFO] cloud-fogmiddleware ................................ SKIPPED [INFO] hostmonitor ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.8.RELEASE:repackage (default) on project fogcontrolnode: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:2.1.8.RELEASE:repackage failed: Plugin org.springframework.boot:spring-boot-maven-plugin:2.1.8.RELEASE or one of its dependencies could not be resolved: Could not transfer artifact org.springframework:spring-core:jar:5.1.9.RELEASE from/to central (https://repo.maven.apache.org/maven2): GET request of: org/springframework/spring-core/5.1.9.RELEASE/spring-core-5.1.9.RELEASE.jar from central failed: Premature end of Content-Length delimited message body (expected: 1293311; received: 1168865 -> [Help 1]

softls commented 5 years ago

Hi. The error message says that it cannot transfer the spring-core jar file from https://repo.maven.apache.org/maven2. You could try using some other connection, i.e., wifi. Also, check that your Maven settings are configured correctly. If you are behind a proxy you'll need to configure the proxy settings in the global or user settings. You may try to open the project in Eclipse or other IDE and try to see which dependencies do not work and investigate, or add missing dependencies manually with Dependency management of your IDE.