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: patch-diff.githubusercontent.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:f63989d1-8285-39f9-3950-e485861ae2b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E910:108FDA:1C1BBF4:25C1651:6970785D |
| html-safe-nonce | d7eb1b490b65b0c52d25f5f592bb678c8abcbb43ba40e50e7f18d22f5a0dbb3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTEwOjEwOEZEQToxQzFCQkY0OjI1QzE2NTE6Njk3MDc4NUQiLCJ2aXNpdG9yX2lkIjoiMzUwNTg3MTY2NTM1MjQzOTkwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 12e74f04565e0a6b54448ce82d56bbfdda33a1aa57a9c4e54d2d7fdbb133f77e |
| 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 | 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