Bonjour tout le monde
j'ai besoin de votre pour r�soudre mon probl�me;
j'ai cr�� une petite application avec netbeans 12. ensuite j'ai fait "clean and build project" qui m'a cr�� le fichier "Cabinet-1.0-SNAPSHOT.jar". Dans les propri�t�s du fichier j'ai coch� "autoriser d'ex�cuter le fichier comme programme ", mais quand je double clique dessus rien de se passe.
Dans OUTPUT-BUILD :
j'ai cherch� sur le web depuis une semaine mais sans succ�s.
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79 cd /home/jonass/NetBeansProjects/Cabinet2; JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 /snap/netbeans/30/netbeans/java/maven/bin/mvn install Scanning for projects... -----------------------< com.mycompany:Cabinet >------------------------ Building Cabinet2 1.0-SNAPSHOT --------------------------------[ jar ]--------------------------------- The POM for unknown.binary:jcalendar-1.4:jar:SNAPSHOT is missing, no dependency information available --- maven-resources-plugin:2.6:resources (default-resources) @ Cabinet --- Using 'UTF-8' encoding to copy filtered resources. skip non existing resourceDirectory /home/jonass/NetBeansProjects/Cabinet2/src/main/resources --- maven-compiler-plugin:3.1:compile (default-compile) @ Cabinet --- Nothing to compile - all classes are up to date --- maven-resources-plugin:2.6:testResources (default-testResources) @ Cabinet --- Using 'UTF-8' encoding to copy filtered resources. skip non existing resourceDirectory /home/jonass/NetBeansProjects/Cabinet2/src/test/resources --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Cabinet --- Nothing to compile - all classes are up to date --- maven-surefire-plugin:2.12.4:test (default-test) @ Cabinet --- --- maven-jar-plugin:2.4:jar (default-jar) @ Cabinet --- Building jar: /home/jonass/NetBeansProjects/Cabinet2/target/Cabinet-1.0-SNAPSHOT.jar --- maven-install-plugin:2.4:install (default-install) @ Cabinet --- Installing /home/jonass/NetBeansProjects/Cabinet2/target/Cabinet-1.0-SNAPSHOT.jar to /home/jonass/.m2/repository/com/mycompany/Cabinet/1.0-SNAPSHOT/Cabinet-1.0-SNAPSHOT.jar Installing /home/jonass/NetBeansProjects/Cabinet2/pom.xml to /home/jonass/.m2/repository/com/mycompany/Cabinet/1.0-SNAPSHOT/Cabinet-1.0-SNAPSHOT.pom ------------------------------------------------------------------------ BUILD SUCCESS ------------------------------------------------------------------------ Total time: 2.026 s Finished at: 2021-09-05T14:18:00+01:00 ------------------------------------------------------------------------ cd /home/jonass/NetBeansProjects/Cabinet2; JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 /snap/netbeans/30/netbeans/java/maven/bin/mvn clean install Scanning for projects... -----------------------< com.mycompany:Cabinet >------------------------ Building Cabinet2 1.0-SNAPSHOT --------------------------------[ jar ]--------------------------------- The POM for unknown.binary:jcalendar-1.4:jar:SNAPSHOT is missing, no dependency information available --- maven-clean-plugin:2.5:clean (default-clean) @ Cabinet --- Deleting /home/jonass/NetBeansProjects/Cabinet2/target --- maven-resources-plugin:2.6:resources (default-resources) @ Cabinet --- Using 'UTF-8' encoding to copy filtered resources. skip non existing resourceDirectory /home/jonass/NetBeansProjects/Cabinet2/src/main/resources --- maven-compiler-plugin:3.1:compile (default-compile) @ Cabinet --- Changes detected - recompiling the module! Compiling 6 source files to /home/jonass/NetBeansProjects/Cabinet2/target/classes /home/jonass/NetBeansProjects/Cabinet2/src/main/java/com/mycompany/cabinet/Les_fonctions.java: /home/jonass/NetBeansProjects/Cabinet2/src/main/java/com/mycompany/cabinet/Les_fonctions.java uses unchecked or unsafe operations. /home/jonass/NetBeansProjects/Cabinet2/src/main/java/com/mycompany/cabinet/Les_fonctions.java: Recompile with -Xlint:unchecked for details. --- maven-resources-plugin:2.6:testResources (default-testResources) @ Cabinet --- Using 'UTF-8' encoding to copy filtered resources. skip non existing resourceDirectory /home/jonass/NetBeansProjects/Cabinet2/src/test/resources --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Cabinet --- Nothing to compile - all classes are up to date --- maven-surefire-plugin:2.12.4:test (default-test) @ Cabinet --- No tests to run. --- maven-jar-plugin:2.4:jar (default-jar) @ Cabinet --- Building jar: /home/jonass/NetBeansProjects/Cabinet2/target/Cabinet-1.0-SNAPSHOT.jar --- maven-install-plugin:2.4:install (default-install) @ Cabinet --- Installing /home/jonass/NetBeansProjects/Cabinet2/target/Cabinet-1.0-SNAPSHOT.jar to /home/jonass/.m2/repository/com/mycompany/Cabinet/1.0-SNAPSHOT/Cabinet-1.0-SNAPSHOT.jar Installing /home/jonass/NetBeansProjects/Cabinet2/pom.xml to /home/jonass/.m2/repository/com/mycompany/Cabinet/1.0-SNAPSHOT/Cabinet-1.0-SNAPSHOT.pom ------------------------------------------------------------------------ BUILD SUCCESS ------------------------------------------------------------------------ Total time: 3.781 s Finished at: 2021-09-05T14:18:06+01:00 ------------------------------------------------------------------------
Merci
Partager