Eclipse: The project was not built because its build path is incomplete

I am using the Eclipse IDE. When I tried to build Applicaion, he gave me this error in the "Problems" view

Description

The project was not built since its build path is incomplete. Cannot find the class file for javax.ejb.EJBObject. Fix the build path then try building this project 

Enter

Java Problem
The type javax.ejb.EJBObject cannot be resolved. It is indirectly referenced from required .class files
+5
source share
4 answers

It looks like you have a simple Java project, not a web project. You are missing a Runtime server that provides an EjbObject for your project.

Try to convert the project by right-clicking “Convert to”, “Graphic Project” and select the appropriate Java EE configurations for your use case, or create a new project with the nature of Java EE and copy your code there.

+3
source

-, , POM- - wlthint3client:

<dependency>
        <groupId>com.oracle.weblogic</groupId>
        <artifactId>wlthint3client</artifactId>
        <version>10.3.5</version>
    </dependency>
0
   I went through same error and i found solution.You can import external jar file JAVAX.ejb.jar and configure it in your project.

http://www.java2s.com/Code/Jar/j/Downloadjavaxejbjar.htm

0
source

I had the same problem.

I did not have enough server choice in the project facet. After that he decided.

0
source

All Articles