转载:
http://my.oschina.net/u/732798/blog/362147?p={{page}}
http://blog.csdn.net/yanjunlu/article/details/45498509
1.错误:cvc-complex-type.3.2.2: Attribute 'local' is not a
<ref local="authenticationActionResolver" />换成
<ref bean="authenticationActionResolver" />
具体原因不详。。
<ref bean="authenticationActionResolver" />
具体原因不详。。
2.错误:Plugin execution not covered by lifecycle configuration: com.mycila.maven-li
在 cas-4.0.1\pom.xml 里的 build - pluginManagement - plugins 节点加入:
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <versionRange>2.10</versionRange>
- <goals>
- <goal>checkstyle</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>com.mycila.maven-license-plugin</groupId>
- <artifactId>maven-license-plugin</artifactId>
- <versionRange>1.9.0</versionRange>
- <goals>
- <goal>check</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>aspectj-maven-plugin</artifactId>
- <versionRange>1.4</versionRange>
- <goals>
- <goal>compile</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>