0 Replies Latest reply on Aug 12, 2018 4:44 AM by Joey Chen

    Error on jboss-ejb.xml

    Joey Chen Newbie

      I have a jboss-ejb3.xml defined as follows:

       

      <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"
         xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.com/schema/jbossas/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">

      .....

      </jboss:ejb-jar>

       

      However my IDEA IDE showed errors saying "Element jboss:ejb must be declared". Any advices of where went wrong?

       

      Best regards,

      Joey