Help JDeveloper cannot find package

Hi,
I am using JDeveloper 9.0.3.4.
In the project settings -->Configurations -->Development --> Libraries, I add JSP Runtime, J2EE, Servlet Runtime. But When I tried to rebuild my project, I got errors like:
(1) package javax.servlet.jsp does not exist;
(2) cannot resolve symbol on import javax.servlet.http.HttpServletRequest;
(3)javax.servlet.http.HttpServletRequest is not public in javax.servlet.http; cannot be accessed from outside package.
Can you help?
Many thanks,

Add lib/j2ee.jar from the J2sdkee installation in the project Classpath with Paths>Additional Paths in the project properties frame.

Similar Messages

  • I actually need help but cannot find the answer. Please.......Lately when open a new tab it does not open with a blank page. I don't want to set my homepage as

    I actually need help but cannot find the answer.
    Please.......Lately when open a new tab it does not open with a blank page. I don't want to set my homepage as blank as when I first open Firefox, it automatically loads my hotmail page. But then if I open other pages I don't get a blank page. Help, please?
    Thank you.
    ''[Personal information removed by moderator. Please read [[Forum and chat rules and guidelines]], thanks.]''

    hello, please refer to [[New Tab Page – show, hide and customize top sites]] in order to switch the feature off.

  • Why is my ipad doesnt have a software update?please help,i cannot find it.. :(

    why is my ipad doesnt have a software update?please help,i cannot find it..

    The ipad 1 (no camera) can't be updated beyond IOS 5.1.1.

  • Cannot find package/class symbol

    hello. i'm using netveans for the first time. i have a java application with 2 classes... pb.java with public class pb int package svr and cl.java with public class cl in package cli
    that is..
    file class package
    pb pb svr
    cl cl cli
    pb.java compiles properly cl.java gioves error.
    the error is in the following lines of code...
    pb obj1 = new pb();
            pb obj2 = new pb();i'm trying to make an object fo type pb from cl.java. the error i get is...
    cannot find symbol
    class pb
    location cli.cl
    i alse tried puttin svr.pb instead of pb but no use.
    the entire cose is as follows...
    pb.java
    * pb.java
    * Created on December 4, 2006, 8:56 AM
    package svr;
    public class pb
        private double balance;
        private double []lt = new double [10];
        private int i=9;
        public void deposit(double amt)
            if(amt<=0)
                System.out.println("Enter amount greater than 0");
            else
                balance=balance+amt;
                if(i>=0)
                    lt=amt;
    else
    for(int j=9;j>=0;j--)
    lt[i]=lt[i-1];
    lt[0]=amt;
    public void withdraw(double amt)
    if(amt<=0)
    System.out.println("Enter amount greater than 0");
    else
    if(amt>balance)
    System.out.println("Balance lower than amount entered");
    else
    balance=balance-amt;
    if(i>=0)
    lt[i]=-amt;
    else
    for(int j=9;j>=0;j--)
    lt[i]=lt[i-1];
    lt[0]=-amt;
    public void bal()
    System.out.println("Balance: "+balance);
    public void lts()
    System.out.println("Last 10 Transactions");
    for(int j=i;j>10;j++)
    System.out.println(lt[j]);
    public void statement()
    lts();
    bal();
    cl.java
    * cl.java
    * Created on December 4, 2006, 8:58 AM
    package cli;
    class cl
        public static void main(String[] args)
            pb obj1 = new pb();
            pb obj2 = new pb();
            obj1.deposit(100.50);
            obj1.statement();
            obj2.deposit(200.75);
            obj2.statement();
            obj1.withdraw(25.50);
            obj1.statement();
            obj2.withdraw(100.25);
            obj2.statement();

    For a beginner these tools are worst, because they
    hide all the stuff a programmer needs to know to find
    his way around Java. They should spend a few weeks
    with the command line and a good text editor before
    switching.
    Just because an IDE does something for you, it
    doesn't mean you don't need to kno wwhat it does.
    Unless you volunteer to handle all "how do I do X in
    Netbeans/Eclipse/Whatever", JAR and classpath
    questions posted here by newbies yourself.I suppose I can agree with that to some extent. I wouldn't suggest to anyone that they just blindly trust whatever code the IDE inserts automatically.
    But there's nothing wrong about learning by example. The IDE is willing to teach proper syntax, and eclipse will give suggestions about capitalizing class names and making constants all-caps.
    There are things that frustrate new programmers where an IDE will be helpful, especially if the entire API is uncharted territory.

  • New to JDeveloper - cannot find the configuration file

    Hello,
    I'm new to JDeveloper and have been following a couple of the tutorials on OTN. I have just been through one called Business Components Programmatic Client Tutorial which attempts to teach you how to create a batch client for some customer orders. I've got a workspace with two projects. One holds the business components and the other holds a Java application. Basically, when I try to run it, I get the following errors :
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrder/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:951)
         at bcbatch.Batch.main(Batch.java:21)
    Exception in thread "main"
    Process exited with exit code 1.
    I know that the createRootApplicationModule procedure is trying to instanciate an an application module of the type specified and the configuration file exists at :
    E:\JDeveloper\jdev\mywork\bcbatch\OnlineOrder\src\OnlineOrder\common\bc4j.xcfg
    My classpath is set to :
    E:\<Oracle_home>\jdev\mywork\bcbatch\OnlineOrder\src
    so its hard to see why it can't find \OnlineOrder\common\bc4j.xcfg from there.
    Any help would be greatly appreciated.
    Regards,
    Joe

    Make sure your bc4j application project is compiled. To verify see that the .xcfg file exists in the classpath of the "client-project" / outpath of the Bc4j project.

  • [SOLVED] Cannot find package "flashplugin" or "archey".

    [EDIT - yaourt and archey now installed, thanks]
    I am running Arch 2.6.34 with GNOME desktop. When I type the command sudo pacman -S flashplugin or sudo pacman -S archey it tells me that it cannot find the package.
    I had this problem previously when I was trying arch in a VM, and I couldn't figure out what I had missed. I have everything else properly installed and working fine, it's just these two packages I've come across that I cannot locate. I'm guessing there's probably more packages that I just haven't run into yet that wouldn't work either.
    Last edited by Socialsymbol (2010-06-29 23:00:00)

    Shazzam6999 wrote:
    That's because archey is in the AUR. You can use yaourt to install packages from the aur similar to how you're trying, read the wikis and check it out.
    http://wiki.archlinux.org/index.php/Arc … Repository
    http://wiki.archlinux.org/index.php/Yaourt
    Ok, thanks, I had forgotten about that.
    When do they suspect they'll fix the flashplugin bug/vulnerability? And what is recommended to do until then as far as flash playback goes?
    Last edited by Socialsymbol (2010-06-29 22:51:14)

  • Please help. Cannot find symbol Error!

    I have been working on this code for days now. It keeps coming up with errors. The error says cannot find symbol. I will bold the areas that say that. I got it down to 23 from 42 but now I have no idea what the problem is. any help is greatly appreciated!! I only added a couple of them mainly because it is overwhelming. I can add the rest of someone replies. Thank you again. Oh and the Classpath is set right. I am compiling from the desktop where I have the file also. That was the first thing I checked after reading other threads related to this issue. :O)
    import javax.swing.*;
    import java.awt.event.*;
    public class InventoryPart4 extends JFrame
         private JTextArea text;
         private Inventory inv;
         private int view;
         public InventoryPart4() {
              super("Product");
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // quit if the window is closed
              view = 0; // current one showing
              Product product;
              inv = new Inventory(4);
              product = new Product(1, "Salad", 3, 4.95); here
              inv.add(product, 0);
    product = new Product(2, "Dressing", 6, 3.00); here          
    inv.add(product, 1);
    product = new Product(3, "Bacon Bits", 2, 1.75);*here*
              inv.add(product, 2);
    product = new Product(4, "Croutons", 1, 1.75); here
              inv.add(product, 3);
              // sort
              inv.sort();
              // output
              for (int i = 0; i < 4; i++) {
                   System.out.println(inv.get(i));
              // total val
              System.out.printf("Total=$%.2f", inv.totalValue());
              //gui
              JPanel panel = new JPanel();
              panel.setLayout(new BoxLayout(panel,BoxLayout.Y_AXIS));
              text = new JTextArea(10,50);
              text.setEditable(false);
              panel.add(text);
              showProduct();
              JButton next = new JButton("Next");
    here          next.addProduct(new Product() {
                   public void actionPerformed(ActionEvent e) {
                        if (view < inv.size()-1) view++;
                        else view = 0;
                        showProduct();
              panel.add(next);
              getContentPane().add(panel);
         // view an item
         public void showProduct() {
              text.setText("Product Details:\n");
              text.append(inv.get(view).toString()+"\n");
              text.append(String.format
                        ("Value of all the Contents: $%.2f", inv.totalValue()));
         public static void main(String args [])
              InventoryPart4 invt = new InventoryPart4();
              invt.pack();
              invt.setVisible(true);
         } //end main
    } // end class InventoryPart1
    class Product {
    private int ProductItem;
    private int ProductStock;
    private double ProductPrice;
    public Product(int item, int stock, double price) {
    ProductItem = item;
    ProductStock = stock;
    ProductPrice = price;
    } //end three-argument constructor
    // set Product Item
    public void setProductItem(int item) {
    ProductItem = item; here
    } //end method set Product Item
    //return Product Item
    public int getsProductItem() {
    return productItem;
    } //end method get product Item
    //set Product Stock
    public void setProductStock(int stock) {
    productStock = stock;
    } //end method set Product Stock
    //return Product Stock
    public int getProductStock() {
    return productStock;
    } //end method get Product Stock
    public void setProductPrice(double price) {
    productPrice = price;
    } //end method setproductPrice
    //return Product Price
    public double getProductPrice() {
    return ProductPrice;
    } //end method get Product Price
    //calculate inventory value
    public double value() {
    return productPrice * productStock;
    }// end method get productPrice and productStock
    @Override
    public String toString() {
    return String.format("item=%3d units=%d price=%.2f value=%.2f",
    productItem, productStock, productPrice, value());
    }//end class Product
    class Inventory {
         private Product[] list;
         // constructor
         public Inventory(int size) {
              list = new Product[size];
         // complete value
         public double totalValue() {
              double val = 0.0;
              for (int i = 0; i < list.length; i++) {
                   val += list.value();
              return val;
         // add an item
         public void add(Product i, int p) {
              list[p] = i;
         // get an item
         public Product get(int i) {
              return list[i];
         // sort by name
         public void sort() {
              // bubble sort
              int n = list.length;
              for (int search = 1; search < n; search++) {
                   for (int i = 0; i < n-search; i++) {
                        if (list[i].getProductItem().compareToIgnoreCase(list[i+1].getProductItem()) > 0) {
                             // swap
                             Product temp = list[i];
                             list[i] = list[i+1];
                             list[i+1] = temp;
         public int size() {
              return list.length;
    //extended class
    class Contents extends Product {
         private String Contents;
         // constructor
         public Contents(int item, String name, int units, double price) {
              super(item,name,units, price);
              this.contents = contents;
         // getter
         public String getContents() {
              return Contents;
         // total value with the 5% fee
         public double value() {
              return super.value()*1.05;
         // just the 5% fee
         public double fee() {
              return super.value()*0.05;
         // setter
         public void setContents(String contents) {
              this.contents = contents;
         public String toString()
              return super.toString() + String.format(" fee=%.2f contents=%-20s",
                        fee(), contents);

    The error says cannot find symbol.It says more than that. It says what symbol it cannot find, and it points to the line of code where the symbol was used.
              product = new Product(1, "Salad", 3, 4.95); *here*So it can't find a class called Product with an accessible constructor Product(int, String, int, double).
    product = new Product(2, "Dressing", 6, 3.00); *here*          
    inv.add(product, 1);
    product = new Product(3, "Bacon Bits", 2, 1.75);*here*
              inv.add(product, 2);
    product = new Product(4, "Croutons", 1, 1.75); *here*
              inv.add(product, 3);Ditto.
              JButton next = new JButton("Next");
    *here*          next.addProduct(new Product() {JButton doesn't have an addProduct() method.
    public Product(int item, int stock, double price) {This constructor doesn't match the constructor you are calling above, and there are no other constructors.
    ProductItem = item; *here*You must have a typo. But don't use inital capitals on field names: use them only on class names.
    return productItem;Here is evidence that you have a typo. Java is case-sensitive. Either the field is caled 'ProductItem' or it is called 'productItem', not both.
              // bubble sortDo you have to do this for the homework? Bubble sort is never used in real code except by people who don't know what they're talking about. Use Collections.sort().
              super(item,name,units, price);You should be getting a compile error here too. Ther is no such constructor for Product.
              return Contents;And here.

  • Please help with cannot find symbol error. Been struggling all day :(

    Hi all. :)
    Writing a game for my phone with KToolbar and have been getting a cannot find symbol error for every variable and method I try to use across Classes. I've looked all over and though it seems a common problem I always either don't understand or can't get working the various solutions. Example of my errors:
    C:\...\BTK800i.java:197: cannot find symbol
    symbol : variable youSayWhat
    location: class HelloCanvas
              youSayWhat=key;
              ^
    If I try BTK800i.variable or BTK800i.message I get a new error.
    C:\...\src\BTK800i.java:184: non-static method newOrdersSarge() cannot be referenced from a static context
              BTK800i.newOrdersSarge();
              ^
    Both these errors apply to both variables and methods. It only happens when I'm using methods/variables of one class in another, am I using public and private incorrectly? It doesn't seem to make a difference if I make variables public or leave them private, I'm trying to get to them with a public method within a private class. Is it something else? I really have no idea. :(
    Here's my code, it's long enough to be a tiresome read so I've tried to skip what I know isn't relevant.
    public class BTK800i extends MIDlet {
         private Display myDisplay;
         private HelloCanvas myCanvas;
         public int youSayWhat;
            //a whole bunch more skipped here, but I'm fairly certain it's not anything that'll help find a solution
         public BTK800i() {
              paused=false;
    public void startApp() throws MIDletStateChangeException {
              if( paused ) {
                   myCanvas.repaint();
              else {
                   myDisplay=Display.getDisplay(this);
                   myCanvas=new HelloCanvas();
                   myDisplay.setCurrent(myCanvas);
                   myCanvas.setFullScreenMode(true);
                   youSayWhat=0;
                           //again with the skipping, more code not related
    public void newOrdersSarge() {
    //whole bunch of code
    //other methods skipped
    class HelloCanvas extends Canvas {
         public void keyPressed (int key) {
              youSayWhat=key;
              repaint ();
    //skippage
    }The stuff I skipped is mainly either more of the same sorta thing or maths/writing to screen stuff.
    Thanks alot to anyone who helps. I'm really struggling with this. :(
    Dan.

    But I have been reading them :(
    My next-door neighbour unfortunately is an 80-something married man, but I will go have a looksie about static and instances.
    I thought the point of public variables was that other classes could use them, is this wrong?
    Also does this mean that to use the variables from my BTK class in the HelloCanvas class I need to first instantiate BTK? I don't understand how that works as the code starts running from the BTK class in the first place :S I guess more reading will help with this.
    Thanks very much for replying. :)
    Edit:
    OK I have read up on it but I don't think I found anything I hadn't read before. I tried to make a new class which I could instantiate to hold all the variables and methods I wanted everything to be able to access, but that went disastrously. Am I right in understanding that there are no global variables in Java? :s
    Edited by: Dan69 on Apr 17, 2010 1:15 PM

  • Help with 'cannot find symbol' error

    Ive written the following code. It is an excerpt from my entire class.
    When I try to compile the code I get the error:-
    cannot find symbol
    Symbol: variable playerRun1
    location: this class
    public void analysePlayerMove()
              if (playerGo == true)
                   if (playerMove.getComponentCount() == 0)
                        JOptionPane.showMessageDialog(this, "You Have Not Made A Move", "Empty Move", JOptionPane.ERROR_MESSAGE);
                   else
                        if (areTherePickUps == false)
                             for (int j=0; j<playerMove.getComponentCount(); j++)
                                  //reversing the players hand, because what is displayed on the GUI is reversed
                                  Component[] playerRun = playerMove.getComponentsInLayer(playerMove.DEFAULT_LAYER);
                                  Component[] playerRun1 = new Component[playerRun.length];
                                  int reverse = playerRun.length-1;
                                  for (int k=0; k<playerRun.length; k++)
                                       playerRun1[k] = playerRun[reverse];
                                       reverse--;
                             if (acePlayed == true && playerRun1.length == 1)
                                  if (playerRun1[0] != acePlayedSuit)
                                       JOptionPane.showMessageDialog(this, "Your Move Is Not Valid", "Invalid Move", JOptionPane.ERROR_MESSAGE);
                                  else
                                       //remove the cards from the players move hand and add them to the bottom of the shredded deck
         }I dont understand why I am getting this error, I clearly define the variable.

    Yes, but the variable is declared inside a block and so it's local to that block. You can't use it outside its scope, which is the block in which you declared it. Re-read the section of your book about variable scope.

  • HELP: ClassLoader cannot find .class file

    Hi,everybody:
    I'm working on a project of auto-testing, and need the java.lang.ClassLoader to load the to-be-tested java file.
    It can be simply described as the following code:
    public class tt {
    public static void main(String[] args) throws Exception{
    Class testClass;
    String testClassName="TestExample";
    String path = System.getProperty("java.io.tmpdir");
    URL[] urls = {new URL("file://" + path )};
    ClassLoader testCaseLoader = new URLClassLoader(urls);
    testClass = testCaseLoader.loadClass(testClassName);
    The process is that, put the to-be-tested file to a certain directory, compile it, and finally load it. For example, in the above code, i want to load the class "TestExample".
    But it always report the exception: java.lang.ClassNotFoundException: TestExample .
    Note, cannot put the to-be-loaded .class file in the same directory with the loading-code, or the loading-code will defaultly find the to-be-loaded .class file , and there would be no exception.
    I use jdk6.
    I really cannot figure out the problem. Could anyone help me? Thanks a lot.

    MyCoy wrote:
    To malcolmmc:
    thanks. but what is FQN ?
    Fully Qualified Name
    That is, the class name including the package name. Eg java.lang.Object

  • Spatial -- Eclipselink -- Production JDeveloper cannot find JGeometry

    We've developed an application using the Eclipselink spatial extensions developed by Doug Clarke's team and we're in the process of porting our applications to the Production JDeveloper release, WebLogic, and Eclipselink. We're failing when we add the first
    @StructConverter(name = "JGeometry", converter = "org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter") to a bean.with the following error message when we create the first EntityManager.
    ]] Root cause of ServletException.
    java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
         at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)
         at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)
         Truncated. see log file for complete stacktrace sdoapi.jar is in the applications WEB-INF/lib/ folder but I assume that this is the same problem that we had using OC4J that was cured by copying sdoapi.jar into the %JDEV_HOME%\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\ folder.
    What is the analogous folder in the Production JDeveloper?
    Mark

    Michael:
    Still not working. There must be something in your configuration that is finding the sdoapi.jar that is not in mine.
    The following is what I have set up now and I'm still getting the classNotFound exception
    I copied the sdoapi.jar file to these locations
    C:\oracle\Middleware>dir/s sdoapi.jar
    Directory of C:\oracle\Middleware\jdeveloper\modules
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\modules
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\patch_wls1030\patch_jars
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
    Directory of C:\oracle\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytesStill didn't work so then I set SPATIAL_LIB and WEBLOGIC_HOME in my environment variables and rebooted
    C:\>set
    SPATIAL_LIB=C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\sdoapi.jar
    WEBLOGIC_HOME=C:\oracle\Middleware\
    ... in addition to all my other environment variables
    C:\>cd %WEBLOGIC_HOME%
    C:\oracle\Middleware>
    C:\oracle\Middleware>dir %SPATIAL_LIB%
    Directory of C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1
    09/07/2007  11:18 AM           108,281 sdoapi.jar
                   1 File(s)        108,281 bytes
                   0 Dir(s)  100,777,361,408 bytes freeand Finally I tried specifying SPATIAL_LIB and WEBLOGIC_HOME in the .product.properites files
    SPATIAL_LIB=C\:\\oracle\\Middleware\\jdeveloper\\modules\\oracle.toplink_11.1.1\\sdoapi.jar
    WEBLOGIC_HOME=C\:\\oracle\\Middleware\\I did this in the product.properties files found in %WEBLOGIC_HOME%\jdeveloper and %WEBLOGIC_HOME%\wlserver_10.3
    I did all of this incrementally stopping the WLS and shutting down JDeveloper between each trial.
    And I'm still getting
    Root cause of ServletException.
    java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
         at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)
         at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: oracle.spatial.geometry.JGeometry
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         Truncated. see log file for complete stacktraceMy current work-around of modifying the eclipselink.jar to include the oracle.spatial.geometry package is simply not a keeper, so I'd really like to get to the bottom of this one.
    Thanks for your help. Mark
    Edited by: mmillman on Feb 4, 2009 3:18 PM

  • HT1338 How to get rid of Apple Support Community notices, my box is full I receive thousand a day and I really cannot handle it.  Please help, I cannot find the notification tad in my "preferences"  I have Mac OS X 10.7.5.  Please help it is urgent

    How to get rid of Apple Support Community notices?  my box is full as I receive thousand of messages a day.  I cannot handle it anymore, please it is urgent.  Help!  I have Mac OS X 10.7.5 and unable to find the "notification tab" in my "preferences"  I need a image if possible to better understand.  Thanks a lot.

    Thank you, but I just  tried everything you said, my apple id account (icloud) continues and still is receiving the email from ASC each second.  My i phone and macpro (i cloud account) is full of messages that I have difficult to erase at once.  I have to do it one by one which can take me the whole day.  How can i unsucribe from ASC, just get ride of my account, I mean cancel the ASC account, so I will not get any messages.  Please help.  Thanks.

  • Sun One cannot find package ?

    hi to all,
    i am trying to run my web application from sun one studio 5 SE, to utilise the debugging functionality that i cant get working in intellij or jbuilder :( (intellij wont iinstall on 2003 server and jbuilder crashes when in debug mode )
    anyways my app works fine by all accounts but when i mounted the filesystem inside SOS and i try and compile i get the following
    login$jsp.java [6:1] package org.apache.jasper.runtime does not exist
    import org.apache.jasper.runtime.*;
    ^
    login$jsp.java [9:1] cannot resolve symbol
    symbol  : class HttpJspBase
    location: class org.apache.jsp.login$jsp
    public class login$jsp extends HttpJspBase {
                                   ^
    login$jsp.java [35:1] package org.apache.jasper.runtime does not exist
        public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
                                                                       ^
    login$jsp.java [86:1] cannot resolve symbol
    symbol  : method getClass ()
    location: class org.apache.jsp.login$jsp
                                auth = (xns.beans.Authenticator) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "xns.beans.Authenticator");
                                                                                              ^
    login$jsp.java [105:1] cannot resolve symbol
    symbol  : variable JspRuntimeLibrary
    location: class org.apache.jsp.login$jsp
                    JspRuntimeLibrary.introspect(pageContext.findAttribute("auth"), request);
                    ^
    login$jsp.java [145:1] cannot resolve symbol
    symbol  : variable JspRuntimeLibrary
    location: class org.apache.jsp.login$jsp
                    out.print(JspRuntimeLibrary.toString((((xns.beans.Authenticator)pageContext.findAttribute("auth")).getUsername())));
                              ^
    login$jsp.java [170:1] cannot resolve symbol
    symbol  : variable JspRuntimeLibrary
    location: class org.apache.jsp.login$jsp
                    out.print(JspRuntimeLibrary.toString((((xns.beans.Authenticator)pageContext.findAttribute("auth")).getError())));
                              ^
    7 errors
    Errors compiling login.this happens with both the default internal SOS server and a tomcat 4.1 installation i have on same machine.
    i also mounted the jars that are in the server/lib dir of the tomcat install (i thought the server would have already mounted them) but this didnt help either
    any ideas pls, i need to extend this application and cant do it without debugging
    kind regards
    g00fy

    Hi Guys
    I found the answer already...
    u have to put jsse.jar , jnet.jar , jcert.jar in jdk1.31./jre/lib/ext folder
    And set some provider in java.security
    while it was done automatically in jdk1.4.1

  • OWB11r2 data chunking: cannot find package DBMS_APPLY

    Hi,
    I'm trying the new data chunking feature of owb11r2. I got it running with serial strategy. But when I switch to parallel strategy, the mapping does not compile. It tries to call the package DBMS_APPLY, but that cannot be found:
    DBMS_APPLY.INITIALIZE(..);
    DBMS_APPLY.CHUNK_TABLE_BY_ROWID(..);
    Target db is 11r2.
    Any idea?
    Regards,
    Carsten.

    Hi Carsten
    There is a bug (9057172) logged for this. I have tried to workaround but couldn't find any mechanism.
    Cheers
    David

  • Cannot find package javax.servlet.*

    Hi All,
    I'm trying to run the "make all" in the Wrox J2ee bea book and am running in to errors that all seem to stem from the fact that the javax.servlet.* packages do not exist. After looking around it seems that this package should be in the weblogicaux.jar file. I do not have that jar file in my install. Anyone know where i can either get that weblogicaux.jar file or any file which has the javax.servlet packages. Any help would be much appreciated.
    Hoony
    weblogic 5.1.0

    That jar file should be located in %WebLogichome%\lib.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Hoony Youn" <[email protected]> wrote in message
    news:3a70280f$[email protected]..
    >
    Hi All,
    I'm trying to run the "make all" in the Wrox J2ee bea book and am runningin to errors that all seem to stem from the fact that the javax.servlet.*
    packages do not exist. After looking around it seems that this package
    should be in the weblogicaux.jar file. I do not have that jar file in my
    install. Anyone know where i can either get that weblogicaux.jar file or
    any file which has the javax.servlet packages. Any help would be much
    appreciated.
    >
    Hoony
    weblogic 5.1.0

Maybe you are looking for