cancel
Showing results for 
Search instead for 
Did you mean: 

Using EJB DC project in Java DC project - CE 7.1

Former Member
0 Kudos

Hi All,

I am working on CE 7.1 SP11.

I have a EJB DC project where I have Stateless session bean for executing the webservice. And I have EAR DC also for this.

Now, I want to use/invoke the Stateless session bean from a Java DC project.

I have added EJB DC as a dependent DC.

When I build the project, I am getting below error.

[javac] An exception has occurred in the compiler (1.5.0_22). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.

[javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file javax\ejb\Stateless.class not found

Error: D:\ws\ws\nwds\ce.jdi\3\t2\548F6C87383ABDC9C66DB5D7927A0961\default\logs\build.xml:81: Compile failed; see the compiler error output for details.

Please suggest how can I resolve this.

And also please suggest how can I invoke the business methods inside EJB DC in Java DC project.

Thanks and regards,

Patana

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member193379
Active Contributor
0 Kudos

Hi Patana,

Please add ejb20 as used DC to you java DC too.

Thanks,

Hamendra

former_member182372
Active Contributor
0 Kudos

You have to add ejb20 as used DC to you java DC.