We do this a lot.
It may not be the best practice.
It is better to jar all your user classes and put them in a package and within your 
classpath.

Your solution for the mean time is to put import project1.* in your second project 
java file.  Then it will compile and work.



Curt Springer <[EMAIL PROTECTED]> wrote:
>In your other project, if you're not qualifying the reference by its 
>package name, you probably should, e.g., if it lives in Project1, make the 
>reference "Project1.auxiliar" instead of just "auxiliar".
>
>Just a guess, but it will be something like that, I think.
>
>This assumes that you are compiling and running on the same machine.  If 
>not, also check the environment variable NETDYN_CLASSPATH between the 2 
>machines.
>
>-- Curt Springer, Team ND
>
>At 05:05 PM 3/13/00 +0100, Maite Lazaro Portugal wrote:
>>hi,
>>can anyone help me?
>>I want to create a project with a java user module. That is easy and I
>>have no problem to do this.
>>On the other hand, I have another project which uses a method defined in
>>the java user module.
>>There is no problem in the compilation, but when I try to execute
>>NetDynamics show me this error message:
>>"Unexpected exception from an event (java.lang.NoClassDefFoundError:
>>miAuxiliar/auxiliar). This is when invoking method
>>this_onBeforeInitEvent for spider.event.CSpInitEvent {
>>ON_BEFORE_INIT_EVENT] on inicio."
>>miAuxiliar/auxiliar) caught. Top of stack:
>>[java.lang.NoClassDefFoundError:miAuxiliar/auxiliar] at .........."
>>
>>Does anyone know what is happening?
>>thanks
>>Maite
>>
>>
>>_________________________________________________________________________
>>To unsubscribe from this mailing list please send an email to:
>>[EMAIL PROTECTED]
>>Please remember to use the same email address you subscribed with.
>>
>>For help in using, subscribing, and unsubscribing to the discussion
>>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>>
>>For dire need help, email: [EMAIL PROTECTED]
>


_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to