[
https://issues.apache.org/jira/browse/WW-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440556#comment-13440556
]
Hudson commented on WW-3864:
----------------------------
Integrated in Struts2 #518 (See [https://builds.apache.org/job/Struts2/518/])
WW-3864: struts2-archetype-blank compile error (Revision 1376638)
Result = SUCCESS
jogep :
Files :
*
/struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/ConfigTest.java
> 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
> Priority: Minor
> Fix For: 2.3.5
>
>
> 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