补充:
=== ejb-jar.xml ===
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
    <enterprise-beans>
        <session>
            <display-name>FileListSession</display-name>
            <ejb-name>FileListSession</ejb-name>
            <home>com.onelink.oa.list.ejb.FileListSessionHome</home>
            <remote>com.onelink.oa.list.ejb.FileListSession</remote>
            <ejb-class>com.onelink.oa.list.ejb.FileListSessionBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
        </session>
    </enterprise-beans>
    <assembly-descriptor>
        <container-transaction>
            <method>
                <ejb-name>FileListSession</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
    </assembly-descriptor>
</ejb-jar>=== weblogic-ejb-jar.xml ===
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
    <weblogic-enterprise-bean>
        <ejb-name>FileListSession</ejb-name>
        <jndi-name>FileListSession</jndi-name>
    </weblogic-enterprise-bean>
</weblogic-ejb-jar>SessionBean文件应该没有写错。发布到Weblogic上成功了,因为Context.lookup()方法返回Object对象成功。但构造接口时就提示上述错误。