Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Talend - Issue with job Construction Could not initialize class

I have a job that uses AWS Athena connection. The Job works fine from the Studio, but when I construct the Job and use the bat file to execute it I have this error : Exception in thread "Thread-...
Safus09's user avatar
  • 101
0 votes
1 answer
61 views

java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver but mysql connector is in CLASSPATH [duplicate]

I have ubuntu 20.04.6. Openjdk 11. mysql-connector-java-8.0.20.jar, renamed to mysql.jar CLASSPATH="/var/www/html/java/mysql.jar", classpath stablished in ~/.bashrc After installing openjdk ...
Ariel's user avatar
  • 1
0 votes
0 answers
16 views

java.lang.ClassNotFoundException: Didn't find class [class name] on path: [path] in Android Studio

My project has been cleaned and rebuilt successfully but when I try to run it, it simply crashes. The logcat says that there is a class not found exception. Here is the logcat: 2024-09-03 16:55:32.504 ...
Ashad's user avatar
  • 1
0 votes
0 answers
49 views

java.lang.ClassNotFoundException: com.mojaduodeejays.servlets while deploying war file

{ "WFLYCTL0080: Failed services" => { "jboss.deployment.unit."mojaduodeejays-1.0-SNAPSHOT.war".undertow-deployment.UndertowDeploymentInfoService" => ...
Theophilus Zitha's user avatar
1 vote
0 answers
34 views

ClassNotFoundException On IL2CPP AAB (Android) Build

We have a game that we have been developing for Android for a long time. We removed all 3rd party plugins because we received a build error. After this stage, we started to encounter errors and tried ...
alpistoss's user avatar
0 votes
0 answers
48 views

Scala doesn't detect MANIFEST.MD leading: Caused by: java.lang.ClassNotFoundException:

I am very aware that this covers the same error and output Caused by: java.lang.ClassNotFoundException. The distinction here is i'm not using Java, I'm using Scala. I have not seen a question that ...
Michael Schmidt's user avatar
0 votes
0 answers
23 views

Java.lang.NoClassDefFoundError: javax/xml/namespace/QName

I am trying to submit Excel file,I have following jars in my classpath poi-3.9.jar poi-ooxml-3.9.jar poi-ooxml-schemas-3.9.jar xmlbeans-2.3.0.jar dom4j-1.6.1.jar JDK1.6 OSGI It is working fine ...
Jeason Li's user avatar
-2 votes
1 answer
46 views

Why do I get the error message "Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main" on IntelliJ? [closed]

I am trying to a simple HelloWorld program automatically generated by IntelliJ through IntelliJ that is running on a Linux Mint installation. I can run the code through the terminal if I navigate ...
Kazutadashi's user avatar
0 votes
1 answer
50 views

Unable to use JetBrains UI Libraries

I am trying to develop a plugin for IntelliJ Idea community edition, I am creating the plugin project like shown Creating Plugin Project I am using Java to develop the plugin and gradle as my build ...
Dharun Pk's user avatar
0 votes
0 answers
42 views

Flutter App: Unable to instantiate activity ComponentInfo java.lang.ClassNotFoundException: Didn't find class on DexPathList

A while ago, I updated android studio and since then, my android emulators have not been letting me test the app. I have not attempted to test the app on a physical android device, since I do not have ...
CreativeUserName's user avatar
0 votes
0 answers
26 views

java.lang.RuntimeException: Unable to instantiate application com.fleatiger.MainApplication package com.fleatiger

` package.json { "name": "fleatiger", "version": "0.0.1", "private": true, "scripts": { "android": "react-native ...
Sushmitha G's user avatar
0 votes
1 answer
103 views

Getting ClassNotFoundException for "com.ctc.wstx.stax.WstxInputFactory" after migrating from Tomcat 9.0.87 to 9.0.88

I've recently migrated my Struts web project from Tomcat version 9.0.87 to 9.0.88. When I start the Tomcat I'm not able to access the site and seeing blank pages. And found the below error in the log ...
rv_767's user avatar
  • 1
-1 votes
1 answer
72 views

Why can't my class be run after declaring package and be found by another class in the same package/folder?

I am having problems understanding how packages work. Not using any IDE. I have the following folder structure: ~/dropbox/api/data Inside the data folder, there are (only) Producer.java, Consumer.java....
limestreetlab's user avatar
0 votes
0 answers
19 views

Eclipse gives me a classnotfoundexception everytime after saving a file

I have the most annoying problem in my eclipse: Everytime i edit a java file and save it my project somehow looses knowledge of some classes in my classpath. For example i am writing junit tests with ...
flixe's user avatar
  • 626
0 votes
1 answer
74 views

ClassNotFoundException when calling java code from a different folder than the one holding the code

The problem I want to run java code from the command line, and I don't understand why I manage to do that from within the folder holding the code, but not from another folder. I am on Windows and am ...
rdv's user avatar
  • 732
-1 votes
1 answer
70 views

How to solve the issue resulting in output of the error message "class not found wrong class name"? [duplicate]

I have the following Java code in a file: package hello_project; public class Hello { public static void main(String[] args) { System.out.println("Hello world"); } } The ...
Farhan Adib's user avatar
0 votes
0 answers
33 views

ClassNotFoundException in WildFly when using runtime-name argument for deployment

I need to use the --runtime-name argument when deploying an application for giving a stable name for HA singleton deployment which uses the runtime-name (deployment) for distinguishing singleton ...
fs-chris's user avatar
0 votes
0 answers
77 views

Exception is caught with catch(Throwable) but not with catch(Exception)

I forgot to copy a jar dependency to the right place so the application crashed due to a ClassNotFoundException. But the Problem is I needed about an hour to figure that out because the Exception is ...
BF_PI's user avatar
  • 1
-1 votes
1 answer
34 views

Error: Could not find or load main class simulator.launcher.Main Caused by: java.lang.ClassNotFoundException: simulator.launcher.Main

I have created a project in Eclipse, and I want to run it using cmd, so I have copied the .bin folder to my desktop and from that address I am trying to run it, my project uses libraries, specifically ...
Ramon Salazar's user avatar
0 votes
0 answers
31 views

Unable to create AWS cluster service due to `Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication`

I am working on a springboot app, containerize it using docker and pushed it to AWS ECR. The issue is when I tried to deploy and run a task using the image, I need to create a service, and I got an ...
Fu Chang's user avatar
-1 votes
1 answer
1k views

java.lang.NoClassDefFoundError: io/micrometer/observation/transport/RequestReplyReceiverContext

I am working with Spring MVC. All dependencies of Spring are added so app want to add micrometer-core for io/micrometer/observation/transport/RequestReplyReceiverContext and I did it My pom.xml > `&...
Vidal Cortés's user avatar
0 votes
2 answers
272 views

Maven java.lang.ClassNotFoundException: Could not find or load main class

I have a problem with my Maven project. The program was already running without any problem but now I can't start it anymore. It is important that the user can run this application by just double ...
Odosco's user avatar
  • 21
0 votes
0 answers
49 views

TWA app crash because of java.lang.ClassNotFoundException: Didn't find class "androidx.browser.trusted.LauncherActivity"

I'm currently trying to make a TWA app from a web site I own. First I created a no activity app with android studio, then imported the library "androidx.browser" in build.gradle.kts (Module:...
Mathilde Leconte's user avatar
0 votes
1 answer
66 views

springboot, spring boot jpa,class not found exception, Endpointer

This is BlogController: package com.taskproject.blogproject.controller; import com.taskproject.blogproject.entities.Blog; import com.taskproject.blogproject.repositories.BlogRepository; import org....
amin's user avatar
  • 3
0 votes
0 answers
21 views

How to resolve class Not found exception in STS

I installed STS(spring tool suit) and just created a maven spring starter project to print hello world. I got the error:class not found exception. Then I gone through some of previous solutions on ...
Alex's user avatar
  • 1
1 vote
2 answers
306 views

Java uncatchable ClassNotFoundException when using java.awt.Clipboard

I get the following exception when running this code private static String getClipboard() { try { return (String) Toolkit.getDefaultToolkit().getSystemClipboard().getData(...
Dari_OS's user avatar
  • 23
0 votes
1 answer
385 views

Caused by: java.lang.ClassNotFoundException and java.lang.NoClassDefFoundError

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.location.LocationServices" on path: DexPathList[[zip file "/data/app/~~7KBUn2lwEDhEAtW_Isu_oA==/...
Valentin Diring's user avatar
0 votes
0 answers
75 views

Error inflating class androidx.appcompat.widget.SearchView in Dialog

<style name="WallSearchView" parent="Widget.AppCompat.Light.SearchView"> <item name="colorControlActivated">@color/light_black</item> &...
Foram Shah's user avatar
0 votes
1 answer
236 views

java.lang.RuntimeException: Unable to instantiate application class z

I'm developing an Android app using Hilt for dependency injection, but when I run the app, I get a ClassNotFoundException for my MainApp class. Here's the logcat error message: Process: com.nat....
mohamed's user avatar
  • 11
0 votes
1 answer
103 views

Error: Could not find or load main class com.communication.App in IntelliJ IDE

When executing a Jar using IntelliJ IDE I encountered the error ***"C:\Program Files\Zulu\zulu-17\bin\java.exe" -Dfile.encoding=windows-1252 -jar C:\Users\srpradhan\Desktop\learning\Java\...
Sribatsa Pradhan's user avatar
0 votes
1 answer
172 views

What causes a "java.lang.ClassNotFoundException: com.sun.jna.Callback" Error using maven javafx:jlink?

After making a JavaFX Application, the hardest part has been trying to export it. I am using openjfx 19 and openjdk 11 and want to export the Application using the javafx-maven-plugin javafx:jlink. In ...
Ayame4's user avatar
  • 1
0 votes
0 answers
32 views

Error: Could not find or load main class NewAssesment.Orenge Caused by: java.lang.ClassNotFoundException: NewAssesment.Orenge

This is recent code that i run in my eclipse and i got this exception my previous programme run properly but recent programme are throwing this exception i have tried to configure the build path but ...
Dipali Girase's user avatar
-1 votes
1 answer
772 views

Newly created or modified java files not running in vscode

I have a folder named java where i keep all the .java files Recently I created a new java file to solve a simple DSA problem named MinimumTime.java public class MinimumTime { public static void ...
Azizur Rahaman 1063's user avatar
0 votes
0 answers
53 views

Error: Could not find or load main class org.gradle.jvmargs Caused by: java.lang.ClassNotFoundException: org.gradle.jvmargs

Whenever I try to run my flutter android app from main.dart it shows following error: Error: Could not find or load main class org.gradle.jvmargs Caused by: java.lang.ClassNotFoundException: org....
Malik Muhammad Aman's user avatar
0 votes
1 answer
71 views

Exception in thread "main" java.lang.ClassNotFoundException while executing a jar file

I'm trying to execute a jar file and get the error - Exception in thread "main" java.lang.ClassNotFoundException . The program is in Scala language written in Intellij IDE using scala-sdk-2....
Maria's user avatar
  • 1
0 votes
0 answers
20 views

java.lang.ClassNotFoundException: org.mentawai.core.Controller, I'm not able to make a standard mentawai connection

I'm just trying to connect to test the CRUD functionalities, but the error persists and I can't think of a way to fix it, I'm using Java 8 and Mentawai 2.5.6, it's an application with Hibernate too, ...
João Manoel's user avatar
0 votes
0 answers
224 views

Android: java.lang.ClassNotFoundException: Didn't find class "Fragment class here" on path: DexPathList

I'm working on a library module project that contains its own UX/UI with a single activity and a navigation graph using Navigation Component. I'm in the process of taking that module, publishing a ...
MajinKenn's user avatar
0 votes
1 answer
403 views

Errror running Maven project in Eclipse

I am getting error while running all Maven projects in Eclipse as Maven build, but they run successfully if I run manually in Eclipse. Can someone please help. I have tried running it from Command ...
Madhurjya Saha's user avatar
0 votes
0 answers
42 views

Android ClassNotFoundException for MainActivity despite correct manifest and class path

I'm encountering an issue with my Android application where I'm getting a ClassNotFoundException for the MainActivity despite having a correct manifest configuration and the class being in the correct ...
Scare Rezume's user avatar
0 votes
0 answers
516 views

mysql-connector isn't finding com.mysql.cj.jdbc.Driver? [duplicate]

I'm working on a project that involves a java program accessing a mysql database and display that info on a tomcat page. I have it working on my local machine but I want it running on my Raspberry Pi ...
nickywestside's user avatar
0 votes
0 answers
12 views

mail sending using servlet [duplicate]

This is my Html File: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-...
Rohit Darekar's user avatar
0 votes
1 answer
28 views

Failing to setup two distinct packages in the same project with NetBeans IDE 19

I'm trying to setup a project in NetBeans IDE 19 to have two packages in order to test Java protected access modifier. My setup is the following: Project: TestAccessModifiersProtected \- package: ...
Alexandru Gheorghe's user avatar
0 votes
0 answers
173 views

ClassNotFoundException error when using opencsv

I am a beginner java developer using Eclipse. I want to read in a CSV file and want to use opencsv utilities as a reader (and use other opencsv utilities when I get off the ground). I have ...
Kieran Hooks's user avatar
0 votes
1 answer
193 views

Getting error while doing JNDI lookup for EJB in websphere 8.5

My application is getting deployed and loggers also shows the mapping for all the EJBs. But while doing look up for EJB, it is giving error stating EJBMDOrchestr E CNTR0075E: The user-provided class ...
Saurabh's user avatar
0 votes
0 answers
69 views

java.lang.ClassNotFoundException: java.sql.Driver when upgrading from java 7 to java 11 in sbt 0.13.18 project

I am trying to update my sbt project from java 7 to java 11. I am using sbt 0.13.18 and scala 2.11.12. The code compiles but when starting the project i encounter the following error. [ERROR] java....
davedscl's user avatar
-1 votes
1 answer
289 views

TCPDF class not found in CPANEL. Works fine locally

I followed a YouTube tutorial to deploy my Laravel project on a subdomain in cPanel. Initially, I zipped and uploaded the project successfully, and the website can be accessed. However, when I tried ...
naqib junaidy's user avatar
0 votes
0 answers
39 views

UrlClassLoader can not load the class in the jar

I use URLClassLoader to load the class,and I am sure that the class is int the jar, but this exception has occurred: exception: and the code is here: ClassLoader classLoader = Thread.currentThread()....
RZR's user avatar
  • 11
0 votes
1 answer
764 views

Execution of JMS message listener failed - ClassNotFoundException

I have two applications that are completely independent. One application sends a message to a queue on the ActiveMQ broker (ActiveMQ version 5.18.2) and the other application is supposed to pick up ...
Holland Park's user avatar
0 votes
0 answers
558 views

java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.autoconfigure.web.WebClientAutoConfiguration]

I am facing the above issue while migrating spring-boot from 1.5.4.RELEASE to 2.7.12, below is the stack trace of the error java.lang.IllegalArgumentException: Could not find class [org....
Mohammad Zeeshan's user avatar
-3 votes
1 answer
552 views

java.lang.ClassNotFoundException : org.springframework.web.servlet.DispatcherServlet [duplicate]

I have inserted all the required jars in the library of java build path and also in lib folder.. when I am trying to run the code it show me java.lang.ClassNotFoundException: org.springframework.web....
Jahanvi 's user avatar

1
2 3 4 5
45