2,240 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
69
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
42
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
69
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
95
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
402
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
92
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 ...
0
votes
0
answers
48
views
Kafka Kraft is not taking "org.apache.kafka.clients.admin.AdminClient"
When starting Kafka with Kraft its not taking up "org.apache.kafka.clients.admin.AdminClient" where as with zookeeper its working fine. I'm getting ClassNotFoundException as its not taking ...
1
vote
1
answer
200
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 = ...
0
votes
0
answers
33
views
Quarkus ClassNotFoundException for DTO in Shared Library After Idle Period
I’m building a multi-service architecture with a shared Gradle setup. Here's how my project is structured:
Root Gradle Project: Manages shared dependencies and configurations.
Child Gradle Projects: ...
user avatar
user16993210
-2
votes
1
answer
255
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
187
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
106
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
45
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
75
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 ...