Problem with packages.p lease help me to resolve

They are in ShoppingCart package, so create ShoppingCart folder and place these
2 java files in that folder.
Then try to execute �java test� it is giving error, and see the stmts below:
D:\Ashok\Received Files\ShoppingCart>dir
Volume in drive D has no label.
Volume Serial Number is 6C50-67AC
Directory of D:\Ashok\Received Files\ShoppingCart
08/10/2005 12:33 PM <DIR> .
08/10/2005 12:33 PM <DIR> ..
08/10/2005 12:33 PM 1,952 DBConnect.class
08/10/2005 12:30 PM 1,197 DBConnect.java
08/10/2005 12:31 PM 189 test.java
3 File(s) 3,338 bytes
2 Dir(s) 23,262,097,408 bytes free
D:\Ashok\Received Files\ShoppingCart>javac test.java
test.java:5: cannot resolve symbol
symbol : class DBConnect
location: class ShoppingCart.test
DBConnect d=new DBConnect();
^
test.java:5: cannot resolve symbol
symbol : class DBConnect
location: class ShoppingCart.test
DBConnect d=new DBConnect();
^
2 errors
D:\Ashok\Received Files\ShoppingCart>dir
Volume in drive D has no label.
Volume Serial Number is 6C50-67AC
Directory of D:\Ashok\Received Files\ShoppingCart
08/10/2005 12:33 PM <DIR> .
08/10/2005 12:33 PM <DIR> ..
08/10/2005 12:33 PM 1,952 DBConnect.class
08/10/2005 12:30 PM 1,197 DBConnect.java
08/10/2005 12:31 PM 189 test.java
3 File(s) 3,338 bytes
2 Dir(s) 23,262,097,408 bytes free
D:\Ashok\Received Files\ShoppingCart>javac *.java
D:\Ashok\Received Files\ShoppingCart>dir
Volume in drive D has no label.
Volume Serial Number is 6C50-67AC
Directory of D:\Ashok\Received Files\ShoppingCart
08/10/2005 12:33 PM <DIR> .
08/10/2005 12:33 PM <DIR> ..
08/10/2005 12:33 PM 1,952 DBConnect.class
08/10/2005 12:30 PM 1,197 DBConnect.java
08/10/2005 12:33 PM 531 test.class
08/10/2005 12:31 PM 189 test.java
4 File(s) 3,869 bytes
2 Dir(s) 23,262,097,408 bytes free
D:\Ashok\Received Files\ShoppingCart>java test
Exception in thread "main" java.lang.NoClassDefFoundError: test (wrong name: Sho
ppingCart/test)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
D:\Ashok\Received Files\ShoppingCart>

"java test" would call the class test in the unnamed package. Your class is named ShoppingCart.test (which by the way is completely against Java naming conventsion, package names should be lower case and class names should be CamelCase, not the other way round).
So you'd need to call java ShoppingCart.test from the directory that contains the ShoppingCart directory (or more precisily: with the directory that contains the ShoppingCart directory on your classpath).

