Cannot seem to Extend ???

Hie there , people ! I have 2 Beans to use, from which I use the 'extends' keyword to link empQBean.java to sqlBean.java. However, I get the following error message. Can someone please help ?
ERROR MESSAGE
empQBean.java:6: cannot resolve symbol
symbol : class sqlBean
location: class mybeans.empQBean
public class empQBean extends sqlBean{
^
empQBean.java:24: cannot resolve symbol
symbol : variable myConn
location: class mybeans.empQBean
stmt = myConn.createStatement();
^
2 errors
/* empQBean.java */
package mybeans;
import java.lang.*;
import java.sql.*;
import java.io.*;
public class empQBean extends sqlBean{
ResultSet rset = null;
Statement stmt = null;
public empQBean() {
super();
public boolean getNextLot() throws Exception {
return rset.next();
...BLA BLA
/* sqlBean.java */
package mybeans;
import java.sql.*;
import java.io.*;
import java.lang.*;
import java.text.*;
public abstract class sqlBean {
private String myDriver = "oracle.jdbc.driver.OracleDriver()";
private String myURL = "jdbc:oracle:thin:@klmomnidb:1521:OMNIDB";
private String username = "omni";
private String passwd = "omni";
Connection myConn; // Should be type Protected
public sqlBean() {}
public void makeConnection() throws Exception {
Class.forName(myDriver);
myConn = DriverManager.getConnection(myURL, username, passwd);
public abstract void cleanup() throws Exception;
public void takeDown() throws Exception {
cleanup();
myConn.close();
}

Rite Man ! I have modified the letters to conform. Though, I have each files in
(/export/home/opt/jakarta-tomcat-4.0.3/webapps/summary/dev/WEB-INF/classes/mybeans)
but I still get the error message :-
TIA
ERROR MESSAGE
EmpQBean.java:6: cannot resolve symbol
symbol : class SQLBean
location: class mybeans.EmpQBean
public class EmpQBean extends SQLBean{
^
EmpQBean.java:24: cannot resolve symbol
symbol : variable myConn
location: class mybeans.EmpQBean
stmt = myConn.createStatement();
^
2 errors

Similar Messages

  • I have photoshop CS5 Extended problem comes when I try to install it as I cannot seem to find an unzip program that will do it

    I have photoshop CS5 Extended but my motherboard flashed over so I have now purchased a new computer and of course wish to download another copy, I have my Serial No from my account and I have downloaded a new copy of the program, the problem comes when I try to install it as I cannot seem to find an unzip program that will do it as they are asking for file names etc which of course I don't have until I unpack it !! can anybody please advise what program will unzip this automatically bearing in mind there are two files with the download. Or is there a way that I can download without having to unzip?
    Thanking you for your help.

    download both the exe and 7z, put both in the same directory and click the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I have two email accounts that are set up on the same iPad.  I cannot seem to see, read or send email from the second account

    I just set up a second email account on the same iPad but cannot seem to see, read or send email from the second account. 

    I'm using Windows 8 (not 8.1) and whatever the latest Thunderbird version is. They're both IMAP accounts. I was using Windows Live, but I couldn't get that to work, so I switched to TB. It works JUST fine for the one account, but not the other! They're identical except for the "handle". Both off my local ISP, set them up at the same time.

  • Using the mini hdmi cord to connect the macbook air and my tv I cannot seem to have anything appear or be heard on my tv.. the MacBook air will flash blue like it is connecting but nothing will seem to work Any advice?

    Using the mini hdmi cord to connect the macbook air and my tv I cannot seem to have anything appear or be heard on my tv.. the MacBook air will flash blue like it is connecting but nothing will seem to work Any advice?

    Hi kxh3011,
    Thank you for using Apple Support Communities.
    This feature is called closed clamshell mode.  To learn more about using closed clamshell mode with an external display and how to set it up, please take a look at the article below.
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    Cheers,
    Alex H.

  • HT2357 So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    Fantastic!  Didn't work at first so restarted App store and tried again.  This time it asked 'ignore update'.  All gone!

  • Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running google maps app on the phone. Siri cannot seem to get me to a specific address. Where does the problem lie? Thanks.

    Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running Google Maps app on the phone. SIRI cannot seem to get me to a specific address. Where does the problem lie? Also can anyone tell me the hierarchy of use between the Apple Maps, SIRI, and Google maps when the app is on the phone? How do you choose one over the other as the default map usage? Or better still how do you suppress SIRI from using the Apple maps app when requesting a "go to"?
    I have placed an address location into the CONTACTS list and when I ask SIRI to "take me there" it found a TOTALLY different location in the metro area with the same street name. I have included the address, the quadrant, (NE) and the ZIP code into the CONTACTS list. As it turns out, no amount of canceling the trip or relocating the address in the CONTACTS list line would prevent SIRI from taking me to this bogus location. FINALLY I typed in Northeast for NE in the CONTACTS list (NE being the accepted method of defining the USPS location quadrant) , canceled the current map route and it finally found the correct address. This problem would normally not demand such a response from me to have it fixed but the address is one of a hospital in the center of town and this hospital HAS a branch location in a similar part of town (NOT the original address SIRI was trying to take me to). This screw up could be dangerous if not catastrophic to someone who was looking for a hospital location fast and did not know of these two similar locations. After all the whole POINT of directions is not just whimsical pasttime or convenience. In a pinch people need to rely on this function. OR, are my expectations set too high? 
    How does the iPhone select between one app or the other (Apple Maps or Gppgle Maps) as it relates to SIRI finding and showing a map route?  
    Why does SIRI return an address that is NOT the correct address nor is the returned location in the requested ZIP code?
    Is there a known bug in the CONTACTS list that demands the USPS quadrant ID be spelled out, as opposed to abreviated, to permit SIRI to do its routing?
    Thanks for any clarification on these matters.

    siri will only use apple maps, this cannot be changed. you could try google voice in the google app.

  • Hi, I cannot restart or shut down my MAC and get the message Geneio.it installer is cancelling your request. Please shut down and retry. However, I cannot seem to exit that application and I have no idea where it came from. Thanks

    Hi, I cannot restart or shut down my MAC and get the message Geneio.it installer is cancelling your request. Please shut down and retry. However, I cannot seem to exit that application and I have no idea where it came from. Thanks
    Could this be a virus?

    Hold down the Power button until the computer shuts down.
    The Safe Mac » Adware Removal Guide - Genieo
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • I have lost one of my devices (ipad2) and i cannot seem to find it on my findmyiphone app. all other devices show up except for this one. is there something i can do?

    i cannot seem to actively see/locate my ipad2 on my findmyiphone app. is there a way i can find it using the serial # of my device

    If the iPad was running iOS 7, the thief/finder will not ever be able to use it.
    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    Apple (and no one else) can not assist (with serial number or iCloud) in finding a lost or stolen iPad.
    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668
    iCloud: Locate your device on a map
    http://support.apple.com/kb/PH2698
    iCloud: Lost Mode - Lock and Trace
    http://support.apple.com/kb/PH2700
    iCloud: Remotely Erase your device
    http://support.apple.com/kb/PH2701
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    What NOT to do if your iPhone or iPad is lost or stolen
    http://www.tomahaiku.com/what-not-to-do-if-your-iphone-or-ipad-lost-or-stolen/
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    http://support.apple.com/kb/HT4061
     Cheers, Tom

  • Is it possible to downland itunes 10.6.3  I  have an old Macbook pro with OSX 10.5.8 and lost my itunes and cannot seem to download a version compatible with the computer

    is it possible to downland itunes 10.6.3  I  have an old Macbook pro with OSX 10.5.8 and lost my itunes and cannot seem to download a version compatible with the computer?

    Click here.
    (69952)

  • My old email address was hacked and I am no longer able to access it. How can i reset my icloud ID without losing all of my pictures and more inportantly contacts? I have created a new ID but i cannot seem to use it until I delete the old account

    my old email address was hacked and I am no longer able to access it. How can i reset my icloud ID without losing all of my pictures and more importantly contacts? I have created a new ID but i cannot seem to use it until I delete the old account

    You need to use the old ID and password to delete the iCloud account. After you delete the old account, you can sign in with the new ID in iCloud.
    Have you seen this.
    http://support.apple.com/kb/HT5796
    iCloud
    iOS 6 and later: Go to Settings > iCloud.
    If you signed out before changing your Apple ID, enter your current Apple ID to sign in. The data from your iCloud account will download to your device.
    If you're still signed in with your previous Apple ID:
    Scroll down and tap Delete Account. Depending on what iCloud options are turned on, you'll be asked to confirm that you want to delete data from your device. To confirm, tap Delete. (If you're using iOS 7 and have Find My iPhone turned on, you'll be asked to enter the password for your previous Apple ID. Enter the password, then tap Turn Off.) The data will be deleted from your device, but not from iCloud.
    Enter your current Apple ID to sign in. The data from your iCloud account will download again to your device.

  • I downloaded and paid for an app on my ipad, how can I get it free on my iphone without using itunes as my laytop is broken. I cannot seem to find the purchase tab in app store? I am logged in using the same ID

    I downloaded and paid for an app on my ipad, how can I get it free on my iphone without using itunes as my laytop is broken. I cannot seem to find the purchase tab in app store? I am logged in using the same ID

    First, the app must be universal...designed for both iPhone/iPad:
    Tap App Store.
    Make sure you're signed in with the same Apple ID used for the original purchase.
    Tap Updates.
    Tap Purchased on the resulting screen.
    Locate the app in your Purchased tab.
    Tap the download icon.
    The app will begin downloading and you'll be taken back to your home screen.

  • Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    You cannot use iCloud Storage to suppliment your iPad. They are mainly used to backup iPad.
    Free up space on iPad
    Settings>General>Usage>Storage>Delete what is not needed to free up space on iPad.

  • I have made a calendar in iCal on my MacBook Pro, but I cannot seem to find out how I can 'download' that same calendar on my iPhone and iPad. Does anyone know how to do this? Thanks in advance.

    I have made a calendar in iCal on my MacBook Pro, but I cannot seem to find out how I can 'download' that same calendar on my iPhone and iPad. Does anyone know how to do this? Thanks in advance.

    I have made a calendar in iCal on my MacBook Pro, but I cannot seem to find out how I can 'download' that same calendar on my iPhone and iPad. Does anyone know how to do this? Thanks in advance.

  • In the old Numbers I could change the colour of a checkbox using rules - I cannot seem to do this in new Numbers 2013?

    In the old Numbers I could change the colour of a checkbox using rules - I cannot seem to do this in new Numbers 2013?
    I have an old Numbers sheet where I could make the checkbox Cell go Green when ticking "Equal to" TRUE. When I open the old sheet it into new iWork it functions correctly. But I am unable to copy or paste the rule - nor recreate it.
    Any suggestions on how to create a Conditional checkbox cell that goes green once ticked would be most apprecicated.
    Thanks - Steve

    Numbers 3.0 is missing the logic-based "equal to TRUE" or "equal to FALSE" conditions for conditional formatting.  The replacement is text based: "text is TRUE" or "text is FALSE".  You can apply these rules to cells formatted as checkboxes.

  • NOOB Question - Cannot seem to get the output in a text or CSV file - Please help!!

    I was able to put together a script which finds members of a certain AD group, filters down the users, and then calculates the number of days till a password reset is needed.  I am able to get on screen exactly what i am looking for, but cannot seem
    to figure out how to get the same data to a file.  What i am doing wrong?  two goals here:
    1.  Create a spreadsheet with a list of users whose password is about to expire.
    2.  Down the line automate an email to users whose password is about to expire. 
    Here is my code:
    ## Get List Of Users in Password Change Lockout that do not have an expired password or a password that never expires
    $Names = (Get-ADGroupMember -Identity "Password Change Lockout" -Recursive |`
    Get-ADUser -Properties * |`
    Where-Object {$_.PasswordNeverExpires -eq $False -and $_.PasswordExpired -eq $False} |`
    Sort-Object name |Select-Object -ExpandProperty SamAccountName)
    ## Get Password last Set values for all
    Foreach ($Name in $Names)
    $VAR1 = (Get-ADUserResultantPasswordPolicy -Identity $Name).MaxPasswordAge
    $VAR2 = (Get-ADUser $Name -Properties *).passwordlastset
    $VAR3 = (Get-ADUser $Name -Properties *).name
    $DTPC = (New-TimeSpan -Start (Get-Date) -End ($VAR2 + $VAR1) | Select-Object -ExpandProperty Days)
    Filter users to those who need to change thier password in 15 days.
    If ($DTPC -lt 15)
    No matter what i try between the {} after the If statement, I cannot get the output to a file.  However, if I use a Write-Output I get exactly what i looking for.  I feel like i am forgetting some basic concept and could really use some help.  Thanks.
    Matt 
    Matt Dillon

    Hi Matt,
    I generally create an empty array (something like $out = @()) at the top of the script and then use $out += $desiredOutput inside of the foreach loop.
    Outside of the loop, you can then pipe $out to Out-File or Export-Csv, depending on your needs.
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

Maybe you are looking for