IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Maven Java Discussion :

Impossibilité de builder Archiva-1.0.2


Sujet :

Maven Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Février 2007
    Messages
    116
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2007
    Messages : 116
    Par défaut Impossibilité de builder Archiva-1.0.2
    Bonjour,

    J'ai récupéré les sources d'Archiva (décompressés dans D:\archiva-1.0.2) et j'essaye de créer le war.

    Quand je fais un mvn --debug compile j'obtiens :

    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
     
    + Error stacktraces are turned on.
    Maven version: 2.0.9
    Java version: 1.5.0_12
    OS name: "windows 2000" version: "5.0" arch: "x86" Family: "windows"
     
    ...
     
    These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts().
     
     
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-war-plugin:2.0.1:inplace' -->
    [DEBUG]   (f) archiveClasses = false
    [DEBUG]   (s) classesDirectory = D:\archiva-1.0.2\archiva-web\archiva-webapp\target\classes
    [DEBUG]   (f) dependentWarExcludes = META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml
    [DEBUG]   (f) filters = []
    [DEBUG]   (s) project = MavenProject: org.apache.maven.archiva:archiva-webapp:1.0.2 @ D:\archiva-1.0.2\archiva-web\archiva-webapp\pom.xml
    [DEBUG]   (s) warSourceDirectory = D:\archiva-1.0.2\archiva-web\archiva-webapp\src\main\webapp
    [DEBUG]   (s) webappDirectory = D:\archiva-1.0.2\archiva-web\archiva-webapp\target\archiva-webapp-1.0.2
    [DEBUG]   (f) workDirectory = D:\archiva-1.0.2\archiva-web\archiva-webapp\target\war\work
    [DEBUG] -- end configuration --
    [INFO] [war:inplace {execution: default}]
    [INFO] Generating webapp in source directory... D:\archiva-1.0.2\archiva-web\archiva-webapp\src\main\webapp
    [INFO] Exploding webapp...
    [INFO] Assembling webapp archiva-webapp in D:\archiva-1.0.2\archiva-web\archiva-webapp\src\main\webapp
    [DEBUG] Processing: archiva-report-manager-1.0.2.jar
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Could not explode webapp...
     
    Embedded error: D:\archiva-1.0.2\archiva-reporting\archiva-report-manager\target\classes (AccÞs refusÚ)
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Could not explode webapp...
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
            at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
            at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
            at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: org.apache.maven.plugin.MojoExecutionException: Could not explode webapp...
            at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:383)
            at org.apache.maven.plugin.war.WarInPlaceMojo.execute(WarInPlaceMojo.java:36)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
            ... 16 more
    Caused by: java.io.FileNotFoundException: D:\archiva-1.0.2\archiva-reporting\archiva-report-manager\target\classes (AccÞs refusÚ)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:796)
            at org.apache.maven.plugin.war.AbstractWarMojo.copyFileIfModified(AbstractWarMojo.java:937)
            at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:583)
            at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:379)
            ... 19 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 minute 4 seconds
    [INFO] Finished at: Tue Jul 08 14:49:03 CEST 2008
    [INFO] Final Memory: 35M/63M
    [INFO] ------------------------------------------------------------------------
    Si je fais un mvn --debug install, j'obtiens :
    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
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
     
    ...
    These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts().
     
     
    [DEBUG] Configuring mojo 'org.codehaus.mojo:jpox-maven-plugin:1.1.7:enhance' -->
    [DEBUG]   (f) classes = D:\archiva-1.0.2\archiva-base\archiva-model\target\classes
    [DEBUG]   (f) classpathElements = [D:\archiva-1.0.2\archiva-base\archiva-model\target\classes, D:\archiva-1.0.2\archiva-base\archiva-common\target\classes, F:\r
    epository\commons-lang\commons-lang\2.2\commons-lang-2.2.jar, F:\repository\org\codehaus\plexus\plexus-digest\1.1\plexus-digest-1.1.jar, F:\repository\org\codeh
    aus\plexus\plexus-utils\1.4\plexus-utils-1.4.jar, F:\repository\org\codehaus\plexus\plexus-component-api\1.0-alpha-22\plexus-component-api-1.0-alpha-22.jar, F:\
    repository\org\codehaus\plexus\plexus-classworlds\1.2-alpha-7\plexus-classworlds-1.2-alpha-7.jar, F:\repository\org\codehaus\plexus\plexus-container-default\1.0
    -alpha-22\plexus-container-default-1.0-alpha-22.jar, F:\repository\javax\jdo\jdo2-api\2.0\jdo2-api-2.0.jar, F:\repository\geronimo-spec\geronimo-spec-jta\1.0.1B
    -rc2\geronimo-spec-jta-1.0.1B-rc2.jar, F:\repository\commons-collections\commons-collections\3.2\commons-collections-3.2.jar, F:\repository\commons-io\commons-i
    o\1.2\commons-io-1.2.jar]
    [DEBUG]   (f) mappingIncludes = **/*.jdo
    [DEBUG]   (f) pluginArtifacts = [org.apache.derby:derby:jar:10.2.1.6:compile, jpox:jpox-enhancer:jar:1.1.7:runtime, jpox:jpox:jar:1.1.7:runtime, log4j:log4j:jar
    :1.2.8:runtime, javax.jdo:jdo2-api:jar:2.0:runtime, geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc2:runtime, org.apache.bcel:bcel:jar:5.2:runtime, jakarta-regexp
    :jakarta-regexp:jar:1.4:runtime, ant:ant:jar:1.6:runtime, org.codehaus.plexus:plexus-utils:jar:1.1:runtime, org.apache.maven:maven-artifact:jar:2.0:runtime, org
    .codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime, org.apache.maven:maven-plugin-api:jar:2.0:runtime]
    [DEBUG] -- end configuration --
    [INFO] [jpox:enhance {execution: enhance}]
    [DEBUG] Classes Dir is : D:\archiva-1.0.2\archiva-base\archiva-model\target\classes
    [DEBUG] Executing command line:
    [DEBUG] java -cp "D:\archiva-1.0.2\archiva-base\archiva-model\target\classes;D:\archiva-1.0.2\archiva-base\archiva-common\target\classes;F:\repository\commons-l
    ang\commons-lang\2.2\commons-lang-2.2.jar;F:\repository\org\codehaus\plexus\plexus-digest\1.1\plexus-digest-1.1.jar;F:\repository\org\codehaus\plexus\plexus-uti
    ls\1.4\plexus-utils-1.4.jar;F:\repository\org\codehaus\plexus\plexus-component-api\1.0-alpha-22\plexus-component-api-1.0-alpha-22.jar;F:\repository\org\codehaus
    \plexus\plexus-classworlds\1.2-alpha-7\plexus-classworlds-1.2-alpha-7.jar;F:\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-22\plexus-contain
    er-default-1.0-alpha-22.jar;F:\repository\javax\jdo\jdo2-api\2.0\jdo2-api-2.0.jar;F:\repository\geronimo-spec\geronimo-spec-jta\1.0.1B-rc2\geronimo-spec-jta-1.0
    .1B-rc2.jar;F:\repository\commons-collections\commons-collections\3.2\commons-collections-3.2.jar;F:\repository\commons-io\commons-io\1.2\commons-io-1.2.jar;F:\
    repository\org\apache\derby\derby\10.2.1.6\derby-10.2.1.6.jar;F:\repository\jpox\jpox-enhancer\1.1.7\jpox-enhancer-1.1.7.jar;F:\repository\jpox\jpox\1.1.7\jpox-
    1.1.7.jar;F:\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar;F:\repository\javax\jdo\jdo2-api\2.0\jdo2-api-2.0.jar;F:\repository\geronimo-spec\geronimo-spec-jta\1.
    0.1B-rc2\geronimo-spec-jta-1.0.1B-rc2.jar;F:\repository\org\apache\bcel\bcel\5.2\bcel-5.2.jar;F:\repository\jakarta-regexp\jakarta-regexp\1.4\jakarta-regexp-1.4
    .jar;F:\repository\ant\ant\1.6\ant-1.6.jar;F:\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Program Files\Apache Software Foundation\m
    aven2.x\lib\maven-2.0.9-uber.jar;C:\Program Files\Apache Software Foundation\maven2.x\lib\maven-2.0.9-uber.jar;C:\Program Files\Apache Software Foundation\maven
    2.x\lib\maven-2.0.9-uber.jar" -Dlog4j.configuration=jar:file:/F:/repository/org/codehaus/mojo/jpox-maven-plugin/1.1.7/jpox-maven-plugin-1.1.7.jar!/log4j.configu
    ration org.jpox.enhancer.JPOXEnhancer -v D:\archiva-1.0.2\archiva-base\archiva-model\target\classes\org\apache\maven\archiva\model\package.jdo
    [DEBUG] Exit code: 1
    [DEBUG] --------------------
    [DEBUG]  Standard output from the JPox enhancer tool:
    [DEBUG] --------------------
    [INFO]
    [DEBUG] --------------------
    [ERROR] --------------------
    [ERROR]  Standard error from the JPox enhancer tool:
    [ERROR] --------------------
    [ERROR] java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException
            at org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:293)
            at org.jpox.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java:163)
            at org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:127)
            at org.jpox.plugin.PluginManager.registerExtensionPoints(PluginManager.java:73)
            at org.jpox.PMFContext.<init>(PMFContext.java:97)
            at org.jpox.enhancer.JPOXEnhancer.<init>(JPOXEnhancer.java:112)
            at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:423)
    Exception in thread "main"
     
    [ERROR] --------------------
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] The JPox enhancer tool exited with a non-null exit code.
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: The JPox enhancer tool exited with a non-null exit code.
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
            at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
            at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
            at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: org.apache.maven.plugin.MojoExecutionException: The JPox enhancer tool exited with a non-null exit code.
            at org.codehaus.mojo.jpox.JpoxEnhancerMojo.enhance(JpoxEnhancerMojo.java:151)
            at org.codehaus.mojo.jpox.JpoxEnhancerMojo.executeJpoxTool(JpoxEnhancerMojo.java:56)
            at org.codehaus.mojo.jpox.AbstractJpoxMojo.execute(AbstractJpoxMojo.java:96)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
            ... 16 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 minute 33 seconds
    [INFO] Finished at: Tue Jul 08 14:54:41 CEST 2008
    [INFO] Final Memory: 31M/57M
    [INFO] ------------------------------------------------------------------------
    Par contre si je vais dans le sous répertoitre "archiva-web" et que ja fais un mvn compile (ou install), les deux se passent bien.

  2. #2
    Membre Expert

    Profil pro
    Inscrit en
    Mai 2006
    Messages
    1 172
    Détails du profil
    Informations personnelles :
    Âge : 50
    Localisation : France, Yvelines (Île de France)

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Je te conseille plutôt de regarder le tag de la 1.1.
    La release de Archiva 1.1 est en cours de vote chez Apache donc elle devrait être validée et disponible officiellement d'ici la fin de semaine.

  3. #3
    Membre confirmé
    Profil pro
    Inscrit en
    Février 2007
    Messages
    116
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2007
    Messages : 116
    Par défaut
    Je ne pense pas que la 1.1 change qque chose vue que les autres versions non plus je n'arrive pas à les builder...

    Par contre il y a qque chose que je ne comprends pas :
    Quand je fais un mvn compile j'obtiens :
    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
     
    [INFO] [war:inplace {execution: default}]
    [INFO] Generating webapp in source directory... D:\svn_Archiva\apache-archiva-1.0.1-src\archiva-web\archiva-webapp\src\main\webapp
    [INFO] Exploding webapp...
    [INFO] Assembling webapp archiva-webapp in D:\svn_Archiva\apache-archiva-1.0.1-src\archiva-web\archiva-webapp\src\main\webapp
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Could not explode webapp...
     
    Embedded error: D:\svn_Archiva\apache-archiva-1.0.1-src\archiva-reporting\archiva-report-manager\target\classes (AccÞs refusÚ)
    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Could not explode webapp...
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
            at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
            at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
            at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: org.apache.maven.plugin.MojoExecutionException: Could not explode webapp...
            at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:383)
            at org.apache.maven.plugin.war.WarInPlaceMojo.execute(WarInPlaceMojo.java:36)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
            ... 16 more
    Caused by: java.io.FileNotFoundException: D:\svn_Archiva\apache-archiva-1.0.1-src\archiva-reporting\archiva-report-manager\target\classes (AccÞs refusÚ)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:796)
            at org.apache.maven.plugin.war.AbstractWarMojo.copyFileIfModified(AbstractWarMojo.java:937)
            at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:583)
            at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:379)
            ... 19 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 58 seconds
    [INFO] Finished at: Wed Jul 09 10:47:02 CEST 2008
    [INFO] Final Memory: 34M/61M
    [INFO] ------------------------------------------------------------------------
    Si je me positionne sur archiva-report-manager et que je fais un "mvn compile" c'est OK
    Si je me positionne un cran au dessus (sous archiva-reporting) et que je fais un "mvn compile" c'est OK.

    Par contre sur la racine c'est KO !

    Et donc pourquoi j'aurrais une erreur : Embedded error: D:\svn_Archiva\apache-archiva-1.0.1-src\archiva-reporting\archiva-report-manager\target\classes (Accès refusé) sur la racine alors que ce pb "d'accès refusé" ne remonte pas quand je descends dans le projet ??

  4. #4
    Membre Expert

    Profil pro
    Inscrit en
    Mai 2006
    Messages
    1 172
    Détails du profil
    Informations personnelles :
    Âge : 50
    Localisation : France, Yvelines (Île de France)

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    curieux.
    Tu as le même résultat avec la commande suivante?


  5. #5
    Membre confirmé
    Profil pro
    Inscrit en
    Février 2007
    Messages
    116
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2007
    Messages : 116
    Par défaut
    non j'ai une erreur :
    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
     
    [ERROR] --------------------
    [ERROR]  Standard error from the JPox enhancer tool:
    [ERROR] --------------------
    [ERROR] java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException
            at org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:293)
            at org.jpox.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java:163)
            at org.jpox.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:127)
            at org.jpox.plugin.PluginManager.registerExtensionPoints(PluginManager.java:73)
            at org.jpox.PMFContext.<init>(PMFContext.java:97)
            at org.jpox.enhancer.JPOXEnhancer.<init>(JPOXEnhancer.java:112)
            at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:423)
    Exception in thread "main"
     
    [ERROR] --------------------
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] The JPox enhancer tool exited with a non-null exit code.
    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: The JPox enhancer tool exited with a non-null exit code.
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
            at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
            at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
            at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: org.apache.maven.plugin.MojoExecutionException: The JPox enhancer tool exited with a non-null exit code.
            at org.codehaus.mojo.jpox.JpoxEnhancerMojo.enhance(JpoxEnhancerMojo.java:151)
            at org.codehaus.mojo.jpox.JpoxEnhancerMojo.executeJpoxTool(JpoxEnhancerMojo.java:56)
            at org.codehaus.mojo.jpox.AbstractJpoxMojo.execute(AbstractJpoxMojo.java:96)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
            ... 16 more

  6. #6
    Membre Expert

    Profil pro
    Inscrit en
    Mai 2006
    Messages
    1 172
    Détails du profil
    Informations personnelles :
    Âge : 50
    Localisation : France, Yvelines (Île de France)

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Quel est ton jdk?
    As-tu modifié des jars dans ton local repository?

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 6
    Dernier message: 16/11/2009, 23h52
  2. Outils, cours et NOUVEAUX tutoriels pour Borland C++Builder
    Par hiko-seijuro dans le forum C++Builder
    Réponses: 10
    Dernier message: 12/03/2006, 22h33
  3. c++ builder JavaDoc :)
    Par JEG dans le forum C++Builder
    Réponses: 8
    Dernier message: 08/06/2002, 13h31
  4. Documentation DirectX dans C++Builder 3
    Par srvremi dans le forum DirectX
    Réponses: 1
    Dernier message: 26/04/2002, 09h59
  5. Réponses: 2
    Dernier message: 20/03/2002, 23h01

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo