Hello,

I'm having trouble building the examples from the xfire-1.1 source
distribution (I chose 1.1 as it's the same version as being used in the
XFire plugin for MyEclipse). I can build the Book example but the
WS-Security example produces the following error when I use the "mvn install
war:war" command from the README:

C:\XFire\xfire-
1.1\examples\ws-security\src\main\org\codehaus\xfire\client\BookClientEnc2Way.java:[99,30]
cannot find symbol
symbol  : method getInstance(org.codehaus.xfire.demo.IBook )
location: class org.codehaus.xfire.client.Client

C:\XFire\xfire-
1.1\examples\ws-security\src\main\org\codehaus\xfire\client\BookClientEnc2Way.java:[110,28]
cannot find symbol
symbol  : constructor WSS4JInHandler( java.util.Properties)
location: class org.codehaus.xfire.security.wss4j.WSS4JInHandle

- I'm using Maven 2.0.4
- I've installed activation.jar and mail.jar (following Maven instructions).
- I've installed xfire-spring-1.2-20061127.155947-31.jar and
xfire-ws-security-1.2-20061127.155947-28.jar which were the most
recent 1.2SNAPSHOTs (following
Maven instructions) .


I have since downloaded the xfire-1.2.3 source to attempt the same thing and
it produces even more of the same type of errors as above (even with the
simple book example) e.g.:

C:\XFire\xfire-
1.2.3\examples\book\src\main\org\codehaus\xfire\demo\handlers\CheckVersionHandler.java:[3,26]
cannot resolve symbol
symbol  : class MessageContext
location: package xfire

C:\XFire\xfire-
1.2.3\examples\book\src\main\org\codehaus\xfire\demo\handlers\CheckVersionHandler.java:[4,26]
cannot resolve symbol
symbol  : class XFireRuntimeException
location: package xfire

C:\XFire\xfire-
1.2.3\examples\book\src\main\org\codehaus\xfire\demo\handlers\CheckVersionHandler.java:[5,34]
package org.codehaus.xfir
e.handler does not exist

I haven't used Maven before so I can't tell why it cannot find these classes
and how I should point it to them.

Any help greatly appreciated.

Thanks
Declan.

Reply via email to