[HELP] About php-java-bridge

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zou_Benjamin

    [HELP] About php-java-bridge

    would anyone helps me about the following error


    java:
    Class A
    {
    ...
    }

    Class B
    {
    ...
    public A funB();
    ...
    }


    <?php
    $b = new java("B");
    $b->funB();
    ?>



    Fatal error: Uncaught [o:"java.lang.Ex ception: Invoke failed:
    [c:B]->funB. Cause
    : java.lang.NoSuc hMethodExceptio n: funA(). Candidates: [public A
    B.funB() throws
    java.lang.Excep tion]"] thrown in ...

Working...