On 11/16/06 3:23 PM, "Don Brown" <[EMAIL PROTECTED]> wrote:
> My guess is you have an old version of the xwork snapshot jar in your > local repository cache. Remove the jar from > .m2/repository/opensymphony/xwork and try again. Ok, I rm'ed my opensymphony directory, so maven would download everything again. Maven now downloads the xwork2 snapshot, but still there are errors: [INFO] [jar:jar] [INFO] Building jar: /Users/mark/opt/struts2-current/api/target/struts2-api-2.0.2-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing /Users/mark/opt/struts2-current/api/target/struts2-api-2.0.2-SNAPSHOT.jar to /Users/mark/.m2/repository/org/apache/struts/struts2-api/2.0.2-SNAPSHOT/stru ts2-api-2.0.2-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Struts 2 Core [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates from snapshots-maven-codehaus [INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates from opensymphony [INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates from Maven Snapshots Downloading: http://snapshots.maven.codehaus.org/maven2/opensymphony/xwork/2.0-SNAPSHOT/x work-2.0-SNAPSHOT.pom [WARNING] Unable to get resource from repository snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2) Downloading: http://people.apache.org/repo/m2-snapshot-repository/opensymphony/xwork/2.0- SNAPSHOT/xwork-2.0-SNAPSHOT.pom [WARNING] Unable to get resource from repository apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository) Downloading: http://maven.opensymphony.com/opensymphony/poms/xwork-2.0-SNAPSHOT.pom 8K downloaded Downloading: http://snapshots.maven.codehaus.org/maven2/opensymphony/xwork/2.0-SNAPSHOT/x work-2.0-SNAPSHOT.jar [WARNING] Unable to get resource from repository snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2) Downloading: http://people.apache.org/repo/m2-snapshot-repository/opensymphony/xwork/2.0- SNAPSHOT/xwork-2.0-SNAPSHOT.jar [WARNING] Unable to get resource from repository apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository) Downloading: http://maven.opensymphony.com/opensymphony/jars/xwork-2.0-SNAPSHOT.jar 266K downloaded [INFO] [compiler:compile] Compiling 393 source files to /Users/mark/opt/struts2-current/core/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/UIBean.java:[42,38] package com.opensymphony.xwork2.inject does not exist /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/Component.java:[44,38] package com.opensymphony.xwork2.inject does not exist /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/Component.java:[45,38] package com.opensymphony.xwork2.inject does not exist /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/template/TemplateEngineManager.java:[29,38] package com.opensymphony.xwork2.inject does not exist /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/template/TemplateEngineManager.java:[30,38] package com.opensymphony.xwork2.inject does not exist /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/Form.java:[48,38] package com.opensymphony.xwork2.inject does not exist /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/template/TemplateEngineManager.java:[43,4] cannot find symbol symbol : class Container location: class org.apache.struts2.components.template.TemplateEngineManager /Users/mark/opt/struts2-current/core/src/main/java/org/apache/struts2/compon ents/template/TemplateEngineManager.java:[52,29] cannot find symbol symbol : class Container location: class org.apache.struts2.components.template.TemplateEngineManager Looks like something is out of sync, but I'm not quite sure what. Possibly the xwork jar that was downloaded isn't really the proper snapshot? Thanks for your help. I really appreciate it. I need to build s2 so I can debug something. (Particularly that my interceptors seem to be getting init() called multiple times, and my struts-default.xml, struts-plugin.xml and struts.xml files are being parsed multiple times per web request.) Thanks, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]