I have used JBuilder4 on Windows and Linux with Sun's 1.2.2 and IBM's
1.3 for both, and use Log4J in my servlet-based application. Everything
works just fine.
Scott Sanders
Andrew Taylor wrote:
> Hello all,
>
> Thanks for making such a great framework!
>
> I have a problem, however. Log4J (v1.1b5-non cvs) enabled code works very
> well when executing in the (WinNT) console, however when I try executing it
> from within JBuilder (4), I recieve the following exception upon hitting
> static Log4J methods the first time:
>
> java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
> sun/misc/InvalidJarIndexException
> at org.apache.log4j.Category.<clinit>(Category.java:136)
> at
> at project.QuickReport.QuickReport.main(QuickReport.java:31)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.borland.jbuilder.util.BootStrap.invokeMain(Unknown Source)
> at com.borland.jbuilder.util.BootStrap.main(Unknown Source)
>
> I noticed that in the 1.1b5 release notes that this exception was occuring
> within applets too. I'm guessing that JBuilder may not provide access to
> the sun.misc.* classes (eventhough it's configured to use a standard w32 sun
> JDK 1.2), and this would probably be the case with some applet runtimes too.
> Any suggestions?
>
> Thanks,
>
> Andy
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]