[jboss-jira] [JBoss JIRA] (WFLY-5247) wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in eclipse
Brian Stansberry (Jira)
issues at jboss.org
Thu Jan 24 23:24:00 EST 2019
[ https://issues.jboss.org/browse/WFLY-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry resolved WFLY-5247.
------------------------------------
Assignee: Brian Stansberry (was: Jason Greene)
Resolution: Out of Date
> wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate in eclipse
> ----------------------------------------------------------------------------
>
> Key: WFLY-5247
> URL: https://issues.jboss.org/browse/WFLY-5247
> Project: WildFly
> Issue Type: Bug
> Reporter: Rob Stryker
> Assignee: Brian Stansberry
> Priority: Major
>
> wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate.
> The xml file jboss-ejb3.xml file inside the project has the following content:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
> JBoss, Home of Professional Open Source
> Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
> contributors by the @authors tag. See the copyright.txt in the
> distribution for a full listing of individual contributors.
> Licensed under the Apache License, Version 2.0 (the "License");
> you may not use this file except in compliance with the License.
> You may obtain a copy of the License at
> http://www.apache.org/licenses/LICENSE-2.0
> Unless required by applicable law or agreed to in writing, software
> distributed under the License is distributed on an "AS IS" BASIS,
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> See the License for the specific language governing permissions and
> limitations under the License.
> -->
> <jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="urn:security"
> xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd
> http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
> version="3.1" impl-version="2.0">
> <enterprise-beans>
> </enterprise-beans>
> <assembly-descriptor>
> </assembly-descriptor>
> </jboss:ejb-jar>
> {code}
> Unfortunately, the element "enterprise-beans" is not allowed to be empty.
> A solution is to remove the empty "enterprise-beans" element.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list