Sorry but this is apparently the same problem !

C:\Annotations\xfire-1.2.4\examples\book>mvn install:install-file -Dfile=C:\Anno tations\xfire-spring-1.2.4.jar -DgroupId=org.codehaus.xfire -DartifactId=xfire-s
pring -Dversion=1.2.4 -Dpackaging=jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Book Example
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] [install:install-file]
[INFO] Installing C:\Annotations\xfire-spring-1.2.4.jar to C:\Documents and Sett
ings\ju\.m2\repository\org\codehaus\xfire\xfire-spring\1.2.4\xfire-spring-1.2.4.
jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Jan 11 12:22:21 CET 2007
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------

C:\Annotations\xfire-1.2.4\examples\book>mvn war:war
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'war'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Book Example
[INFO]    task-segment: [war:war]
[INFO] -------------------------------------------------------------------------
---
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp xfire-book in C:\Annotations\xfire-1.2.4\examples\book\
target\xfire-book-1.2.4
[INFO] Copy webapp webResources to C:\Annotations\xfire-1.2.4\examples\book\targ
et\xfire-book-1.2.4
[INFO] Generating war C:\Annotations\xfire-1.2.4\examples\book\target\xfire-book
-1.2.4.war
[INFO] Building war: C:\Annotations\xfire-1.2.4\examples\book\target\xfire-book-
1.2.4.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Thu Jan 11 12:22:36 CET 2007
[INFO] Final Memory: 4M/7M
[INFO] ------------------------------------------------------------------------


My pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
 <modelVersion>4.0.0</modelVersion>
 <groupId>org.codehaus.xfire.examples</groupId>
 <artifactId>xfire-book</artifactId>
 <packaging>war</packaging>
 <name>Book Example</name>
 <version>1.2.4</version>
 <inceptionYear>2004</inceptionYear>

 <dependencies>
   <dependency>
     <groupId>org.codehaus.xfire</groupId>
     <artifactId>xfire-spring</artifactId>
     <version>1.2.4</version>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>servlet-api</artifactId>
     <version>2.3</version>
     <scope>provided</scope>
   </dependency>
 </dependencies>

 <build>
   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-war-plugin</artifactId>
       <configuration>
         <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
       </configuration>
     </plugin>
   </plugins>
   <sourceDirectory>src/main</sourceDirectory>
   <testSourceDirectory>src/test</testSourceDirectory>
   <resources>
     <resource>
       <directory>src/main</directory>
       <includes>
         <include>**/*.xml</include>
       </includes>
     </resource>
   </resources>
   <testResources>
     <testResource>
       <directory>src/test</directory>
       <includes>
         <include>**/*.xml</include>
         <include>**/*.properties</include>
         <include>**/*.wsdl</include>
       </includes>
     </testResource>
   </testResources>
 </build>

 <!--  needed for XmlSchema -->
 <repositories>
   <repository>
     <id>codehaus</id>
     <name>Codehaus maven repository</name>
     <url>http://dist.codehaus.org/</url>
     <layout>legacy</layout>
   </repository>
 </repositories>

</project>


my firefox :

exception

javax.servlet.ServletException: Error initializing XFireServlet.
        
org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:52)
        javax.servlet.GenericServlet.init(GenericServlet.java:211)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Unknown Source)

cause mère

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [META-INF/xfire/services.xml]; nested exception is java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist
        
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:180)
        
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        
org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:103)
        
org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:41)
        
org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig(XFireConfigurableServlet.java:86)
        
org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFire(XFireConfigurableServlet.java:54)
        
org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45)
        javax.servlet.GenericServlet.init(GenericServlet.java:211)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Unknown Source)


Cheers,

HENOT Julien

_________________________________________________________________
Windows Live Spaces : créez votre blog à votre image ! http://www.windowslive.fr/spaces


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to