On 11/20/06, Andrew Stepanenko <[EMAIL PROTECTED]> wrote:
Struts2 API seems to compile well, but when it gets to compiling
Struts2 Core it complains about package com.opensymphony.xwork2.inject
doesn't exist. The full maven2 error log is attached.
Interesting thing is that I was not able to find
com.opensymphony.xwork2.inject in the latest xwork2 trunk as well!
Struts2 sources also reference @Inject annotation in those files which
failed to compile.

Any ideas where is the package com.opensymphony.xwork2.inject? Do the
nightly builds of Struts2 if any compile well?

Try deleting $M2_REPO/opensymphony/xwork to force Maven to download
the latest snapshot.

(Unless you've moved it, $M2_REPO will be in your home directory:
~/.m2/repository.)

Another option is to check out and build XWork from source along with Struts 2:

svn co http://svn.opensymphony.com/svn/xwork/trunk xwork

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to