cas4.0.1源码各种错误。

转载:

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" />
具体原因不详。。

2.错误:Plugin execution not covered by lifecycle configuration: com.mycila.maven-li

在 cas-4.0.1\pom.xml 里的 build - pluginManagement  - plugins 节点加入:

[html]  view plain copy 在CODE上查看代码片 派生到我的代码片
  1. <plugin>  
  2.             <groupId>org.eclipse.m2e</groupId>  
  3.             <artifactId>lifecycle-mapping</artifactId>  
  4.             <version>1.0.0</version>  
  5.             <configuration>  
  6.                <lifecycleMappingMetadata>  
  7.                   <pluginExecutions>  
  8.                     <pluginExecution>  
  9.                       <pluginExecutionFilter>  
  10.                         <groupId>org.apache.maven.plugins</groupId>  
  11.                         <artifactId>maven-checkstyle-plugin</artifactId>  
  12.                         <versionRange>2.10</versionRange>  
  13.                         <goals>  
  14.                           <goal>checkstyle</goal>  
  15.                         </goals>  
  16.                       </pluginExecutionFilter>  
  17.                       <action>  
  18.                         <ignore />  
  19.                       </action>  
  20.                     </pluginExecution>  
  21.                     <pluginExecution>  
  22.                       <pluginExecutionFilter>  
  23.                         <groupId>com.mycila.maven-license-plugin</groupId>  
  24.                         <artifactId>maven-license-plugin</artifactId>  
  25.                         <versionRange>1.9.0</versionRange>  
  26.                         <goals>  
  27.                           <goal>check</goal>  
  28.                         </goals>  
  29.                       </pluginExecutionFilter>  
  30.                       <action>  
  31.                         <ignore />  
  32.                       </action>  
  33.                     </pluginExecution>  
  34.                     <pluginExecution>  
  35.                       <pluginExecutionFilter>  
  36.                         <groupId>org.codehaus.mojo</groupId>  
  37.                         <artifactId>aspectj-maven-plugin</artifactId>  
  38.                         <versionRange>1.4</versionRange>  
  39.                         <goals>  
  40.                           <goal>compile</goal>  
  41.                         </goals>  
  42.                       </pluginExecutionFilter>  
  43.                       <action>  
  44.                         <ignore />  
  45.                       </action>  
  46.                     </pluginExecution>  
  47.                   </pluginExecutions>  
  48.                 </lifecycleMappingMetadata>  
  49.             </configuration>  
  50.         </plugin> 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值