Re: NoMethodFoundException

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Thu Nov 13 2008 - 14:38:25 EST

  • Next message: Peer Sandtner (JIRA): "[OS-JIRA] Created: (WOL-913) setting "jvm" parameter of woapplication ant task has no effect on generated UNIXClassPath.txt and CLSSPATH.TXT"

    You might want to put the patch up on JIRA.
    issues.objectstyle.org/jira/secure/CreateIssue.jspa

    On 14/11/2008, at 12:11 AM, Jochen Hansmeyer wrote:

    > Hi,
    >
    > i would like to suggest the following correction. It fixes an
    > NoMethodFoundException when launching a WebObjects application.
    >
    > best regards
    > Jochen
    >
    >
    >
    > Index: WOJavaRuntime.java
    > ===================================================================
    > --- WOJavaRuntime.java (revision 5538)
    > +++ WOJavaRuntime.java (working copy)
    >.. -198,7 +198,8 @@
    >
    > private static IRuntimeClasspathEntry[]
    > resolveVariableEntry(IRuntimeClasspathEntry entry, Object object,
    > ILaunchConfiguration configuration) {
    > try {
    > - Method resolveVariableEntry =
    > JavaRuntime.class.getDeclaredMethod("resolveVariableEntry",
    > IRuntimeClasspathEntry.class, Object.class,
    > ILaunchConfiguration.class);
    > + Method resolveVariableEntry =
    > JavaRuntime.class.getDeclaredMethod("resolveVariableEntry",
    > IRuntimeClasspathEntry.class, IJavaProject.class,
    > ILaunchConfiguration.class);
    > resolveVariableEntry.setAccessible(true);
    > return (IRuntimeClasspathEntry[])
    > resolveVariableEntry.invoke(null, entry, object, configuration);
    > } catch (Throwable t) {
    >

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Thu Nov 13 2008 - 14:39:23 EST