2,236 questions
0
votes
0
answers
84
views
Jetty 12 cannot load ResourceServlet
I'm running a Java 21 web application with a static part under /webapp path. Until Jetty 11, we used the DefaultServlet for this. Now we get a warning that it is recommended to use the ResourceServlet ...
0
votes
1
answer
71
views
Android app crashes on launch: java.lang.ClassNotFoundException for existing Composable screen class
I'm building a Quran app using Jetpack Compose in Kotlin. The app builds successfully and installs on a real Android device (Samsung S908E), but crashes instantly on launch.
Crash Log:
Caused by: java....
1
vote
1
answer
45
views
Randomly occurring ClassNotFoundException in Wildfly@Openshift with mounted PVC
A Java application landscape is currently running on [email protected] under Java21. The application has been extensively tested and is stable in the test stack. Now it is to be deployed in an ...
0
votes
1
answer
75
views
Why am I getting a ClassNotFoundException for hadoop.conf.Configuration in Eclipse?
I am trying to create a table in Hbase using Java, but I keep getting a ClassNotFoundException.
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
...
0
votes
1
answer
69
views
ClassNotFoundExcetion is thrown by library when class is present in the application's classpath
I have a Maven project with the following dependencies:
org.apache.poi:poi-ooxml:4.1.0
org.apache.poi:poi:4.1.0
An internal dependency/library, lets call it Lib-A, which was built using Gradle. This ...
-2
votes
2
answers
98
views
how is Classpath decided in java? what makes a valid classpath?
I understood how the classpath is necessary for running the project but I still have some doubt.
I compiled my class using
javac /Users/username/IdeaProjects/leetcodePrograms/src/problems/...
1
vote
0
answers
558
views
java.lang.NoClassDefFoundError: software.amazon.awssdk.auth.credentials.AwsCredentials
I have no references to the above class in my code. I am using software.amazon.awssdk.auth.credentials.AwsCredentialsProvider class in my code. I still see the error.
Background: I am trying to ...
0
votes
1
answer
106
views
Spring Kafka: ClassNotFoundException: com.google.common.cache.CacheLoader
I write you this message because I have an error when trying to execute a Spring batch job that reads messages from a Kafka topic.
This job is triggered after calling an URL in my web app.
The final ...
1
vote
1
answer
229
views
Unable to load Trino Spark connector in AWS Glue job
I'm trying to use the Trino Spark connector in an AWS Glue 4.0 job, but I'm running into issues loading the connector.
Relevant code in my glue job submission script:
trino_drivers_list = ...
-2
votes
1
answer
272
views
java.lang.ClassNotFoundException: org.postgresql.Driver in HttpServlet [duplicate]
There is an error when I want to connect to a PostgreSQL database from a servlet connection, a ClassNotFoundException for the PostgreSQL driver, with some details about servlet.
Class.forName("...
0
votes
1
answer
211
views
Getting ClassNotFound exception when running customChange in Liquibase
I am trying to make Liquibase to run a custom script with customChange, here is my setup:
changelog.xml
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
...
0
votes
1
answer
113
views
App Crashes on Receiving Firebase Notification: FlutterFirebaseMessagingService ClassNotFoundException in Flutter App
I'm developing a Flutter app using Firebase Cloud Messaging (FCM) for push notifications. The app crashes every time I receive a notification. This problem began after implementing FCM, and I’ve ...
0
votes
0
answers
46
views
ClassNotFoundException when trying to reference classes in jars in a sub-directory inside the executable jar
Projects
I have 2 Gradle based Java projects which both get packaged as .jar files:
Core
A java-library
Creates a .jar containing the projects .class files and a lib/ inside the .jar containing all ...
0
votes
1
answer
76
views
Program not Running --- Error -- java.lang.ClassNotFoundException
I am run my java code in IntelliJ it is showing this error:
Error: Could not find or load main class CWA_01_INTRO Caused by: java.lang.ClassNotFoundException: CWA_01_INTRO
whereas the same code is ...
1
vote
0
answers
235
views
java.lang.ClassNotFoundException - eatg (File :- com.google.android.gms@[email protected] (100300-668017056):5 )- Device status - 100% in background
The crash is happening in internal class of google play services. All the crashes are happening in background. Device status - 100% in background. Crash started from the last 5 days.
All the google ...