Précédent   Forum du club des développeurs et IT Pro > Java > Développement Web en Java > Web Services
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse
 
Outils de la discussion
Publicité
'
Vieux 14/11/2012, 11h14   #1
Mister Nono
Membre Expert
 
Inscription : septembre 2002
Messages : 1 698
Détails du profil
Informations personnelles :
Âge : 49
Localisation : France, Hérault (Languedoc Roussillon)

Informations forums :
Inscription : septembre 2002
Messages : 1 698
Points : 1 056
Points : 1 056
Par défaut Librairies non chargées pour le projet exemple de Developper Studio WSO2

Bonjour,

J'ai installé Developper Studio WSO2 pour eclipse.

Je lance le premier projet exemple disponible avec ce plugin "AccountServiceSample".

Comme c'est un projet MAVEN je lance le build pour télécharger les librairies : le téléchargement commence pour certaines librairies mais au bout d'un moment la connexion avec le serveur repository semble en attente.

Voici l'erreur de la console suite à la commande mvn clean install :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
...
Downloaded: http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-parent/
SNAPSHOT/maven-metadata.xml (359 B at 0.6 KB/sec)
Downloading: http://dist.wso2.org/maven2/org/apache/axis2/axis2-kernel/SNAPSHOT/
maven-metadata.xml
Downloading: http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-kerne
l/SNAPSHOT/maven-metadata.xml
Downloading: http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-kernel
/SNAPSHOT/maven-metadata.xml
nov. 14, 2012 11:01:29 AM org.apache.maven.wagon.providers.http.httpclient.impl.
client.DefaultRequestDirector tryConnect
INFO: I/O exception (java.net.SocketException) caught when connecting to the tar
get host: Network is unreachable: connect
nov. 14, 2012 11:01:29 AM org.apache.maven.wagon.providers.http.httpclient.impl.
client.DefaultRequestDirector tryConnect
INFO: Retrying connect
Le fichier pom.xml qui n'a pas été modifié est le suivant :
Code :
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
 
<?xml version="1.0" encoding="UTF-8"?>
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.wso2.carbon</groupId>
    <artifactId>AccountServiceSample</artifactId>
    <version>1.0.0</version>
    <packaging>service/axis2</packaging>
    <name>AccountServiceSample</name>
    <description>AccountServiceSample</description>
    <repositories>
        <repository>
            <id>wso2-maven2-repository</id>
            <url>http://dist.wso2.org/maven2</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>wso2-maven2-repository-1</id>
            <url>http://dist.wso2.org/maven2</url>
        </pluginRepository>
    </pluginRepositories>
    <dependencies>
        <!-- XmlSchema-1.4.2.wso2v1.jar -->
        <dependency>
            <groupId>org.apache.ws.commons.schema.wso2</groupId>
            <artifactId>XmlSchema</artifactId>
            <version>1.4.2.wso2v1</version>
        </dependency>
 
        <!-- neethi-2.0.4.wso2v1.jar -->
        <dependency>
            <groupId>org.apache.neethi.wso2</groupId>
            <artifactId>neethi</artifactId>
            <version>2.0.4.wso2v1</version>
        </dependency>
 
        <!-- commons-httpclient-3.1.0.wso2v1.jar -->
        <dependency>
            <groupId>commons-httpclient.wso2</groupId>
            <artifactId>commons-httpclient</artifactId>
            <version>3.1.0.wso2v1</version>
        </dependency>
 
        <!-- wsdl4j-1.6.2.wso2v1.jar -->
        <dependency>
            <groupId>wsdl4j.wso2</groupId>
            <artifactId>wsdl4j</artifactId>
            <version>1.6.2.wso2v1</version>
        </dependency>
 
        <!-- commons-logging-1.1.1.jar -->
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1.1</version>
        </dependency>
 
        <!-- axiom-1.2.9.wso2v1.jar -->
        <dependency>
            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
            <artifactId>axiom</artifactId>
            <version>1.2.9-wso2v1</version>
        </dependency>
 
        <!-- commons-collections-3.2.0.wso2v1.jar -->
        <dependency>
            <groupId>commons-collections.wso2</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2.0.wso2v1</version>
        </dependency>
 
        <!-- commons-codec-1.3.0.wso2v1.jar -->
        <dependency>
            <groupId>commons-codec.wso2</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.3.0.wso2v1</version>
        </dependency>
 
        <!-- httpcore-4.1.0.alpha1-wso2v1.jar -->
        <dependency>
            <groupId>org.apache.httpcomponents.wso2</groupId>
            <artifactId>httpcore</artifactId>
            <version>4.1.0.alpha1-wso2v1</version>
        </dependency>
 
        <!-- axis2-1.6.0.wso2v1.jar -->
        <dependency>
            <groupId>org.apache.axis2.wso2</groupId>
            <artifactId>axis2</artifactId>
            <version>1.6.0-wso2v1</version>
        </dependency>
    </dependencies>
 
    <build>
        <plugins>
            <plugin>
                <groupId>org.wso2.maven</groupId>
                <artifactId>maven-axis2-plugin</artifactId>
                <version>2.0.0</version>
                <extensions>true</extensions>
                <executions>
                    <execution>
                        <id>aar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>aar</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration />
            </plugin>
            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.1</version>
                <executions>
                    <execution>
                        <id>copy-dependencies</id>
                        <phase>process-sources</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>lib</outputDirectory>
                            <overWriteReleases>true</overWriteReleases>
                            <overWriteSnapshots>true</overWriteSnapshots>
                            <overWriteIfNewer>true</overWriteIfNewer>
                            <excludeTransitive>true</excludeTransitive>
                            <includeScope>runtime</includeScope>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
Pourquoi ce blocage ?

Par avance, merci.

A+
__________________
La connaissance ne sert que si elle est partagée.
http://ms2i.net
Mister Nono est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse
Outils de la discussion

Navigation rapide


Fuseau horaire GMT +2. Il est actuellement 02h08.


 
 
 
 
Partenaires

Hébergement Web