Title: Could not create class (Electron) · Issue #579 · joeferner/node-java · GitHub
Open Graph Title: Could not create class (Electron) · Issue #579 · joeferner/node-java
X Title: Could not create class (Electron) · Issue #579 · joeferner/node-java
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 t...
Open Graph 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 p...
X 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 p...
Opengraph URL: https://github.com/joeferner/node-java/issues/579
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Could not create class (Electron)","articleBody":"Hi all, I am writing an application using electron + node-java. For building I use electron forge. \r\n\r\n**What is the problem?**\r\nWhen 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: \r\n```js\r\nUncaught Error: Could not create class ...\r\njava.lang.NoClassDefFoundError.\r\n```\r\n\r\nLooking at the stack trace I came up with the following line:\r\n ```js\r\n var clazz = java.findClassSync(name); // TODO: change to Class.forName when classloader issue is resolved.\r\n ```\r\nLooked in java.classpath, all the paths are correct\r\n**Question**: Is there a solution to this problem?","author":{"url":"https://github.com/Komar0ff","@type":"Person","name":"Komar0ff"},"datePublished":"2023-10-18T10:47:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/579/node-java/issues/579"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:763ae8bd-5aa7-2ad9-65eb-83e9774db68d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 978C:1407D3:1251C47:1894340:69705C0E |
| html-safe-nonce | e40696015f8d3f610679d6422ec0241b20fcd7f079c32ffaadc006e6e54f76bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzhDOjE0MDdEMzoxMjUxQzQ3OjE4OTQzNDA6Njk3MDVDMEUiLCJ2aXNpdG9yX2lkIjoiNjM1MzIwMTYyODQzNzMwNjM4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3b4e446c4d27f1a90f18c2a26ff235e61916149a0d30eb6c0686caa4fa46204c |
| hovercard-subject-tag | issue:1949441428 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/joeferner/node-java/579/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f6717eefa1742ef38042baa2a22cd5182c494dd1b4d0f910ea9107f26f8bf362/joeferner/node-java/issues/579 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6717eefa1742ef38042baa2a22cd5182c494dd1b4d0f910ea9107f26f8bf362/joeferner/node-java/issues/579 |
| og:image:alt | 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 p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Komar0ff |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/joeferner/node-java git https://github.com/joeferner/node-java.git |
| octolytics-dimension-user_id | 808857 |
| octolytics-dimension-user_login | joeferner |
| octolytics-dimension-repository_id | 3228734 |
| octolytics-dimension-repository_nwo | joeferner/node-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3228734 |
| octolytics-dimension-repository_network_root_nwo | joeferner/node-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width