org.wildfly.plugin.common.DeploymentExecutionException: Deployment failed: Operation failed:... 问题解决
来源:互联网 发布:九章算法 培训视频 编辑:程序博客网 时间:2024/06/14 13:44
解决办法:按如下方法启动wildfly ./standalone.sh -c standalone-full.xml
错误如下:
[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha5:deploy (default-cli) on project EJOS: Deployment failed: Operation failed: { "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"EJOS.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"EJOS.war\".WeldStartService: Failed to start service Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManager with qualifiers @Default at injection point [BackedAnnotatedField] @Inject cn.edu.sdut.softlab.service.AbstractFacade.em at cn.edu.sdut.softlab.service.AbstractFacade.em(AbstractFacade.java:0)"}, "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"EJOS.war\".WeldStartService"], "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined} at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused by: org.wildfly.plugin.common.DeploymentExecutionException: Deployment failed: Operation failed: { "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"EJOS.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"EJOS.war\".WeldStartService: Failed to start service Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManager with qualifiers @Default at injection point [BackedAnnotatedField] @Inject cn.edu.sdut.softlab.service.AbstractFacade.em at cn.edu.sdut.softlab.service.AbstractFacade.em(AbstractFacade.java:0)"}, "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"EJOS.war\".WeldStartService"], "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined} at org.wildfly.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:157) at org.wildfly.plugin.deployment.AbstractDeployment.executeDeployment(AbstractDeployment.java:147) at org.wildfly.plugin.deployment.AbstractDeployment.doExecute(AbstractDeployment.java:179) at org.wildfly.plugin.deployment.AbstractAppDeployment.doExecute(AbstractAppDeployment.java:70) at org.wildfly.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:137) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more
0 0
- org.wildfly.plugin.common.DeploymentExecutionException: Deployment failed: Operation failed:... 问题解决
- wildfly服务器系列--widlfly启动Operation ("add") failed失败以及org.dom4j.DocumentFactory cannot be cast to org.d
- vsftp关于"550 create directory operation failed"问题解决
- adb remount 失败:remount failed: Operation not permitted问题解决
- sign_and_send_pubkey: signing failed: agent refused operation问题解决办法
- iTunes Store operation failed
- iOS_iTunes Store operation failed
- myeclipse出现Deployment failed错误
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决 .
- Failed to load class "org.slf4j.impl.StaticLoggerBinder" 问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- Failed to load class "org.slf4j.impl.StaticLoggerBinder".问题解决
- Failed to load class "org.slf4j.impl.StaticLoggerBinder" 问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决 .
- Failed to load class “org.slf4j.impl.StaticLoggerBinder”问题解决
- mpu6050姿态解算与卡尔曼滤波(3)加速度计标定
- spring基本使用
- 欢迎使用CSDN-markdown编辑器
- 基于Hexo的博客同步中的一些问题
- Python Notes (5)
- org.wildfly.plugin.common.DeploymentExecutionException: Deployment failed: Operation failed:... 问题解决
- Java 集合的总结
- input标签file类型,选择多个文件进行上传
- android 添加系统服务
- 请求重定向与请求转发
- 1002. A+B for Polynomials (25)[C语言]
- java中==和equals()的区别
- JDBC&DBCP
- 参与github上开源项目的大致流程和注意事项