Troubleshooting
Problem
A problem occurs with Java™ Platform, Enterprise Edition (Java EE) 5 applications that use annotations and a shared library. When a Java EE 5 class contains annotations and that class depends on classes that reside in a shared library, setting the []metadata-complete attribute[] to []true[] causes an []@EJB[] annotation to be incorrectly represented in the deployment descriptor as []] rather than []]. For Web modules, this situation results in an injection failure.
Symptom
An error, such as the InjectionException exception, might occur if you set the metadata-complete attribute to true for a Java EE 5 application under the following conditions:
- The application contains an EJB 3.0 or Web 2.5 module.
- The application uses annotations and a shared library.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
03 March 2025
UID
swg21318507