classnotfoundexception

Android E/Parcel﹕ Class not found when unmarshalling (only on Samsung Tab3)

a 夏天 提交于 2019-11-26 12:24:43
问题 I\'ve been unable to resolve why this error occurs, and only on a Samsung Tab3 device, running 4.4.2? It happens when my MainActivity starts another Activity, and passes a Parcelable class in the intent like so: private void debugTest(TestParcel cfgOptions){ TestParcel cfgOptions = new TestParcel(); cfgOptions.setValue(15); //just to verify Intent intent = new Intent(MainActivity.this, TestActivity.class); intent.putExtra(\"cfgOptions\", cfgOptions); startActivityForResult(intent, DBG_TEST);

Error executing testng.xml through CLI : Could not find or load main class org.testng.TestNG

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 10:04:29
问题 Before I get into it, I\'m a newbie with selenium and so on. I have looked up all the answers to this issue and still haven\'t been able to fix the problem. My %claspath% and so on are all correct. The jar files are in the correct folders and such. I\'m totally lost to why this isn\'t working. My guess is that I\'m doing something silly and an expert would spot the error quickly. I am able to run the following test within Eclipse, it opens firefox and runs the test with no issues. If I run

oracle.jdbc.driver.OracleDriver ClassNotFoundException

£可爱£侵袭症+ 提交于 2019-11-26 09:12:49
问题 This is my code for which I am getting error. My classes12.jar has been imported as an external jar. import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class LoginAction

runtime error: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

百般思念 提交于 2019-11-26 08:36:22
问题 I am new to mysql and jdbc and I am getting the error in this title. I have been searching all day and cannot find a solution that works for me. What I have tried: uninstall/reinstall mysql, copy paste mysql-connector-java-5.1.25-bin.jar and ojdbc7.jar to same location as the .class file I am trying to run, rebuilt the program in a different directory, and probably a couple other things. I am using notepad++ for coding and the windows command prompt to compile and run. it compiles fine but I

java.lang.ClassNotFoundException : com.sun.faces.config.ConfigureListener

无人久伴 提交于 2019-11-26 08:29:59
问题 We are three people developing a JSF project and we\'ve not been into JSF before. Oddly, with the same data checked out from SVN, one of the team members gets an 404 error everytime using Tomcat 7.0.27. At the time when Tomcat (used inside Eclipse) starts up, the following log is written out: 01.06.2012 11:45:16 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the

ClassNotFoundException when using User Libraries in Eclipse build path

只谈情不闲聊 提交于 2019-11-26 07:56:39
I'm using Eclipse 3.7 (STS) with Tomcat 7 running inside the IDE. I've created a new Dynamic Web project and added a single JSP file to the web content root folder. I can run Tomcat and access the JSP from within Eclipse with no problems. I've added a few 3rd party JAR's to the project from User Libraries (I'm not using maven or auto dependecies managment). In the JSP I reference a class from the project's JAR file, I can compile this with no problem, but when I deploy on Tomcat the JSP throws ClassNotFoundException. Clearly, Tomcat can't find the JAR's from my library settings. I tried

Android ClassNotFoundException

好久不见. 提交于 2019-11-26 07:46:39
问题 I am having a problem with one of my apps and I was wondering if anyone could give me any insight into what maybe causing it. I am getting a ClassNotFoundException , the important line below is E/AndroidRuntime(21982): Caused by: java.lang.ClassNotFoundException: couk.doridori.goigo.customUI.GoBoardView in loader dalvik.system.PathClassLoader@446fc3d0 Now this app has been out for over a year and 2 days ago I had two seperate users contact me regarding this issue, one on a HTC wildfire (2.1)

android.content.ActivityNotFoundException: Unable to find explicit activity class

≡放荡痞女 提交于 2019-11-26 05:58:55
问题 I get this error: 06-06 10:45:19.685: E/AndroidRuntime(554): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.Android.myApp/com.Android.myApp.Facebook.Example}; have you declared this activity in your AndroidManifest.xml? But i have declared it in my manifest file. what might be the other reasons for such exception? My manifest.xml <?xml version=\"1.0\" encoding=\"utf-8\"?> <manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" package=\

org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException

核能气质少年 提交于 2019-11-26 05:56:26
问题 I have been getting a ClassNotFoundException with org.glassfish.jersey.servlet.ServletContainer but it peculiarly started last night when I tried to start/re-start my Tomcat server (v7) with Eclipse Juno. Not sure what is going on. What\'s bizarre is that it just started happening last night while it was working perfectly well before that. Here is the stacktrace: Feb 25, 2014 11:11:19 AM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet com.att.ucomm.admin

java.lang.ClassNotFoundException on working app

天涯浪子 提交于 2019-11-26 02:21:16
问题 I have created and published my first Android app. It\'s very simple. It works fine on simulator and some phones, but I am getting this error: java.lang.RuntimeException: Unable to instantiate application cz.teamnovak.droid.Novak ESC Track guide: java.lang.ClassNotFoundException: cz.teamnovak.droid.Novak ESC Track guide in loader dalvik.system.PathClassLoader[/data/app/cz.teamnovak.droid-1.apk] at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:649) at android.app