struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Geppert (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (WW-3864) struts2-archetype-blank compile error
Date Thu, 16 Aug 2012 09:51:38 GMT

     [ https://issues.apache.org/jira/browse/WW-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Johannes Geppert reassigned WW-3864:
------------------------------------

    Assignee: Johannes Geppert
    
> struts2-archetype-blank compile error
> -------------------------------------
>
>                 Key: WW-3864
>                 URL: https://issues.apache.org/jira/browse/WW-3864
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other, Unit Tests
>    Affects Versions: 2.3.4
>            Reporter: Chris Williams
>            Assignee: Johannes Geppert
>
> Using maven to create a new struts2-archetype-blank project and trying to build it gives
a compilation error on ConfigTest:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project GetVsPostTest: Compilation failure
> [ERROR] /code/tutorial/src/test/java/tutorial/example/ConfigTest.java:[65,28] cannot
find symbol
> [ERROR] symbol  : method addConfigurationProvider(com.opensymphony.xwork2.config.providers.XmlConfigurationProvider)
> [ERROR] location: class com.opensymphony.xwork2.config.ConfigurationManager
> Changing this line in ConfigTest.java:
> configurationManager.addConfigurationProvider(c);
> to this:
> configurationManager.addContainerProvider( c );
> fixes the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message