javax.json.JsonException: Provider org.glassfish.json.JsonProviderImpl not found

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

,
Expert tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Solutions on the web

via Google Groups by Sascha Thiel, 1 year ago
Provider org.glassfish.json.JsonProviderImpl not found
via Stack Overflow by Frank
, 2 years ago
Provider org.glassfish.json.JsonProviderImpl not found
via GitHub by xfeep
, 2 years ago
Provider org.glassfish.json.JsonProviderImpl not found
via Stack Overflow by Gambit2007
, 5 months ago
Provider org.glassfish.json.JsonProviderImpl not found
via GitHub by hanjoes
, 1 year ago
Provider org.glassfish.json.JsonProviderImpl not found
java.lang.ClassNotFoundException: org.glassfish.json.JsonProviderImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at javax.json.spi.JsonProvider.provider(JsonProvider.java:94)
at javax.json.Json.createReader(Json.java:220)
at io.datafx.io.converter.JsonConverter.initialize(JsonConverter.java:100)
at io.datafx.io.converter.JsonConverter.initialize(JsonConverter.java:62)
at io.datafx.io.InputStreamDataReader.setInputStream(InputStreamDataReader.java:109)
at io.datafx.io.RestSource.createRequest(RestSource.java:118)
at io.datafx.io.RestSource.next(RestSource.java:141)
at io.datafx.provider.ListDataProvider$2.callTask(ListDataProvider.java:245)
at io.datafx.core.concurrent.PublishingTask.call(PublishingTask.java:61)
at io.datafx.core.concurrent.PublishingTask.call(PublishingTask.java:44)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javafx.concurrent.Service.lambda$null$492(Service.java:725)
at javafx.concurrent.Service.lambda$executeTask$493(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 2 hours ago
Once, 2 days ago
Once, 3 days ago
2 times, 6 days ago
Once, 6 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.