My Oracle Support Banner

Deployment Fails 0n 10.3.5 (Doc ID 1463760.1)

Last updated on MARCH 11, 2020

Applies to:

Oracle WebLogic Server - Version 10.3.3 to
Information in this document applies to any platform.


After updating WLS from 10.3.0 to 10.3.5 the deployment of an application fails with
"weblogic.ejb.container.compliance.ComplianceException: In EJB SvcMyDummy, the return type for method method() in the local interface does not match the return type in the bean class."


In WLS 10.3.0, 10.3.1, and 10.3.2 the covariant return type is supported. It seems to be a regression in WLS 10.3.3 to WLS 12.1.1.

public class SvcMyDummyBeanImpl extends SvcMyDummyBean {

    public List<String> method() {
        // TODO Auto-generated method stub
        return null;


EJB local interface:
public interface SvcMyDummy extends SvcSuperMyDummy
    public abstract void tueWas();

public interface SvcSuperMyDummy extends EJBLocalObject
    public abstract Collection method();
    public abstract void tueWasSuper();


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.