users@glassfish.java.net

Re: Reflection in EAR project

From: <glassfish_at_javadesktop.org>
Date: Tue, 06 Jul 2010 12:15:06 PDT

the structure is

ilitias.ear
...|
...+.-.lib
...|......|
...|......+.-.UNUTLib3.jar (here is used reflection)
...|
...+.-.ilitias-war.war
..........|
..........+.-.WEB-INF
..................|
..................+.-.classes
.........................|
.........................+ - ..... (classes not found from UNUTLib3.jar)


The method "abrirVentana( final String className )", in a class in UNUTLib3.jar, receive a string with the name of a class in "WEB-INF\classes\...", and try to invoke "Class.forName( className )", is there where the ClassNotFoundException is thrown.

This is working when i deploy the ear in glassfish v2.

again thanks for the answer
[Message sent by forum member 'luis22737928']

http://forums.java.net/jive/thread.jspa?messageID=476918