]
Jan Richter closed JBIDE-20830.
-------------------------------
Verified in 4.3.1.CR1 nightly from 2016-03-01.
"src-resolve: Cannot resolve the name
'javaee:jboss-ejb-beanType'
-----------------------------------------------------------------
Key: JBIDE-20830
URL:
https://issues.jboss.org/browse/JBIDE-20830
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: upstream
Reporter: The Alchemist
Assignee: Rob Stryker
Priority: Minor
Fix For: 4.3.1.CR1
Attachments: screenshot.png
h2. Offending ejb-jar.xml
If you have the following {{ejb-jar.xml}}, which I got from [this Wildfly Wiki
page|https://docs.jboss.org/author/display/WFLY8/jboss-ejb3.xml+Reference]:
{code:xml}
<?xml version="1.0"?>
<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:1.1"
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>
<message-driven>
<ejb-name>ReplyingMDB</ejb-name>
<ejb-class>org.jboss.as.test.integration.ejb.mdb.messagedestination.ReplyingMDB</ejb-class>
<activation-config>
<activation-config-property>
<activation-config-property-name>destination</activation-config-property-name>
<activation-config-property-value>java:jboss/mdbtest/messageDestinationQueue
</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<s:security>
<ejb-name>DDMyDomainSFSB</ejb-name>
<s:security-domain>myDomain</s:security-domain>
<s:run-as-principal>myPrincipal</s:run-as-principal>
</s:security>
</assembly-descriptor>
</jboss:ejb-jar>
{code}
h2. Errors/Warnings
You'll get a few warnings:
!screenshot.png!
In the console:
{noformat}
Description Resource Path Location Type
Referenced file contains errors
(jar:file:/Users/me/Applications/sts-bundle/STS.app/Contents/Eclipse/plugins/org.jboss.tools.as.catalog_3.1.0.Beta2-v20150723-0026-B29.jar!/schema/xsd/jboss-ejb3-2_0.xsd).
For more information, right click on the message in the Problems View and select
"Show Details..." jboss-ejb3.xml /my-project/src/main/resources/META-INF line
1 XML Problem
{noformat}
h2. Related issues
*
https://bugzilla.redhat.com/show_bug.cgi?id=1193543