Questions tagged [classnotfound]
212 questions
1
vote
3 answers
Android reflection ClassNotFound
I am new in Android programming. I want to invoke a method in the class BatteryService by reflection. However, the following code fails above Android 5.0, including the newest Android 6.0.1, though it succeeds in Android 4.3. I have googled for…

Ting Chen
- 79
- 2
1
vote
1 answer
classes from library are missing
I am still new in Android development. I want to add a library (which is superslim lib) to my project. just like what the web said, I added following code to dependencies
compile 'com.tonicartos:superslim:0.4.13'
somehow, some classes are missing…

A. N
- 153
- 1
- 15
1
vote
1 answer
How to run JUnit tests from the command line if classes are in packages?
The class ParserTest is in the package myproject.tests and stored in this directory structure:
.
└── myproject
└── tests
└── ParserTest.class
Set the CLASSPATH for the current shell session (no -cp option, to keep to java call…

Senkaku
- 197
- 2
- 10
1
vote
0 answers
Android Works in Emulator/Arc Welder but crash ClassNotFoundException on GenyMotion
I'm trying to run my app in GenyMotion, but I get the following error:
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.voopter/com.myapp.splash.Splash}:
android.view.InflateException: Binary XML…

elisonj
- 11
- 3
1
vote
1 answer
Custom ArrayList serialization
I was trying to serialize an ArrayList which contains custom objects.
I'm serializing it in a Servlet (server side), and deserialize at the client side. (using ObjectOutputStream and ObjectInputStream)
It worked fine, when I work with…

rayman
- 20,786
- 45
- 148
- 246
1
vote
1 answer
Calling custom components in Yii2 (Class not found)
I make a custom component(getter).
My custon component works well, because I test from a controler:
namespace app\controllers;
use Yii;
(...)
class SiteController extends Controller
{
(...)
public function actionTest()
{
…

user3782779
- 1,669
- 3
- 22
- 36
1
vote
3 answers
Third party class not loading in 'using'. Where are additional classes installed?
I have a third party library installed, but the accompanying namespace isn't found.
The type or namespace name 'Maverick' could not be found (are you missing a using directive or an assembly reference?)
Fair enough, VS 2010 can't find it. But…

mikemaccana
- 110,530
- 99
- 389
- 494
1
vote
1 answer
Android: ActivityNotFoundException
I'm new to android and java programming and I'm getting ActivityNotFoundException in my app.
Here these are the only two times the activity is called:
public void onItemClick(AdapterView> parent, View view,
int position, long id)…

Sai Barker
- 83
- 3
- 13
1
vote
3 answers
Unable to instantiate application - ClassNotFoundException on MainActivity
I've tried cleaning my project several times, restarting Eclipse, going to Build path -> Export, making sure Android private libraries is ticked, and I've tried parsing through XML and Java files to find the error myself. I have also tried…
user3200167
1
vote
1 answer
Class "org.h2.fulltext.FullTextLucene" not found - H2 database 1.4.* does not work with Lucene Core 4.*
I have written a small Java tool, but I still get the same error that a class can not be found
Class "org.h2.fulltext.FullTextLucene" not found; SQL statement:
CREATE ALIAS IF NOT EXISTS FTL_INIT FOR
"org.h2.fulltext.FullTextLucene.init"; […
user753676
1
vote
1 answer
ScalaIDE and cryptic ClassNotFound errors
The problem
Using Scala IDE, I've been getting a cryptic NullPointerException wherein the classed underneath "src/test/scala" are not found... My IDE Details are :
Related
A related question (see…

jayunit100
- 17,388
- 22
- 92
- 167
1
vote
1 answer
Java Web Application Error - Can't find classes that are located in WEB-INF/classes directory
I first start up my WebSphere Application Server 8.5.5.0 with no applications deployed to it, it starts up fine, text is below.
Launching defaultServer (WebSphere Application Server 8.5.5.0/wlp-1.0.3.20130510-0831) on Java HotSpot(TM) 64-Bit Server…

wesg
- 57
- 10
1
vote
2 answers
java.lang.ClassNotFoundException: org.elasticsearch.common.transport.TransportAddress
I am trying to use elasticsearch in my J2EE application but I am getting java.lang.ClassNotFoundException: org.elasticsearch.common.transport.TransportAddress during deployment to Glassfish 3.1. IntelliJ shows no error during compilation.
I use…

Martin Nuc
- 5,604
- 2
- 42
- 48
1
vote
2 answers
PHP Class not found from a different namespace
I'm currently working on a Symfony2 project with Phpspec and I'm having problems to extend a Spec class described in a different namespace.
In my project, for instance, I'm having the following class described in spec/Acme/Model/Foo/FooSpec.php…

Ian Letourneau
- 415
- 5
- 17