Skip to content

Something failed while checking if the main class contains the main() method #63

Description

@AllenConquest

I specify the mainClass for my included JarResource, but I get the following warning at build time:

[INFO] -- Prepare jnlp files
[INFO] prepare jnlp org.codehaus.mojo.webstart.JnlpFile@59429fac
[WARNING] Something failed while checking if the main class contains the main() method. This is probably due to the limited classpath we have provided to the class loader. The specified main class (com.digitalsteps.lisa.client.LISAMainClient) found in the jar is *assumed* to contain a main method... com/digitalsteps/jaas/ILoginObserver

When I launch the jnlp file from my browser, it fails because it can't find a main() method in ILoginObserver, but this isn't the main class, I is not the one I specified. How can I correct this?

Thanks,

Allen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions