Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.0.Final:deploy (deploy-webapp) on project cahierenligne: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."app.war".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment "app.war"
- [ERROR] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEJB0406: No EJB found with interface of type 'com.alicegabbana.cahierenligne.services.action.ActionServiceLocal' for binding com.alicegabbana.cahierenligne.services.auth.AuthService/actionService"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit."app.war".beanmanager","jboss.deployment.unit."app.war".WeldStartService"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit."app.war".batch.artifact.factory is missing [jboss.deployment.unit."app.war".beanmanager]","jboss.deployment.unit."app.war".weld.weldClassIntrospector is missing [jboss.deployment.unit."app.war".WeldStartService, jboss.deployment.unit."app.war".beanmanager]"]}}}
- [ERROR] -> [Help 1]
- @Stateless
- public class RoleService implements RoleServiceRemote {
- private static final long serialVersionUID = -7710388624873133691L;
- @PersistenceContext(unitName = "MariadbConnexion")
- EntityManager em;
- Logger logger = Logger.getLogger(RoleService.class);
- public Role create (Role role) {
- ...
- }
- public Role get(String name) {
- ...
- }
- }
- @Local
- public interface RoleServiceLocal {
- }
- @Remote
- public interface RoleServiceRemote extends Serializable {
- Role create (Role role);
- Role get(String name);
- }
- <dependencies>
- <!-- Used by Test to manage entity -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-search-orm</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/commons-validator/commons-validator -->
- <dependency>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- <version>1.4.0</version>
- <scope>provided</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.10</version>
- </dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>nimbus-jose-jwt</artifactId>
- <version>5.7</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator</artifactId>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.hibernate.javax.persistence</groupId>
- <artifactId>hibernate-jpa-2.1-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.resteasy</groupId>
- <artifactId>resteasy-jaxrs</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.jboss.spec.javax.ejb/jboss-ejb-api_3.2_spec -->
- <dependency>
- <groupId>org.jboss.spec.javax.ejb</groupId>
- <artifactId>jboss-ejb-api_3.2_spec</artifactId>
- <version>1.0.1.Final</version>
- <scope>provided</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/junit/junit -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.wildfly/wildfly-ejb-client-bom -->
- <dependency>
- <groupId>org.wildfly</groupId>
- <artifactId>wildfly-ejb-client-bom</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>javax</groupId>
- <artifactId>javaee-api</artifactId>
- <version>7.0</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/log4j/log4j -->
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.17</version>
- </dependency>
- </dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.wildfly.bom</groupId>
- <artifactId>wildfly-javaee7-with-tools</artifactId>
- <version>${wildfly.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement