René's URL Explorer Experiment


Title: java.lang.NoClassDefFoundError: models/xxx error on 20.0 graphql-java library version · Issue #3086 · graphql-java/graphql-java · GitHub

Open Graph Title: java.lang.NoClassDefFoundError: models/xxx error on 20.0 graphql-java library version · Issue #3086 · graphql-java/graphql-java

X Title: java.lang.NoClassDefFoundError: models/xxx error on 20.0 graphql-java library version · Issue #3086 · graphql-java/graphql-java

Description: I use graphql-java with Play Framework 2.8.19 and Java 11 (was trying also with Java 8, same error) in build.sbt i add dependency like this: libraryDependencies ++= "com.graphql-java" % "graphql-java" % "20.0" When application is started...

Open Graph Description: I use graphql-java with Play Framework 2.8.19 and Java 11 (was trying also with Java 8, same error) in build.sbt i add dependency like this: libraryDependencies ++= "com.graphql-java" % "graphql-ja...

X Description: I use graphql-java with Play Framework 2.8.19 and Java 11 (was trying also with Java 8, same error) in build.sbt i add dependency like this: libraryDependencies ++= "com.graphql-java" % &...

Opengraph URL: https://github.com/graphql-java/graphql-java/issues/3086

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"java.lang.NoClassDefFoundError: models/xxx error on 20.0 graphql-java library version","articleBody":"I use graphql-java with Play Framework 2.8.19 and Java 11 (was trying also with Java 8, same error)\r\nin build.sbt i add dependency like this:\r\nlibraryDependencies ++= \"com.graphql-java\" % \"graphql-java\" % \"20.0\"\r\n\r\nWhen application is started, and after i send my graphQL request, i've got an following error in console\r\nIf i set my dependency version to 18.3, everything is fine and i've got an result like:\r\n{\r\n    \"data\": {\r\n        \"productById\": {\r\n            \"id\": \"1\",\r\n            \"name\": \"ProductName\",\r\n            \"details\": [\r\n                {\r\n                    \"id\": \"1\",\r\n                    \"description\": \"The product detailed description.\",\r\n                    \"display\": \"display\",\r\n                    \"name\": \"product details\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}\r\n\r\nActually trying to start this example, but with upgraded library to 20.0, latest, version: https://github.com/manojgodara/GraphQLPlayFramework\r\n\r\nERROR message on version 20.0:\r\nERROR notprivacysafe.graphql.GraphQL  Execution '4e7d7de4-89ce-4518-a389-5a3ab105101c' threw exception when executing : query : 'query test($id: String!) {\r\n  productById(id: $id) {\r\n    id\r\n    name\r\n    details {\r\n        id\r\n        description\r\n        display\r\n        name\r\n    }\r\n  }\r\n}'. variables '{id=1}'\r\n\r\n\r\n```\r\njava.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: models/Product\r\n\tat java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)\r\n\tat java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)\r\n\tat java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:783)\r\n\tat java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:792)\r\n\tat java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2153)\r\n\tat graphql.execution.Execution.executeOperation(Execution.java:171)\r\n\tat graphql.execution.Execution.execute(Execution.java:102)\r\n\tat graphql.GraphQL.execute(GraphQL.java:557)\r\n\tat graphql.GraphQL.lambda$parseValidateAndExecute$11(GraphQL.java:476)\r\n\tat java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995)\r\n\tat java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137)\r\n\tat graphql.GraphQL.parseValidateAndExecute(GraphQL.java:471)\r\n\tat graphql.GraphQL.executeAsync(GraphQL.java:439)\r\n\tat controllers.GraphQLController.query(GraphQLController.java:118)\r\n\tat controllers.GraphQLController.postHandler(GraphQLController.java:86)\r\n\tat router.Routes$$anonfun$routes$1.$anonfun$applyOrElse$3(Routes.scala:73)\r\n\tat play.core.routing.HandlerInvokerFactory$$anon$9.resultCall(HandlerInvoker.scala:154)\r\n\tat play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$3$$anon$4$$anon$5.invocation(HandlerInvoker.scala:115)\r\n\tat play.core.j.JavaAction$$anon$1.call(JavaAction.scala:119)\r\n\tat play.http.DefaultActionCreator$1.call(DefaultActionCreator.java:33)\r\n\tat play.core.j.JavaAction.$anonfun$apply$8(JavaAction.scala:175)\r\n\tat scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659)\r\n\tat scala.util.Success.$anonfun$map$1(Try.scala:255)\r\n\tat scala.util.Success.map(Try.scala:213)\r\n\tat scala.concurrent.Future.$anonfun$map$1(Future.scala:292)\r\n\tat scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)\r\n\tat scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)\r\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)\r\n\tat play.core.j.HttpExecutionContext.$anonfun$execute$1(HttpExecutionContext.scala:64)\r\n\tat play.api.libs.streams.Execution$trampoline$.execute(Execution.scala:70)\r\n\tat play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:59)\r\n\tat scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72)\r\n\tat scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372)\r\n\tat scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371)\r\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379)\r\n\tat scala.concurrent.impl.Promise.transform(Promise.scala:33)\r\n\tat scala.concurrent.impl.Promise.transform$(Promise.scala:31)\r\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379)\r\n\tat scala.concurrent.Future.map(Future.scala:292)\r\n\tat scala.concurrent.Future.map$(Future.scala:292)\r\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379)\r\n\tat scala.concurrent.Future$.apply(Future.scala:659)\r\n\tat play.core.j.JavaAction.apply(JavaAction.scala:176)\r\n\tat play.api.mvc.Action.$anonfun$apply$4(Action.scala:82)\r\n\tat scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)\r\n\tat scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)\r\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)\r\n\tat akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)\r\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100)\r\n\tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)\r\n\tat scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)\r\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100)\r\n\tat akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)\r\n\tat akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)\r\n\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\r\n\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067)\r\n\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703)\r\n\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172)\r\nCaused by: java.lang.NoClassDefFoundError: models/Product\r\n\tat graphql.schema.PropertyFetchingImpl.getPropertyValue(PropertyFetchingImpl.java:114)\r\n\tat graphql.schema.PropertyDataFetcherHelper.getPropertyValue(PropertyDataFetcherHelper.java:22)\r\n\tat graphql.schema.PropertyDataFetcher.getImpl(PropertyDataFetcher.java:131)\r\n\tat graphql.schema.PropertyDataFetcher.get(PropertyDataFetcher.java:112)\r\n\tat graphql.execution.ExecutionStrategy.invokeDataFetcher(ExecutionStrategy.java:307)\r\n\tat graphql.execution.ExecutionStrategy.fetchField(ExecutionStrategy.java:286)\r\n\tat graphql.execution.ExecutionStrategy.resolveFieldWithInfo(ExecutionStrategy.java:212)\r\n\tat graphql.execution.AsyncExecutionStrategy.execute(AsyncExecutionStrategy.java:55)\r\n\tat graphql.execution.ExecutionStrategy.completeValueForObject(ExecutionStrategy.java:680)\r\n\tat graphql.execution.ExecutionStrategy.completeValue(ExecutionStrategy.java:472)\r\n\tat graphql.execution.ExecutionStrategy.completeField(ExecutionStrategy.java:422)\r\n\tat graphql.execution.ExecutionStrategy.lambda$resolveFieldWithInfo$1(ExecutionStrategy.java:214)\r\n\tat java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)\r\n\tat java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:628)\r\n\tat java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1996)\r\n\tat graphql.execution.ExecutionStrategy.resolveFieldWithInfo(ExecutionStrategy.java:213)\r\n\tat graphql.execution.AsyncExecutionStrategy.execute(AsyncExecutionStrategy.java:55)\r\n\tat graphql.execution.Execution.executeOperation(Execution.java:156)\r\n\t... 52 common frames omitted\r\nCaused by: java.lang.ClassNotFoundException: models.Product\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:382)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:418)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:351)\r\n\t... 70 common frames omitted\r\n```","author":{"url":"https://github.com/SandQuattro","@type":"Person","name":"SandQuattro"},"datePublished":"2023-02-04T20:54:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/3086/graphql-java/issues/3086"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4a7f6776-b5ea-7534-5a3e-2d205daa759d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF04:3E91C2:119C095:18B0952:6A61BEBF
html-safe-noncefe11bdabc6a3171ac2835e48f304e196ae9ab6eb0fb323ed47bbc732118f04ad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjA0OjNFOTFDMjoxMTlDMDk1OjE4QjA5NTI6NkE2MUJFQkYiLCJ2aXNpdG9yX2lkIjoiMzAyMjU5MTE5OTIxNDE1NzUwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac131a4bed37c92f37ef5579c48626eade9eff0e941c6c25c397d28f5e76cafa6d
hovercard-subject-tagissue:1571121958
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/graphql-java/graphql-java/3086/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e630552e93c43265f86f2fe851f5e7cc3668b4647dfc4ca3d6502711b26f1f10/graphql-java/graphql-java/issues/3086
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e630552e93c43265f86f2fe851f5e7cc3668b4647dfc4ca3d6502711b26f1f10/graphql-java/graphql-java/issues/3086
og:image:altI use graphql-java with Play Framework 2.8.19 and Java 11 (was trying also with Java 8, same error) in build.sbt i add dependency like this: libraryDependencies ++= "com.graphql-java" % "graphql-ja...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSandQuattro
hostnamegithub.com
expected-hostnamegithub.com
None6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9
turbo-cache-controlno-preview
go-importgithub.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git
octolytics-dimension-user_id14289921
octolytics-dimension-user_logingraphql-java
octolytics-dimension-repository_id38602457
octolytics-dimension-repository_nwographql-java/graphql-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38602457
octolytics-dimension-repository_network_root_nwographql-java/graphql-java
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
releaseac296ae7f21856f1f92adbad22f870b6fbb4b907
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/3086#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F3086
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fgraphql-java%2Fgraphql-java%2Fissues%2F3086
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=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/issues/3086
Reloadhttps://github.com/graphql-java/graphql-java/issues/3086
Reloadhttps://github.com/graphql-java/graphql-java/issues/3086
Please reload this pagehttps://github.com/graphql-java/graphql-java/issues/3086
graphql-java https://github.com/graphql-java
graphql-javahttps://github.com/graphql-java/graphql-java
Notifications https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Fork 1.1k https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Star 6.2k https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Code https://github.com/graphql-java/graphql-java
Issues 26 https://github.com/graphql-java/graphql-java/issues
Pull requests 11 https://github.com/graphql-java/graphql-java/pulls
Discussions https://github.com/graphql-java/graphql-java/discussions
Actions https://github.com/graphql-java/graphql-java/actions
Projects https://github.com/graphql-java/graphql-java/projects
Wiki https://github.com/graphql-java/graphql-java/wiki
Security and quality 0 https://github.com/graphql-java/graphql-java/security
Insights https://github.com/graphql-java/graphql-java/pulse
Code https://github.com/graphql-java/graphql-java
Issues https://github.com/graphql-java/graphql-java/issues
Pull requests https://github.com/graphql-java/graphql-java/pulls
Discussions https://github.com/graphql-java/graphql-java/discussions
Actions https://github.com/graphql-java/graphql-java/actions
Projects https://github.com/graphql-java/graphql-java/projects
Wiki https://github.com/graphql-java/graphql-java/wiki
Security and quality https://github.com/graphql-java/graphql-java/security
Insights https://github.com/graphql-java/graphql-java/pulse
java.lang.NoClassDefFoundError: models/xxx error on 20.0 graphql-java library versionhttps://github.com/graphql-java/graphql-java/issues/3086#top
https://github.com/SandQuattro
SandQuattrohttps://github.com/SandQuattro
on Feb 4, 2023https://github.com/graphql-java/graphql-java/issues/3086#issue-1571121958
https://github.com/manojgodara/GraphQLPlayFrameworkhttps://github.com/manojgodara/GraphQLPlayFramework
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.