Plugin execution not covered by lifecycle configuration...
来源:互联网 发布:网上买旧书知乎 编辑:程序博客网 时间:2024/05/16 01:22
最近在跟权限系统,导入源码后出现了很多异常,其中之一如下:引入第三方插件eclipselink报错信息:
Plugin execution not covered by lifecycle configuration: au.com.alderaan:eclipselink-staticweave-maven-plugin:1.0.3:weave (execution: default, phase: process-classes)
直译过来大意就是插件执行没有被生命周期配置给覆盖。也就是说该插件没有被合理管理起来。
针对上述错误信息,那么给它添加一个管理就OK了。
JBAS014775: 新的缺失的/未满足的依赖关系:
service jboss.naming.context.java.jboss.datasources.JcMysqlDS (缺失的)依赖关系: [service jboss.persistenceunit."itoo-authority-start-ear.ear/itoo-authority-api-0.0.1-SNAPSHOT.jar#MT_HOTEL_SERVICE", service jboss.persistenceunit."itoo-authority-start-ear.ear/itoo-authority-start-web-0.0.1-SNAPSHOT.war#MT_HOTEL_SERVICE"]
仔细查看错误信息,最终原因是没有找到依赖的数据源JcMysqlDS,找到原因了那就给它配置数据源就好了。
Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher
直译过来就是这个标签只适用于jdk1.5及1.5以上的版本(注意:jdk1.8可能会有其他异常),修改项目的jdk版
本或者直接使用myeclipse自带的jdk也可以。
如果修改后还报找不到'component-scan',则可能是spring的配置文件内部的隐性异常,将
applicatonContext.xml文件的头文件用下面代码替换。
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jdbc="http://www.springframework.org/schema/jdbc"xmlns:task="http://www.springframework.org/schema/task" xmlns:cache="http://www.springframework.org/schema/cache"xmlns:p="http://www.springframework.org/schema/p"xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsdhttp://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsdhttp://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsdhttp://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsdhttp://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsdhttp://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
每解决一个问题就多了一点积累,正因为有了一点点的进步才会有最终的成功,加油!
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration...
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Plugin execution not covered by lifecycle configuration
- Jacoco Maven Plugin - Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 怎么解决 “Plugin execution not covered by lifecycle configuration”
- plugin execution not covered by lifecycle configuration错误解决
- Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- Eclipse m2e报Plugin execution not covered by lifecycle configuration
- Maven项目:Plugin execution not covered by lifecycle configuration 解决方案
- maven Plugin execution not covered by lifecycle configuration
- apache 中 httpd.conf 的配置详解
- 做好软件测试需要具备的思维方式
- 计数器模块的使用-system generator
- Excel Sheet Column Number 把大写字符串转换为整数
- URL filtering for UIWebView on the iPhone
- Plugin execution not covered by lifecycle configuration...
- 自定义TextView之 给你的TextView添加边框
- 弱校学渣,直播ACM之路
- tomcat配置多个web的配置详解
- .sortEntities()is called this array is sorted by the entities.zIndex.
- read( ) 函数 —— 终端输入设备的阻塞与非阻塞的设置
- 第十二周 计算图G中出度为0的顶点数
- knockoutjs二 observableArray的使用
- JAVA7环境下Spring容器对locale对象反序列的bug