2 Replies Latest reply on May 27, 2009 3:17 PM by wolfgangknauf

    RemoteBinding cannot be resolved to a type

      Hello,

      I'm trying to get an EJB3 project on JBoss working. Unfortunetly
      I have to use JBoss 4.0.5. Further, I use Eclipse Ganymed as an IDE
      for developing.

      The program has got a remote interface. In order to make the Bean which imports the interface known to jndi I wanted to use the @RemoteBinding but eclipse says "RemoteBinding cannot be resolved to a type". Its shurely because I missed a library, but I dont know which (Other annotations like @Webservice, @Remote,...) are working. I included the following libs:
      jbossall-client.jar, javax-servlet.jar, javaee.jar and ejb3-persistence.jar

      Can someone tell me which jar I have to include to get @RemoteBinding working?

        • 1. Re: RemoteBinding cannot be resolved to a type
          jaikiran

          I don't have a 4.0.5 AS right now. For AS 4.2.3 GA you can find these classes in jboss-annotations-ejb3.jar (which is under server/servername/deploy/ejb3.deployer folder). I guess it would probably be the same for 4.0.5

          • 2. Re: RemoteBinding cannot be resolved to a type
            wolfgangknauf

            Hi saladinmundi,

            I advice you to use the Eclipse Web Tools Platform plugin (or the JBoss Tools plugin, which is based on this) to create/edit your EJB projects.
            You have to create a JBoss server, and have to create non-plain-Java-projects, but a WebTools specific "EJB project". This way, all required server JARs are on your classpath.

            Hope this very short explanation helps

            Wolfgang