Web開発にはEclipse、M2Eプラグイン、Maven3を使用しています。
struts2-archetype-blank を使用して、基本的な struts2 プロジェクトを作成しようとしています。
mvn archetype:generate -B -DgroupId=tutorial \
-DartifactId=tutorial \
-DarchetypeGroupId=org.apache.struts \
-DarchetypeArtifactId=struts2-archetype-blank \
-DarchetypeVersion=2.3.4
だから私はこのエラーが発生しています:
[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
ConfigTest.java の次の行:
configurationManager.addConfigurationProvider(c);
誰かが何がうまくいかないのか教えてもらえますか。
前もって感謝します。