FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Could not create class (Electron) · Issue #579 · joeferner/node-java · GitHub

Could not create class (Electron) #579

Description

Hi all, I am writing an application using electron + node-java. For building I use electron forge.

What is the problem?
When building electron-forge make, the application is built without visible problems, but the functionality related to node-java does not work. The error I get in the console looks like this:

Uncaught Error: Could not create class ...
java.lang.NoClassDefFoundError.

Looking at the stack trace I came up with the following line:

var clazz = java.findClassSync(name); // TODO: change to Class.forName when classloader issue is resolved.

Looked in java.classpath, all the paths are correct
Question: Is there a solution to this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL