Hi,
I have an
EJB 3 project. When i try to export EAR with EJB project referenced, EAR package has ejb jar file but ejb jar doet not have any class in it.It has empty ejbmodule.
Below,its my ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0">
<display-name>Catalog </display-name>
<ejb-client-jar>CatalogClient.jar</ejb-client-jar>
</ejb-jar>
When i try to deploy it on Weblogic 10.3.4 , it gives me
Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation..
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
Any ideia?
Thanks