Re: Problem using Java classes from SISC

"Scott G. Miller" <[email protected]> Sat, 20 Oct 2007 12:40:07 -0500
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
On 10/20/07, Michael Gardner <[email protected]> wrote:
> I'm having trouble using my Java classes from SISC. When I try to
> create an instance of my empty Java class 'Test' in the interpreter, I
> get:
>
> #;> (max-stack-trace-depth 16)
> 0
> #;> (import s2j)
> #;> (define-java-class <test> |Test|)
> #;> (java-new <test>)
> Error: no applicable method for args () in generic procedure #0=#<procedure>
> ---------------------------
> console:4:1: <from call to @s2j::java-new>

Hi Michael,

   What are the contents of Test.java?  Does it have a default constructor?

Scott

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/