Title: Could not create class error instructions · Issue #596 · joeferner/node-java · GitHub
Open Graph Title: Could not create class error instructions · Issue #596 · joeferner/node-java
X Title: Could not create class error instructions · Issue #596 · joeferner/node-java
Description: I am trying to use this project with my nodejs project instead of a java project and in my nodejs project I have the basic example code from this project working and it is creating an array list. But now I would like to include a library...
Open Graph Description: I am trying to use this project with my nodejs project instead of a java project and in my nodejs project I have the basic example code from this project working and it is creating an array list. B...
X Description: I am trying to use this project with my nodejs project instead of a java project and in my nodejs project I have the basic example code from this project working and it is creating an array list. B...
Opengraph URL: https://github.com/joeferner/node-java/issues/596
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Could not create class error instructions ","articleBody":"I am trying to use this project with my nodejs project instead of a java project and in my nodejs project I have the basic example code from this project working and it is creating an array list. \r\n\r\nBut now I would like to include a library / jar from the java project and I am getting an error: \r\n \r\n```\r\nError: Could not create class ClassFromJavaProjectInJar\r\njava.lang.NoClassDefFoundError: ClassFromJavaProjectInJar\r\n```\r\n\r\nI looked in my Java project and I don't see the libraries. I found out they are in the `/user/.m2` directory. This is where Maven caches them. \r\n\r\nI saw another post somewhere that someone else solved the issue by copying their libraries and jars into their nodejs project. I could do this. But is there a better way? \r\n\r\nI don't believe I need to use Maven for this project but I haven't got that far. \r\n\r\nI saw a note about a java-maven package but none of it made sense. I Have one library / jar I want to use and that's it. \r\n\r\n-- \r\nAlso, as a side note I think this error or this issue should be part of the instructions.\r\nAlso, thank you for this project. ","author":{"url":"https://github.com/velara3","@type":"Person","name":"velara3"},"datePublished":"2024-04-30T22:19:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/596/node-java/issues/596"}
| 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:a718873a-fec8-de54-c3bf-e6ff37129080 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD5C:BEA98:38C447:4AEA06:696B6836 |
| html-safe-nonce | f87a0128776882a71c7d5c1ee41b97f0eca56bfa027a5f517a0fcfae6bf2ee09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDVDOkJFQTk4OjM4QzQ0Nzo0QUVBMDY6Njk2QjY4MzYiLCJ2aXNpdG9yX2lkIjoiOTA2MzAzNDAxMTc0NjI2NTE0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3c3f2f4d8ec34b645673e97d1ab9481d684807ebda6f511566aa48b9b2c7a708 |
| hovercard-subject-tag | issue:2272575706 |
| 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/596/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2664d12aafecfa8fd55df7d8afb8b9a1c0ffba407f0c1e5918deacbcb90510bb/joeferner/node-java/issues/596 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2664d12aafecfa8fd55df7d8afb8b9a1c0ffba407f0c1e5918deacbcb90510bb/joeferner/node-java/issues/596 |
| og:image:alt | I am trying to use this project with my nodejs project instead of a java project and in my nodejs project I have the basic example code from this project working and it is creating an array list. B... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | velara3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width