大多数情况下,我试图在Restcomm上创建SBB子级:
java.lang.ClassCastException:
com.edafa.slee.http.sbb.api.HttpSbbLocalObjectImpl cannot be cast to
com.edafa.slee.http.sbb.api.HttpSbbLocalObject
其中 HttpSbbLocalObject 是子SBB的sbb-local-object
请找到一些有用的信息,可能会帮助您回答我:
<library-ref>
<library-name>http-sbb-api-lib</library-name>
<library-vendor>Edafa</library-vendor>
<library-version>1.0.3-SNAPSHOT</library-version>
</library-ref>
<sbb-local-interface>
<sbb-local-interface-name>
com.edafa.slee.http.sbb.api.HttpSbbLocalObject
</sbb-local-interface-name>
</sbb-local-interface>
<library-ref>
<library-name>http-sbb-api-lib</library-name>
<library-vendor>Edafa</library-vendor>
<library-version>1.0.3-SNAPSHOT</library-version>
</library-ref>
<sbb-ref>
<sbb-name>http-sbb</sbb-name>
<sbb-vendor>Edafa</sbb-vendor>
<sbb-version>2.0.0-SNAPSHOT</sbb-version>
<sbb-alias>http-sbb-child</sbb-alias>
</sbb-ref>
<get-child-relation-method>
<sbb-alias-ref>http-sbb-child</sbb-alias-ref>
<get-child-relation-method-name>
getHttpActorLocalObject
</get-child-relation-method-name>
<default-priority>0</default-priority>
</get-child-relation-method>
public abstract ChildRelation getHttpActorLocalObject();
httpSbbLocalObject=(HttpSbbLocalObject) getHttpActorLocalObject().create();
"java.lang.ClassCastException: com.edafa.slee.http.sbb.api.HttpSbbLocalObjectImpl cannot be cast to com.edafa.slee.http.sbb.api.HttpSbbLocalObject"
我尝试了许多次尝试来解决此问题,但不幸的是,没有任何有用的结果。
请找到一些您必须考虑的有用笔记:
请我提供一些有用的建议,以帮助我解决此异常