Unable to figure out the classnotfoundException

Dear Members,
I have an applet on which I want to show images. I have put .class and .html in the same directory and the images in the images directory.
I'm usong Tomcat 5.5.4.
Note: I have created certificates and also policy files for the applet.
When I run the same code using eclipse, the code is working fine.
And when I try to run in the browser its throwing the following Exceptions.
java.lang.NoClassDefFoundError: AdminApplet1$1
     at AdminApplet1.init(AdminApplet1.java:74)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source) Where AdminApplet1 is my applet.
Following is the code written in the .html
<applet codebase="http://localhost:8080/project/"
        code="AdminApplet1"
        archive="SAdminApplet1.jar"
        height=400
        width=600 >
</applet>where SAdminApplet1.jar is signed jar.
I'm trying to figure out the problem since last 2 days. If you want more details about the problem please let me know.
I have referred http://java.sun.com/developer/technicalArticles/Security/Signed/
for creating the certificates
If you think I've gone wrong while creating the certificate then please show me a way.
I'm looking forward for the helping hands.
Thanks.

Please put all the class files in the jar.
Considor this example:
import java.applet.*;
public class test extends Applet {
     public void start() {
          System.out.println("this is start");
          try{
               System.out.println(System.getProperty("java.version"));
               (new subTest()).printSomething();
          }catch(Exception e){
               e.printStackTrace();
     public void init(){
          System.out.println("this is init");
     class subTest{
          void printSomething(){
               System.out.println("something");
}compiling with javac test.java gives me:
test.class
test$subTest.class
When I remove test$subTest.class and open the applet with a html page I get:
java.lang.NoClassDefFoundError: test$subTest
(looks familiar?)

Similar Messages

  • Unable to figure out the source of a standard purchase order

    Hi ,
    I have identified a PO in the system which cannot be opened. When I query the PO in the purchase summary form, the 'Open' button is greyed out.
    When I go to Inquire -> View Action History , only one sequence is present ------ Action is close . There is no sequence pertaining to Submit or Approve,
    Can someone please tell me , how to check where this PO has been sourced from ?
    Regards.

    Hi,
    The actual problem which lead to the above question is the following :-
    1.  The Consigned PO Orders are not getting picked up in PO Approval process.
    I would like to know if there is any setup by which we can achieve this. You will not be able to see the Consigned Purchase Orders in Purchase Orders screen as well.
    How to check Consigned Purchase Orders?
    SELECT * FROM PO_HEADERS_ALL WHERE consigned_consumption_flag = 'Y'
    What is Consigned Purchase Orders?
    MIT Sourcing &amp;amp; Procurement - Policies &amp;amp; Procedures

  • Unable to figure out the Navig. Attribute

    Dear All,
    I have an Infoobject 0BBP_REQSTR in an ODS. This infobject has a Navigational attribute which is an indicator field called IND. My query is getting filtered on the basis of this Navigational attribute.
    After the extraction of the data from R3 my query does not display any data. But if i remove this navigational attribute from the filter, i get some employee records.
    I tried to locate this field and came to know that it is in some other ODS. Do i need to update the data in this ODS also so that my query may display some data ?
    Guide me with this as I am confused....
    Thanks,
    Srinivas

    You will have to load the data based on that IND value as reference.
    Example: Your loading data structure should contain
    IND     A      B      C where A,B,C are transaction date for IND
    So IND will act as a reference for your transaction data. Hope this is clear

  • Importing cd's and suddenly can't see the recently added folder, have been unable to figure out how to re-display it, know the songs are going somewhere

    Was importing cd's and suddenly can't see recently added folder, been unable to figure out how to re-display it, know the songs are going somewhere

    See Restore Original Smart Playlists.
    tt2

  • I am trying to re install my lightroom student addition.  I have the serial number and was told to do the trial again and then update to purchase. i am unable to figure out how to do this

    i am trying to re install my lightroom student addition.  I have the serial number and was told to do the trial again and then update to purchase. i am unable to figure out how to do this

    Emily5lexi which version of Lightroom are you wishing to install?  Also what operating system are you using?

  • I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version whichi understand is unsafe...what to do?

    # Question
    I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version which i understand is unsafe...what to do?

    That was probably caused by your Firewall blocking the newly installed version of Firefox.
    No known security issues with Firefox 3.6.17, which was just released this past week.

  • TS3354 I have downloaded the latest version of ITunes But was unable to figure out how to play the movie .What steps can I take ?

    Hi
    I have downloaded the latest version of ITunes .I cant' figure out the steps to take , to actually watch it on my computer. Where do I click to watch the movie ?
    Can someone walk me through it ?

    Contact Adobe. That is what I finally had to do. the number is 1-800-833-6687. There was a problem with a file. They took over my computer and got everything working for me.
    Shane

  • HT1386 unable to figure out how to synch iTunes new laptop to new iPhone

    New mac user with new iphone 5 unable to figure out how to synch my itunes to new phone. 

    Have you checked all of the tabs on the iPhone profile? Do you have all of your sync options set up as you want them on each tab on the profile? (by Profile, I mean the screen that displays with the various tabs when you connect your phone to the Mac).
    Cheers,
    GB

  • I have Maveriks. I downloaded numerous ACID Fonts and purchased Stuffit as instructed by ACID Fonts in order to use them. However, now I am unable to figure out how to get them into my Font Family drop down list or insert into Pages. PLS HELP!

    I have Maveriks. I downloaded numerous ACID Fonts and purchased Stuffit as instructed by ACID Fonts in order to use them. However, now I am unable to figure out how to get them into my Font Family drop down list or insert into Pages. PLS HELP!

    Hi FancyJean!
    Here is an article for you about using Font Book and installing fonts that you have downloaded:
    Mac Basics: Font Book
    http://support.apple.com/kb/ht2509
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • Unable to figure out how to delete photos, there is no trash can in upper right corner?

    Unable to figure out how to delete photos, there is no trash can in upper right corner?

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view.
    Photos that were synced from your computer are deleted by moving/removing/de-selecting them from where they were synced from on your computer and then re-syncing.

  • Urgently, Help. Stuck on this issue when unable to figure out what methods to use...

    Urgently, Help. Stuck on this issue when unable to figure out what methods to use...
    Attachments:
    enquiry.jpg ‏101 KB

    so sorry about that
    I have an example attached.
    How to control the pause function automatic control by the system timing? when only reaches 0000hrs, pause function execute?
    Attachments:
    pause_button.vi ‏16 KB

  • Unable to clear out the stock in SAP

    Hi Expert!
    Need your help. I have an issue, my user wants to clear out the stock in SAP because they are the old stock and there's no stock in actual warehouse for those materials actually. it is just in the system taht showing those materials have stock in warehouse. but however, she's unable to clear out the stock. So when i check in the system, the materials are batch managed and still have open POs dated on 2003 which has already old.  Is it the reason why she can't clear the stock? Do i need to ask her to off the batch management for those materials,then delete the POs and then only she able to clear the stock? Please advise on the solution..
    Thanks.

    hi
    do the physical inventory and adhust stock
    1) Create physical inventory doc using MI01
    2) Post the Physical Inventory stock Using MI04 ( Mark Tick if the stock is Zero)
    3) Post the doc in Using MI07
    Note : Give the batch no if the material is activated the batch

  • I need help figuring out the best way to convert analogue video to DV so that I can edit it.

    I have a large number of VHS and hi8 tapes that I want to convert to high quality DV.
    I have a couple of options. One is an Elgado Video capture system.
    The other is a Sony Digital Media Converter Box (DVMC-DA2).
    I have tried a few of the less important tapes using the Elgado Video Capture system. It only allows you to convert to MPEG4 or H.268. It is not very good quality, especially for archival items or items I would later wish to edit.
    I also have the Sony Digital Media Converter Box. I have heard that this is a superior option. So far, though, I have only been able to figure out how to import using an old version of iMovie HD. This makes a large imovie project file (approximately 6.18GB for a 28:30 clip vs a 348.9MB for an MPEG4 using delgado.
    On top of that to convert the file from an iMovieProject file to DV is an additional step that so far looks like will take a half an hour at best.
    Is there any way for me to import VHS/hi8 tapes using the Digital Media Converter Box to creat high quality DV files directly? If so, where can I find this info? What steps should I take and what are the settings I should use.
    I have a lot of tapes so I want to figure out the right and most efficient way to do this because I will be repeating it a bunch of times and would hate to have to start over again.
    I should also mention that I am using a Mid 2010 MacBook Pro, with OSX 10.9.1
    I'm sorry in advance if this seems like an obvious question, but I have been googling and looking at tutorials on the site and just have not found the answer. There are a lot of ads for expensive low quality services to do this converting for you, so maybe the answer I am looking for is burried in all that advertising.
    Thanks

    Thanks Biggles and Gotz. I just couldint find capture, but now I can! (It was right under my nose too).
    I'm trying it now and it appears to be working. Do you have any other recommendations for capturing from hi8 video source as far as setting go? I am using DV to capture. Are there any other settings I should pay attention to?
    There is an extra line of video noise at the bottom, but when I google it, it sounds like it won't show on most standard tvs and if I want to fix it for online, that I should mask it after the fact vs scaling up the video.

  • Is there a way to figure out the name behind an Apple ID?

    Is there a way to figure out the name behind an Apple ID?  My oganization uses an iPad as a kiosk.  Somone accessed the iPad, changed the Apple ID associated with iTunes, downloaded a game and set a password to lock up the whole iPad.  We had to completely restore the iPad in order to access it.  When I tried to upload a new app, a different Apple ID popped up, and I'm assuming it was the person who locked the iPad and downloaded the game.  I would like to figure out who owns that account, just so we can not allow that person access to the iPads anymore.
    Is there a way to do this?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Perhaps with a court order because the person committed a criminal act. Otherwise it is doubtful that Apple would violate the privacy of a client/account holder just on your word.

  • Is there a way to dynamically figure out the FIRSTROW & LASTROW using Bulk Insert?

    I noticed most of my files follow a certain convention, so I can use Bulk Insert with this:
    FIRSTROW = 2, LASTROW = 224
    However a few files have many more records.  I'd like SQL Server to dynamically figure out the first and last rows with data, but I don't know if that's possible.  Can someone confirm?
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Nope, you would need read the files from some program. Could be a CLR stored procedure if you want to do it from SQL Server. But from BULK INSERT alone, no.
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for

  • Solution Manager 4.0- Kernel Upgrade(disp+work stops)

    Hi, While doing Kernel Upgrade for Solution manger 4.0 , the disp+work stops. I have taken the Packs as per my requisite for Windows server X64 bit - Unicode The files that were taken are : SAPEXEDB_102-20001356.SAR SAPEXE_102-20001354.SAR The servic

  • How can I pass Flex Field value to the Call Wrap Up screen?

    Hello helpers, I am trying to get a value from the 'Flex Field' passed over to the 'Call Wrap Up' screen by using Form Personalization. Oracle was configured by a subcontractor and therefore I do not know what the exact name of the textfield is in th

  • My Lumia 920 frequently refuse to power on

    I have had d phone for up to 12 months. Although a good phone, I experience frequent refusal to power on. This requires taking it to Nokia care almost on monthly basis. I use only Nokia chargers, & don't allow the battery to drain b4 charging. What c

  • JDBC Receiver Document Format

    Hi, I have to pull the data from DB. The SQL Query is: Select field1        from systemName.table        where field2 = field1        order by field1. Kindly suggest the way to define the data type to realize the SQL query on receiver side. Regards P

  • Truncate member names in Finanial Reporting / Using Member Alias in HFR

    Hello, We have a financial Reporting where the Member names look like the following: A_MemberName, P_MemberName, MemberName_C, etc. We want to remove the '_' and the prefix such as A, P, C, etc. Also, we want to remove the suffix '_C' where they occu