dev@glassfish.java.net

Re: java.lang.ClassNotFoundException: org.glassfish.internal.api.Globals

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, 31 Aug 2010 13:11:28 -0700

Try adding gf-client.jar to the classpath.

-marina

Endasil wrote:
> I am trying to create a simple standalone client that tries to do
> programmatic logon and communicates with a secure EJB. Problem is i get an
> exception thrown, and i can't figure out how to solve the problem.
> I assume that some class need to be added to my project in netbeans to solve
> the org.glassfish.internal.api.Globals but what and how do i know that?
>
> Using netbeans 6.9 glassfish 3.01 and jdk 6.0.21
>
> The complete exception can be found here:
> http://pastebin.com/Q7UF5jTg
>
> The source code can be found here:
> http://pastebin.com/4gSVVV97
>