René's URL Explorer Experiment


Title: Using localstack-java-utils together with Testcontainers throws UnsatisfiedLinkError · Issue #97 · localstack/localstack-java-utils · GitHub

Open Graph Title: Using localstack-java-utils together with Testcontainers throws UnsatisfiedLinkError · Issue #97 · localstack/localstack-java-utils

X Title: Using localstack-java-utils together with Testcontainers throws UnsatisfiedLinkError · Issue #97 · localstack/localstack-java-utils

Description: Problem occurred while developing on Mac with M1 chip. Maven pom.xml dependency sample to reproduce the problem: org.testcontainers testcontainers 1.17.6 ...

Open Graph Description: Problem occurred while developing on Mac with M1 chip. Maven pom.xml dependency sample to reproduce the problem: org.testcontainers testcontainers

X Description: Problem occurred while developing on Mac with M1 chip. Maven pom.xml dependency sample to reproduce the problem: <dependency> <groupId>org.testcontainers</groupId> <artifactId&...

Opengraph URL: https://github.com/localstack/localstack-java-utils/issues/97

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using localstack-java-utils together with Testcontainers throws UnsatisfiedLinkError","articleBody":"Problem occurred while developing on Mac with M1 chip.\r\n\r\nMaven `pom.xml` dependency sample to reproduce the problem:\r\n\r\n```\r\n        \u003cdependency\u003e\r\n            \u003cgroupId\u003eorg.testcontainers\u003c/groupId\u003e\r\n            \u003cartifactId\u003etestcontainers\u003c/artifactId\u003e\r\n            \u003cversion\u003e1.17.6\u003c/version\u003e\r\n            \u003cscope\u003etest\u003c/scope\u003e\r\n        \u003c/dependency\u003e\r\n        \u003cdependency\u003e\r\n            \u003cgroupId\u003eorg.testcontainers\u003c/groupId\u003e\r\n            \u003cartifactId\u003ejunit-jupiter\u003c/artifactId\u003e\r\n            \u003cversion\u003e1.17.6\u003c/version\u003e\r\n            \u003cscope\u003etest\u003c/scope\u003e\r\n        \u003c/dependency\u003e\r\n        \u003cdependency\u003e\r\n            \u003cgroupId\u003ecloud.localstack\u003c/groupId\u003e\r\n            \u003cartifactId\u003elocalstack-utils\u003c/artifactId\u003e\r\n            \u003cversion\u003e0.2.21\u003c/version\u003e\r\n            \u003cscope\u003etest\u003c/scope\u003e\r\n        \u003c/dependency\u003e\r\n```\r\n\r\nDuring tests, following error pops up:\r\n\r\n```\r\njava.lang.UnsatisfiedLinkError: Can't load library: /var/folders/8h/c61frhdx4h755wk7dbgny_w80000gn/T/jna--1389878725/jna11007918705638209843.tmp\r\n```\r\n\r\nAfter investigating dependencies tree, I've discovered that JNA dependency of this library overrides JNA version of Testcontainers:\r\n\r\n```\r\n[INFO] +- org.testcontainers:testcontainers:jar:1.17.6:test\r\n[INFO] |  +- junit:junit:jar:4.13.2:test\r\n[INFO] |  |  \\- org.hamcrest:hamcrest-core:jar:2.2:test\r\n[INFO] |  +- org.apache.commons:commons-compress:jar:1.22:test\r\n[INFO] |  +- org.rnorth.duct-tape:duct-tape:jar:1.0.8:test\r\n[INFO] |  |  \\- org.jetbrains:annotations:jar:17.0.0:compile\r\n[INFO] |  +- com.github.docker-java:docker-java-api:jar:3.2.13:test\r\n[INFO] |  \\- com.github.docker-java:docker-java-transport-zerodep:jar:3.2.13:test\r\n[INFO] |     \\- com.github.docker-java:docker-java-transport:jar:3.2.13:test\r\n[INFO] +- org.testcontainers:junit-jupiter:jar:1.17.6:test\r\n[INFO] |  \\- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test\r\n[INFO] |     +- org.opentest4j:opentest4j:jar:1.2.0:test\r\n[INFO] |     +- org.junit.platform:junit-platform-commons:jar:1.8.2:test\r\n[INFO] |     \\- org.apiguardian:apiguardian-api:jar:1.1.2:test\r\n[INFO] \\- cloud.localstack:localstack-utils:jar:0.2.21:test\r\n[INFO]    +- org.apache.commons:commons-lang3:jar:3.12.0:compile\r\n[INFO]    +- net.java.dev.jna:jna:jar:4.1.0:test\r\n```\r\n\r\n**Solution that helped**:\r\n\r\n```\r\n        \u003cdependency\u003e\r\n            \u003cgroupId\u003eorg.testcontainers\u003c/groupId\u003e\r\n            \u003cartifactId\u003etestcontainers\u003c/artifactId\u003e\r\n            \u003cversion\u003e1.17.6\u003c/version\u003e\r\n            \u003cscope\u003etest\u003c/scope\u003e\r\n        \u003c/dependency\u003e\r\n        \u003cdependency\u003e\r\n            \u003cgroupId\u003eorg.testcontainers\u003c/groupId\u003e\r\n            \u003cartifactId\u003ejunit-jupiter\u003c/artifactId\u003e\r\n            \u003cversion\u003e1.17.6\u003c/version\u003e\r\n            \u003cscope\u003etest\u003c/scope\u003e\r\n        \u003c/dependency\u003e\r\n        \u003cdependency\u003e\r\n            \u003cgroupId\u003ecloud.localstack\u003c/groupId\u003e\r\n            \u003cartifactId\u003elocalstack-utils\u003c/artifactId\u003e\r\n            \u003cversion\u003e0.2.21\u003c/version\u003e\r\n            \u003cscope\u003etest\u003c/scope\u003e\r\n            \u003cexclusions\u003e\r\n                \u003cexclusion\u003e\r\n                    \u003cgroupId\u003enet.java.dev.jna\u003c/groupId\u003e\r\n                    \u003cartifactId\u003ejna\u003c/artifactId\u003e\r\n                \u003c/exclusion\u003e\r\n            \u003c/exclusions\u003e\r\n        \u003c/dependency\u003e\r\n```\r\n\r\nwith resulting dependency tree:\r\n\r\n```\r\n[INFO] +- org.testcontainers:testcontainers:jar:1.17.6:test\r\n[INFO] |  +- junit:junit:jar:4.13.2:test\r\n[INFO] |  |  \\- org.hamcrest:hamcrest-core:jar:2.2:test\r\n[INFO] |  +- org.apache.commons:commons-compress:jar:1.22:test\r\n[INFO] |  +- org.rnorth.duct-tape:duct-tape:jar:1.0.8:test\r\n[INFO] |  |  \\- org.jetbrains:annotations:jar:17.0.0:compile\r\n[INFO] |  +- com.github.docker-java:docker-java-api:jar:3.2.13:test\r\n[INFO] |  \\- com.github.docker-java:docker-java-transport-zerodep:jar:3.2.13:test\r\n[INFO] |     +- com.github.docker-java:docker-java-transport:jar:3.2.13:test\r\n[INFO] |     \\- net.java.dev.jna:jna:jar:5.8.0:test\r\n[INFO] +- org.testcontainers:junit-jupiter:jar:1.17.6:test\r\n[INFO] |  \\- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test\r\n[INFO] |     +- org.opentest4j:opentest4j:jar:1.2.0:test\r\n[INFO] |     +- org.junit.platform:junit-platform-commons:jar:1.8.2:test\r\n[INFO] |     \\- org.apiguardian:apiguardian-api:jar:1.1.2:test\r\n[INFO] \\- cloud.localstack:localstack-utils:jar:0.2.21:test\r\n```\r\n\r\n**Question**: is it possible to update JNA to version to `5.8.0`?","author":{"url":"https://github.com/rkhlebnov","@type":"Person","name":"rkhlebnov"},"datePublished":"2022-12-15T19:43:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/97/localstack-java-utils/issues/97"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:70cbb413-2408-dc1f-f67a-94bfefb0789f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC394:23EE3C:59B54FE:79E88A6:69734048
html-safe-noncee1a60555e5e17aef88a010cef1ed02e28ab6ef56436e5fe95e6ef3d208bd0244
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzk0OjIzRUUzQzo1OUI1NEZFOjc5RTg4QTY6Njk3MzQwNDgiLCJ2aXNpdG9yX2lkIjoiNTExMTk1NjcyMjg4MTE2ODA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac232856c360345b0640de2dc8d919daf6e7c32d4725dcfc52431babfcfa258f8c
hovercard-subject-tagissue:1498990578
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/localstack/localstack-java-utils/97/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0c4d044c19271abccf981608d11f51f9188f58e0f5ac9525df51fb8a98814d19/localstack/localstack-java-utils/issues/97
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c4d044c19271abccf981608d11f51f9188f58e0f5ac9525df51fb8a98814d19/localstack/localstack-java-utils/issues/97
og:image:altProblem occurred while developing on Mac with M1 chip. Maven pom.xml dependency sample to reproduce the problem: org.testcontainers testcontainers
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerkhlebnov
hostnamegithub.com
expected-hostnamegithub.com
None574266c5e0389fb19fcea86ddb6d5b0008f148ada57d7a37ec4c90a19caee8f6
turbo-cache-controlno-preview
go-importgithub.com/localstack/localstack-java-utils git https://github.com/localstack/localstack-java-utils.git
octolytics-dimension-user_id28732122
octolytics-dimension-user_loginlocalstack
octolytics-dimension-repository_id242806355
octolytics-dimension-repository_nwolocalstack/localstack-java-utils
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242806355
octolytics-dimension-repository_network_root_nwolocalstack/localstack-java-utils
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3c64ddf9c1ec6ebf99c7b6faf0c61676d36f64c0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/localstack/localstack-java-utils/issues/97#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flocalstack%2Flocalstack-java-utils%2Fissues%2F97
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flocalstack%2Flocalstack-java-utils%2Fissues%2F97
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=localstack%2Flocalstack-java-utils
Reloadhttps://github.com/localstack/localstack-java-utils/issues/97
Reloadhttps://github.com/localstack/localstack-java-utils/issues/97
Reloadhttps://github.com/localstack/localstack-java-utils/issues/97
localstack https://github.com/localstack
localstack-java-utilshttps://github.com/localstack/localstack-java-utils
Notifications https://github.com/login?return_to=%2Flocalstack%2Flocalstack-java-utils
Fork 43 https://github.com/login?return_to=%2Flocalstack%2Flocalstack-java-utils
Star 76 https://github.com/login?return_to=%2Flocalstack%2Flocalstack-java-utils
Code https://github.com/localstack/localstack-java-utils
Issues 14 https://github.com/localstack/localstack-java-utils/issues
Pull requests 3 https://github.com/localstack/localstack-java-utils/pulls
Actions https://github.com/localstack/localstack-java-utils/actions
Projects 0 https://github.com/localstack/localstack-java-utils/projects
Security 0 https://github.com/localstack/localstack-java-utils/security
Insights https://github.com/localstack/localstack-java-utils/pulse
Code https://github.com/localstack/localstack-java-utils
Issues https://github.com/localstack/localstack-java-utils/issues
Pull requests https://github.com/localstack/localstack-java-utils/pulls
Actions https://github.com/localstack/localstack-java-utils/actions
Projects https://github.com/localstack/localstack-java-utils/projects
Security https://github.com/localstack/localstack-java-utils/security
Insights https://github.com/localstack/localstack-java-utils/pulse
New issuehttps://github.com/login?return_to=https://github.com/localstack/localstack-java-utils/issues/97
New issuehttps://github.com/login?return_to=https://github.com/localstack/localstack-java-utils/issues/97
Using localstack-java-utils together with Testcontainers throws UnsatisfiedLinkErrorhttps://github.com/localstack/localstack-java-utils/issues/97#top
https://github.com/rkhlebnov
https://github.com/rkhlebnov
rkhlebnovhttps://github.com/rkhlebnov
on Dec 15, 2022https://github.com/localstack/localstack-java-utils/issues/97#issue-1498990578
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.