on 01-19-2012 7:24 PM
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
Hi Patana,
Please add ejb20 as used DC to you java DC too.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to add ejb20 as used DC to you java DC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.