Questions tagged [classnotfound]
212 questions
3
votes
1 answer
Custom MBean in Tomcat - cannot find javaURLContextFactory when creating InitialContext
I've written a custom MBean that deploys in Tomcat 6. One of its tasks is to query a database value. I'm doing this by loading up the database resource using JNDI - the resource is defined in Tomcat's server.xml.
The problem is that when I create…

Will
- 6,561
- 3
- 30
- 41
3
votes
1 answer
PHP namespace & use Fatal error class not found even when i already specified class with use
I'm running into trouble with namespace in PHP. For an example I have a file like this
namespace App\Models\Abstracts;
abstract class Country{}
and then another file like this
namespace App\Models;
use App\Models\Abstracts\Country;
class City…

tieuhoanglinh
- 53
- 1
- 3
3
votes
1 answer
Class not found error with PHP Composer Autoload
The error is:
Fatal error: Uncaught Error: Class 'Championsweb\Model\VO\CompeticionVO'
not found in E:\Drive\Proyectos\ChampionsEclipse\public\CrearCompeticion.php
on line 4
Project structure:
├───config
├───public
│ ├───css
│ └───js
│ …

iporto
- 153
- 1
- 2
- 10
3
votes
1 answer
Magento 2.1.1 Invalid block type exception - class not found
Trying to load a custom module's edit/create form.
In my Magento 2.1.1 on my production system (linux) I get a invalid block type exception caused by class not found while on my local host xampp / windows all works fine.
It occurs when I want to…

user3415805
- 231
- 2
- 4
- 9
3
votes
1 answer
ClassNotFoundException Thrown while deserializing
I've been trying to serialize a vector from within a bukkit(minecraft) plugin.
This is the class I want to serialize:
package net.cerberusstudios.llama.runecraft.neat;
import org.bukkit.util.Vector;
import java.io.Externalizable;
import…

Amuxix
- 41
- 5
3
votes
1 answer
Following classes not found: android.support.v4.widget.DrawerLayout
I was working on a project in Android Studio in which I had to use a navigation drawer, everything was running well. Recently Android Studio updated to 1.2 version and suddenly the activity where the the nav drawer was stopped rendering giving me…

Hernan Romero
- 133
- 10
3
votes
2 answers
Class not found (in PHP)
This code works without problems:

ktretyak
- 27,251
- 11
- 40
- 63
3
votes
2 answers
Dynamically class creating by using Java Reflection, java.lang.ClassNotFoundException
I want to use reflection in java, I want to do that third class will read the name of the class as String from console. Upon reading the name of the class, it will automatically and dynamically (!) generate that class and call its writeout method.…

rubby
- 39
- 1
- 1
- 2
3
votes
2 answers
pear fatal Error: Class 'Mail' not found .wamp
I am having some trouble with using the send mail functionality of pear with wamp. I went through with the steps in this link : (http://pear.php.net/manual/en/installation.checking.php) to check if my pear was installed correctly, and it seems like…

Aman
- 623
- 1
- 11
- 23
3
votes
1 answer
H2 database User defined java function Class not found
When I create an ALIAS for registering the java function in the H2 database, it gives error of class not found. I am running the h2 database on a tcp connection.
sample,
public class TimeFrame {
public static void main(String... args) throws…

UserBSS1
- 2,091
- 1
- 28
- 31
3
votes
1 answer
Debug "Step into" class calls cause "Class not found" exception - Eclipse Debugging
I had a brain meltdown over this problem last night. I started to debug my program after making sure there were no clear errors coming from my eclipse error check. I'm using Jre7 by the way. Anyway, each time i stepped into my class call(lets call…

NooberBLucky
- 39
- 2
- 5
3
votes
1 answer
Ugrading to jsf 2.2 from jsf 2.1
So I followed the setup instructions for upgrading to JSF 2.2 from http://www.mastertheboss.com/jsf/installing-jsf-22-on-jboss-as-7 using option 1. However, when I run JBOSS I am getting a class not found error, com/sun/faces/spi/InjectionProvider.…

Joe
- 99
- 1
- 9
3
votes
2 answers
Loading a custom class from arbitrary location
I am having some issues with Class Loading in Java. Inside my project I am trying to dynamically load a class from anywhere. However, I am currently failing at loading a hard-coded one and am still clueless after 6 hours of googling and…

user1922672
- 33
- 3
3
votes
1 answer
Using a broadcast receiver as an activity innerclass with manifest registration
I have an activity in which I have a broadcast receiver (br). If I register the br programmatically the receiver is registered and works great.
However, if I register the receiver in the manifest I receive a…

Roy Hinkley
- 10,111
- 21
- 80
- 120
3
votes
2 answers
ClassNotFoundException: com.mysql.jdbc.Driver not found while using service mix
I am using servicemix 4.4.1 with maven 3.0.4. I am very new to servicemix/java world - my main knowledge is c# / php.
I have added the below to one of my routes:

Gareth H
- 103
- 2
- 14