Similar Messages

  • Problem with "Package Spec" please help.

    Hello once again.
    I'm developing a master-detail form, so I'm using a "Package Spec" variable to hold the primary key value from the master form. The primary key value for the master is generated by a sequence.
    Here's the package spec:
    PACKAGE primary_keygen IS
    pkey varchar2(15); 
    END;Now the master table has the following "Before Insert" Trigger .
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    DECLARE
    primary_key_value varchar2(15);
    BEGIN
    select lpad(to_char(ref_gen.nextval), 4,'0')
    into primary_key_value from dual;
    primary_keygen.pkey:='ABC/'||primary_key_value;
    :new.Ref_Number:=primary_keygen.pkey;
    END;For the detail block. I have the following "Before Insert Trigger" to generate the primary key values.
    CREATE OR REPLACE TRIGGER DET1_NUM_GEN
    BEFORE INSERT
    ON DETAIL1
    FOR EACH ROW
    BEGIN
    if :new.M_ref_number is NULL THEN
    :new.M_ref_number:=primary_keygen.pkey;
    ENd if;
    END;Works quite fine if I have only one detail block. But if I have multiple detail blocks. Depending on the user's selection. i.e. After entering data into the master block, the user selects a detail block ('Letter type'- using stacked canvases for this purpose and radio buttons for selecting the view) and then Inserts data into it. here's what I do in the Detail block2.
    CREATE OR REPLACE TRIGGER OREF_NUM_GEN
    BEFORE INSERT
    ON DETAIL2
    FOR EACH ROW
    BEGIN
    if :new.O_ref_number is NULL THEN
    :new.O_ref_number:=pkey_gen.master_key;
    ENd if;
    END;Now the problem is that When I enter one record into detail1, works fine, but for the second time, when I try to insert another record. the master table gets a new reference number (primary key value) while the detail block gets the previous value that was used in the first record!, so that means 'pkey_gen.master_key' is holding the old value, while in my opinion it should hold the new value, I dont know whats wrong here. If I try to insert two consecutive records into the same detail table, I get an error saying "Unique Constraint voilated", becuase the variable is holding the old values.
    And lastly after it inserts the record into the database, I get a dialog box saying, "successfuly inserted 2 records into the database" and when I click ok, the Form closes by itself, any ideas on how to stop this?
    I'm really stuck here. Please help me out on this.
    Thanks.
    Note: I'm using Form6i with Database 10g.
    Message was edited by:
    fahimkhan82

    Hi,
    Maybe the best way to start is to try building a new form from scratch. For simplicity I will assume that you have one master and one detail table. Master table has a primary key and the detail table has a foreign key to the master. Based on this, with the forms you can create a database block based on your master table. Use the wizard. Again using the wizard, create a second block based on the detail table. You'll see a screen to prompt to create a relationship. Create one by selecting the master table and the right foreign key relation. Now take a close look to all triggers automatically created by the form. Also check the "Relations" object found in you master block object tree. Note that the foreight key column in the detail table has the "Copy Value From Item" property set to monitor the master block's primary key.
    This is the basic. You don't need the database triggers, except (in case you want to insert through, say, SLQPlus) the one for the master table, which will look like this:
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    BEGIN
    IF :new.ref_number IS NULL THEN
    select 'ABC/'||pad(to_char(ref_gen.nextval), 4,'0')
    into :new.ref_number
    from dual;
    END IF;
    END;
    Now you have to take care about the inserts in your form. Create PRE-INSERT trigger on the master block.
    IF :master.ref_number IS NULL THEN
    SELECT 'ABC/'||pad(to_char(ref_gen.NEXTVAL), 4,'0')
    INTO :master.ref_number
    FROM dual;
    END IF;
    Run the form and explore different situations to see how the form is keeping the data integrity.
    Compile with Shift+K (incremental). Sometimes forms blow just because not all of the trigers were compiled properly.
    Hope this helps...

  • Encore CS4 (version 4.0.0.258) will not finish burning to blu-ray disc when using a menu template.  DVD burning works fine.  Anyone know the problem with blu-ray?  HELP!

    Encore CS4 (version 4.0.0.258) will not finish burning to blu-ray disc when using a menu template.   DVD burning works fine with menu template.  Anyone know the problem with blu-ray?  HELP!

    For CS4 you must update the Roxio component, especially with Win8
    http://forums.adobe.com/thread/1309029 http://docs.roxio.com/patches/pxengine4_18_16a.zip
    http://corel.force.com/roxio/articles/en_US/Master_Article/000012592-PX-Engine-Description -and-Download

  • Help: Still got problems with package

    I still got problems with my self-defined packages. My source files are all put in a directory as the package
    name suggests. The questions are:
    1. Before the classes in the package can be cited by the outside programmes, should I compile
    every sources files in the package respectively?
    2. Secondly, I want to put the .class files in another directory, such as \classes\package name, should
    I set the path mannully? If yes, how to do it?
    3. I downloaded some *.java files from Internet and put them in a directory as their package name suggested.
    However, when I run javac a.java I got error: cannot read a.java. What problem could it be?
    Thanks!

    1. Before the classes in the package can be cited by the outside programmes, should I compile
    every sources files in the package respectively?Yes, you can't run .java files. The JVM only uses the .class files, so you have to compile them.
    2. Secondly, I want to put the .class files in another directory, such as \classes\package name, should
    I set the path mannully? If yes, how to do it?You have to put the .class file in the package directory structure. You have no choice about that.
    3. I downloaded some *.java files from Internet and put them in a directory as their package name
    suggested. You need to read a lot of stuff, but start with this:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    However, when I run javac a.java I got error: cannot read a.java. What problem could it
    be?You don't run .java files. You run .class files.

  • Problem with Packaging Material Type

    Hello all Gurus,
    I have a problem with a packaging material type that I have created copying the standrad Packaging material type LEIH. I created a new packing material type ZPAC - Packaging Material copying LEIH.
    I then created a new material master record using this new material type ZPAC.
    When I am using this material for packing in outbound delivery document - VL01N, I am getting the following strange error message:
    20333 does not have packaging material type and is therefore not a pack.mat.
    Please suggest me why this error is coming and how I can rectify this error. Is there any further configuration that I need to do for packaging material types??? Kindly suggest.
    Thanks and Regards,
    Umakanth.

    Hi,
    Material type is not enough, you have to maintain proper master data as well as config.
    At least please maintain value in MARA-VHART for the packaging material. Please also check these links how HUM works:
    http://www.sap-img.com/sap-hu.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/c8/a44b779f3211d2858d0000e81ddea0/frameset.htm
    Regards,
    Csaba

  • Problem with Package Applications

    Ok, I'm trying to migrate an Apex Application from one server to a newer server....
    My custom app I used the theme from Go Live CheckList samples....
    Well, when trying to install that application I get 'Insufficient space to install application ' with a BIG red X...
    I was able to install other Package Application except for the one I need and now my application errors out because of
    some shared Themes....
    At first I thought it was a DB thing so I downgraded back to 10g from 11....but that didn't help...
    Apex works fine...
    Other samples work fine...
    Version Apex 4.2.2 and Oracle XE 10g...

    Yes,
    It errors out in 11g XE and when it was the only Application installed...
    I know the error sounds like the OS but I can't see it being the issue since the
    other server has less space and more application on it...
    Plus the database is empty ....
    The other one is Apex 4.2.1 .. I think there is a problem with 4.2.2 packaged applications..

  • Problem with package in Eclipse

    I am doing in Java codes. There is big problem with those error:
    package org.eclipse.emf.ecore.xml.type.internal;What I should to do that? Do you think I need to download some package from somewhere for Eclipse?
    I have already Eclipse. Please help me how to do that. Thanks.

    I wrote codes in there. But there is some errors in there because they said that I don't have package exist in Eclipse. I have no idea why.
    Those lists below got red line:
    package org.eclipse.emf.ecore.xml.type.internal;
    import org.eclipse.emf.common.util.WrappedException;
    import org.eclipse.emf.ecore.xml.type.InvalidDatatypeValueException;
    import org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil;I tried to run it and the errors said:
    InvalidDatatypeValueException cannot be resolved to a type.
    The declared package "org.eclipse.emf.ecore.xml.type.internal" does not match excpected package"
    The import org.eclipse cannot be resolved
    WrappedException cannot be resolved to a type
    XMLTypeUtil cannot be resolved{code}
    What is wrong with it? Do you think there is missing plugin package or what? Where can I find a package for that?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Re: itunes won't install due to problem with package.

    I've been having a similar problem--
    Here are the exact words: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908." fyi, the message came up just after the installer began "updating component registration," if that is of any use. I've tried re-downloading it and restarting the computer. I've tried what the customer service reps told me which was to stop the iPod service and the apple mobile device service during installation but i couldn't find "apple mobile device" on the list. so i tried just stopping "iPod service". that didn't work. please, please help I am at my wit's end with this.
    Message was edited by: evenstar675

    Checking on something. In the course of your troubleshooting to date, have you worked through the general troubleshooting procedures (listed below the heading: *General Installation Troubleshooting*) from the following document?
    Trouble installing iTunes or QuickTime software in Windows

  • Itunes won't install due to problem with package.

    I went to upgrade my itunes to the 7.3.2 and it froze in the middle of it. I restarted my computer and then my itunes won't show up nor download. I tried to use the apple installer and it gets most of the way through when the following message appears: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330." I have tried installing the program on it's own using tools--> download only and that did not work. I also tried using a different user account and that also did not work. Any information would be greatly appreciated. I am using a PC and have windows XP. Thank you.

    Hi Royb,
    first i excuse myself for my english...its not too bad but sometimes i make mistakes... however
    perhaps you can help me with my problem as well. i did the log file as well and i suppose its something to do with the ipod functions in itunes. everywhere in the logfile where the pattern "2330" matches is something like this:
    MSI (c) (A0:08) [21:33:37:187]: Note: 1: 2330 2: 23 3: C:\Programme\iPod
    MSI (c) (A0:08) [21:33:37:187]: Transforming table Error.
    DEBUG: Error 2330: Error getting file attributes: C:\Programme\iPod. GetLastError: 23
    Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2330. Argumente: 23, C:\Programme\iPod,
    AppSearch: Eigenschaft: EXISTINGINSTALLDIR, Signatur: Locate_EXISTINGINSTALLDIR
    AppSearch: Eigenschaft: EXISTINGIPODINSTALLDIR, Signatur: Locate_EXISTINGIPODINSTALLDIR
    in case the german language causes problems with the analysis i tried to translate it into proper english:
    MSI (c) (A0:08) [21:33:37:187]: Note: 1: 2330 2: 23 3: C:\Programme\iPod
    MSI (c) (A0:08) [21:33:37:187]: Transforming table Error.
    DEBUG: Error 2330: Error getting file attributes: C:\Programme\iPod. GetLastError: 23
    During the installation an error occured. Maybe there is a packet problem. The error code is 2330. Arguments: 23, C:\Programme\iPod,
    AppSearch: Attribute: EXISTINGINSTALLDIR, Signature: Locate_EXISTINGINSTALLDIR
    AppSearch: Attribute: EXISTINGIPODINSTALLDIR, Signature: Locate_EXISTINGIPODINSTALLDIR
    I hope this helps...
    It would be very nice if you help me, otherwise i see no other way than formationg windows...and i hate that...thats why mac is better -.-
    however plase help me and if it helps i can send u the hole logfile. =)
    thank alot!
    moe

  • How do i solve the problem with repeated renew lease requests

    How can i solve the problem of repeated renew lease requests?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430http://support.apple.com/kb/ht1430
    You don't say what you are doing or trying to do. See #5 below.
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netwhttp://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-wonhttp://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bughttp://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading-http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.hhttp://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h Mt
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sighttp://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-Ohttp://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connecthttp://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipadhttp://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asphttp://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxEhttp://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmzhttp://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Rather odd problem with package naming...

    Background info:
    I'm working on a web-based application, on a Tomcat server. Classes (and packages) must be in a subfolder of WEB-INF/classes of the app's root. So the packages are in WEB-INF/classes/com/<package>.
    The older packages are in com/gestion (for the package com.gestion ) and the newer ones are in com/incsolution/<various> where <various> can be either chart, util or pgm - following convention more closely.
    OK! We have a class called SqlBean in com.gestion, which starts off like so:package com.gestion;
    import java.sql.*;
    import javax.sql.*;// stock pour pooled connection c'est dans javax.sql
    import javax.naming.*;
    import java.io.*;
    public abstract class SqlBean
        ...rest of code...
    }and is used in several other objects, like TransferQBean.java, which is in the same package:
    package com.gestion;
    import java.sql.*;
    public class TransfertQBean extends SqlBean
       ...rest of code...
    }Now, i've been working (with others) on this project for 2 years now, and up until last week, there was no problem with the way things were called. Come Monday (April 11), the classes won't compile any more - gives me this error:
    classes/com/gestion/TransferQBean.java [5.1] cannot resolve symbol
    symbol : class SqlBean
    location: class com.geastion.TransferQBean
    public class TransferQBean extends SqlBean
    ....................................................................^
    Now if i add classes to com.gestion to get...
    package classes.com.gestion;
    import java.sql.*;
    public class TransfertQBean extends SqlBean
       rest of code...
    }and same for SqlBean...
    package classes.com.gestion;
    import java.sql.*;
    import javax.sql.*;// stock pour pooled connection c'est dans javax.sql
    import javax.naming.*;
    import java.io.*;
    public abstract class SqlBean
       ...rest of code...
    }...it works, but that's not how it's supposed to be. What puzzles me the most is how this came about suddenly.
    Anyone have an idea what might be causing this? AFAIK, it's abnormal...
    JH

    classes/com/gestion/TransferQBean.java [5.1] cannot resolve symbol
    symbol : class SqlBean
    location: class com.geastion.TransferQBean
    public class TransferQBean extends SqlBean
    ....................................................................^The solution to your problem is simply that your classpath is incorrect at compile-time. How you fix that depends on how you compile (from an IDE, from the command-line javac tool, etc). But whatever you do, don't make your solution depend on a system environment CLASSPATH variable.

  • Problem with packageing and deploying a sample application

    HI,
    I have tried to download and install the server in my system. I am able to deploy a sample application using autodeploy utility.
    But when i tried to package a new sample application and deploy i am getting 404 error. For application server i have used 7070 port and not the default 8080 port will this a problem to package & deploy sample application provided with this software.
    The error is as below:
    HTTP Status 404 - /hello1
    type Status report
    message /hello1
    description The requested resource (/hello1) is not available.
    Sun-Java-System/Application-Server

    Btw, verify that the url you are trying to access is correct. For instance, assuming you deploy app. without --contextroot option. By default,  the url is http://<host>:<port>/<web module name>/<value of url-pattern in web.xml> if your app contains servlet. If your app has jsp then it's http://<host>:<port>/<web module name>/<value of url-pattern in web.xml>/<name of jsp>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I have a problem with my microphone, please help if you can

    Hello everyone.
    I have a problem with my microphone. After i bougth Creative's sound card "Sound blaster X-Fi Xtreme Audio" and installed it, everything was allright and my microphone was working great, but this was when I used Windows XP, when i started to use Windows 7, it suddenly was very weak and i almost didn't heard it.
    Currently, I have bouth Windows XP and Windows 7 installed, so I know the microphone is working when I am switching up between the OS, because it still works good on Windows XP.
    If you can help please tell me.
    I am using Windows 7 64 bit, I made sure the flexijack settings in the Audio controll panel are set to microphone and not line in, in the Windows 7 audio controll I have set the microphone volum to maximum and made sure it is configured properly.
    Thank you for helping.

    Originally Posted by tav2000
    Hello everyone.
    I have a problem with my microphone. After i bougth Creative's sound card "Sound blaster X-Fi Xtreme Audio" and installed it, everything was allright and my microphone was working great, but this was when I used Windows XP, when i started to use Windows 7, it suddenly was very weak and i almost didn't heard it.
    Currently, I have bouth Windows XP and Windows 7 installed, so I know the microphone is working when I am switching up between the OS, because it still works good on Windows XP.
    If you can help please tell me.
    I am using Windows 7 64 bit, I made sure the flexijack settings in the Audio controll panel are set to microphone and not line in, in the Windows 7 audio controll I have set the microphone volum to maximum and made sure it is configured properly.
    Thank you for helping.
    Hi tav,
    While waiting for other forum members to post..
    Perhaps you havent installed the latest drivers yet? (link HERE)
    Cheers!

  • Bought a 2nd hand iphone4. On the screen it shows "Connect to itunes" after connecting it shows in my itunes "There is a problem with your iphone" Pls help me what to do next? Thanks

    Hi. I would really appreciate if someone could help me find a way to solve my problem. I bought a second hand iphone4 from my friend's friend. I fully trust my friend coz she said this iphone is working but it was handed to her lowbat so i get home i recharge it immediately and after charging it, i open and it shows to select language and country and i did select. After this it shows on the screen "Connect to itunes". Then i plug it in to my laptop and connect to itunes. It shows in my itunes " There is a problem with your iphone". Please visit the Service Answer Center to find answers to all your questions etc. To find your nearest Apple Store pls click here. I know i was so stupid to fully trust and paid before i check the phone. Can anybody pls help me with my problem.

    It's probably broken. Is there an error number displayed by iTunes?

  • Printing problem with Photoshop cs4, need help

    I'm using PS CS4, with a Canon Pixma iP4200 and Mac os 10.6.2.  I CAN print from other programs such as TextEdit or Pages.  And my printer prints a test page without any problems.  However, when I try to print something from PhotoShop, the printer dialogue box opens, I see the image in the preview and the page rolls through my printer...without anything on it.  Does anybody know the reason for this??  Thank you for your help. 

    I haven't heard of anyone else with those specific symptoms.
    But another poster has had problems with his Canon 9900 not printing (but no blank page).
    The first thing to do is make sure you are using the Canon drivers and not the GutenPrint/GimpPrint drivers.
    After that, you probably need to check with Canon.

Maybe you are looking for

  • Infoarea not appearing in Query designer

    Hi - I have some cubes created under cross application components infoarea but the infoarea is not appearing in the query designer. I have to create reports on these. how can I see them in query designer? Thanks, Raj.

  • ODI Datastore Length differs with the DB length -IKM throws value too large

    ODI datastore when reverse engineered shows different length to that of the datalength in the actual db. ODI Datastore column details: char(44) Target db column : varchar2(11 char) The I$ table inserts char44 into varchar2(11char) in the target. As t

  • New Facebook Release

    Just checked this (new Facebook Release) out and looks like the selections to change one's own posts is not there yet e.g. edit/delete.  These selections are there on the iPhone mobile app.  If I need to do this I go to the browser version on the BB1

  • Upgrade problem. Connection lost.

    I upgraded to 1.5.3 and again all my connections were lost. Every time I upgraded SqlDeveloper I was forced to reintroduce my connection again. Is it possible to avoid that time vastating procedure ? Tks Tullio

  • Need help with touchpad Apoint2k - program is not verified

    hi, my problem is when overtimes iam start the windows, the touch pad Apoint2k appears 3 times saying the program is not verified. do you want start the program. It's just irritating me..