2017-08-16 4 views
0

Mon système est Linux Mint SERENA; Sur attemt pour construire le dépôt https://github.com/wso2/product-iots/releases/tag/v1.0.0-alphaL'installation a échoué. Un ou plusieurs certificats rejetés. Impossible de poursuivre l'installation

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T12:57:37+01:00) 
Maven home: /home/caleb/apache-maven 
Java version: 1.8.0_131, vendor: Oracle Corporation 
Java home: /usr/lib/jvm/java-8-openjdk-i386/jre 
Default locale: en_US, platform encoding: UTF-8 
OS name: "linux", version: "4.4.0-53-generic", arch: "i386", family: "unix" 

Comand émis: mvn clean install

erreur Connexion:

`Installing carbon.product.id 4.4.11. 
Installation failed. 
One or more certificates rejected. Cannot proceed with installation. 
Application failed, log file location: /media/caleb/DATA/REPOS/java/mvn/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1502873665554.log 

[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] WSO2 IoT - Parent .................................. SUCCESS [ 1.205 s] 
[INFO] WSO2 IoT - Broker Parent ........................... SUCCESS [ 0.033 s] 
[INFO] WSO2 IoT - Broker - P2 Profile Gen ................. SUCCESS [ 20.512 s] 
[INFO] WSO2 IoT - Broker - Product Distribution ........... SUCCESS [ 35.205 s] 
[INFO] WSO2 IoT - Core Parent ............................. SUCCESS [ 0.016 s] 
[INFO] WSO2 IoT - Core - Tools ............................ SUCCESS [ 0.013 s] 
[INFO] WSO2 IoT - Device Type Archetype ................... SUCCESS [ 1.954 s] 
[INFO] WSO2 IoT - Core - UI Styles ........................ SUCCESS [ 0.884 s] 
[INFO] WSO2 IoT - Core - Server UI Features ............... SUCCESS [ 0.032 s] 
[INFO] WSO2 IoT - Core - Server Styles Feature ............ SUCCESS [ 0.095 s] 
[INFO] WSO2 IoT - Core - P2 Profile Gen ................... FAILURE [ 39.359 s] 
[INFO] WSO2 IoT - Core - Distribution ..................... SKIPPED 
[INFO] WSO2 IoT - Analytics Parent ........................ SKIPPED 
[INFO] WSO2 IoT - Analytics - P2 Profile Gen .............. SKIPPED 
[INFO] WSO2 IoT - Analytics - Product Distribution ........ SKIPPED 
[INFO] WSO2 IoT - Distribution Parent ..................... SKIPPED 
[INFO] >WSO2 IoT - Integration Tests ...................... SKIPPED 
[INFO] WSO2 IoT - Integration Test Artifacts .............. SKIPPED 
[INFO] WSO2 IoT Server - Integration Test Common .......... SKIPPED 
[INFO] WSO2 IoT - Integration Test Common Web UI Pages .... SKIPPED 
[INFO] WSO2 IoT - Integration Test UI Module .............. SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 01:40 min 
[INFO] Finished at: 2017-08-16T09:54:27+01:00 
[INFO] Final Memory: 59M/419M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product (p2-profile-generation-http-gateway-profile) on project wso2iot-core-profile-gen: Cannot generate P2 metadata: P2 publisher return code was 13 -> [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/MojoExecutionException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 
[ERROR] mvn <goals> -rf :wso2iot-core-profile-gen 
` 

Toute aide sera grandement appréciée pour construire le produit avec succès

Répondre

1

vous un essayez est une très vieille étiquette, pourriez-vous s'il vous plaît être en mesure d'essayer this. Ceci est la dernière version de la WSO2 IoT 3.1.0

+0

même erreur Installation carbon.product. id 4.4.14. L'installation a échoué.Un ou plusieurs certificats ont été rejetés. Impossible de poursuivre l'installation. Échec de l'application, emplacement du fichier journal: /media/caleb/DATA/REPOS/java/mvn/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1502893364759.log – user2955481

+0

Cette erreur est renvoyée à cause des certificats ne sont pas approuvés par le jvm. Essayez de télécharger un nouveau JDK et de remplacer tous les certificats dans le dossier d'installation. –

+0

Geeth j'ai figuré, désinstallé le défaut, jdk, téléchargé un nouveau, et avait toujours la même erreur – user2955481

1

Cette erreur est due à un bug dans le cadre Equinox. Selon le bogue, les dernières machines virtuelles Oracle ne font pas confiance aux certificats. En tant que solution, vous pouvez soit télécharger un nouveau JDK et remplacer le JDK actuel, soit remplacer tous les certificats du $JAVA_HOME/jre/lib/security.

+0

Madawa, Puis-je obtenir les certificats que je dois remplacer, Ou votre version de JDK qui fonctionne bien? Je serais reconnaissant – user2955481

0

Eh bien, je tout désinstallée, réinstallée maven, puis téléchargé un nouveau fichier jdk-NetBeans, installé, et tout a fonctionné très bien à la fin, grâce à l'entrée geeth et Madawa