Definition of base class _ not found

Hi there!
While exploring Flex 3 (really neat btw) and building my
first app, I tried the following:
public class X extends EventDispatcher {}
This gives me a compile time error #1017: The definition of
the base class EventDispatcher was not found.
To compile I am simply use a .bat file, such as those used in
the samples. Everything compiles normally without extending an
existing class (in this case flash.events.EventDispatcher).
Trying to change the compiler options with
-library-path+=c:\flex\framework\libs
resulted in the same error here (and I guess that's already a
default setting).
Any help would be greatly appreciated!
Fre

That worked :-). Thanks a lot, Deepa!
So apparently you can make import statements below the class
declaration (or anywhere in the code), but always before you are
using the imported class. I got confused, as in java all import
statements are in one place and the flash.net imports worked below
my class declaration.

Similar Messages

  • The definition of base class Application was not found.

    Hello:
    I have been coding in Flash Builder Burrito and publishing to my Xoom for a few weeks. All of a sudden at the end of the day I'm getting this compiler error which says:
    1017: The definition of base class Application was not found.    AppName.mxml    /AppName/src    Unknown    Flex Problem
    I sometimes hit the wrong key with I try to copy and paste and all of a sudden a new window will open for source of a default component which I never wanted to edit. I'm afraid I somehow deleted or modified the default class defnition of Application?
    I don't understand why this would come out of the blue, I was working on a function within a class that was drawing points  ... Then all off a sudden I'm getting this error and it's driving me nuts.
    I tried to reinstall FB Burrito on my Mac, but after all that work it still says the same thing. Wouldn't it replace the default class defs?
    Please help!

    Wow, some really strange behavior.
    OK, so here is what I'm going through. I reinstall, import the project and compiles.
    Then I uncomment the new section which contains the following code:
    lineStyle(1.0,0x8ea4bf);
    var line_commands:Vector.<int> = new Vector.<int>();
    line_commands.push(GraphicsPathCommand.LINE_TO, GraphicsPathCommand.LINE_TO, GraphicsPathCommand.LINE_TO, GraphicsPathCommand.LINE_TO);
    var line_coord:Vector.<Number> = new Vector.<Number>();
    line_coord.push(0,0, newW, angle, newW, (newH+angle), 0, newH);
    drawPath(line_commands, line_coord);
    I get 3 diffrent errors, which lead up to the error listed in the topic.
    At first it says that "int" isn't a valid type and it points to this line:
    var line_commands:Vector.<int> = new Vector.<int>();
    Then I take int out so the line looks like this:
    var line_commands:Vector = new Vector();
    Then it says I can't nest classes and it points to the main MXML. I go to the main MXML then the error switches to say "The definition of base class Application was not found.".
    I did figure out how to fix this with out reinstalling. I have to delete the project from my list (making sure to comment out the code above), then re-launch FB Burrito, then re-import the project and it works.
    This is way nuts! I dont understand ... am I crazy?

  • Definition of base class ByteArrayAsset was not found

    I was able to run through the developer guide to get several simple applications going, but I'm getting stuck when trying to compile a game (using amxmlc) that uses Flex-style embeds to embed bitmap graphics.
    The error I'm seeing is this: (I've included input for completeness. I am located inside the project directory.)
    ===
    > ../flex/bin/amxmlc -default-size 320 480 -library-path engine.swc -source-path+=.  -- scripts/Main.as
    Loading configuration file /Users/jon/Desktop/iphone/flex/frameworks/air-config.xml
    scripts/MyAssets_SceneList.as(10): col: 49 Error: The definition of base class ByteArrayAsset was not found.
    (Repeats 10 times)
    ===
    As directed in the guide, I downloaded the latest Flex SDK and dragged in the contents of the iPhone packager directory. And to reiterate, I was able to get several simple applications working on my iPad, so my setup should be correct.
    Where have I gone wrong?

    I've narrowed it down further. Emebds DO work, but it's particularly an embed that leads to a ByteArrayAsset that does not. In my case, I am embedding an XML file as an octet stream.
    Any ideas? Thanks!

  • Help - error: 1017: The definition of base class CairngormEvent was not found.

    Hi.
    I've inherited someone else's flex code.  I need to make a small change re-complie and re-deploy, but the IDE (flash builder 4) keeps telling me there's an error in one of the.as files.  Here's the details:
    = Error:
    1017: The definition of base class CairngormEvent was not found.   
    = Code:
    package actionScripts.events {
        import flash.events.Event;
        import com.adobe.cairngorm.control.CairngormEvent;
        public class CairngormGeneralEvent extends CairngormEvent {    
         [etc..]
    Any ideas?
    I'm using Flash Builder 4. Any help would be much appreciated.

    check if the Cairngorm.swc is in the libs folder

  • "Class Circle not found in TryBouncingBalls" error message. Help !

    Dear People,
    I have an error message :
    "TryBouncingBalls.java": Error : class Circle not found in class stan_bluej_ch5_p135.TryBouncingBalls at line 67, "
    Circle circle = new Circle(xPos + 130, 30);
    below are the classes TryBouncingBalls, BouncingBall, BallDemo, Canvas
    Thank you in advance
    Stan
    package stan_bluej_ch5_p135;
    import java.awt.*;
    import java.awt.geom.*;
    public class TryBouncingBalls
    public static void main(String[] args)
    Canvas myCanvas = new Canvas("Creativity at its best");
    myCanvas.setVisible(true);
    BouncingBall ball = new BouncingBall(50,50,16, Color.red, 500, myCanvas);
    BouncingBall ball2 = new BouncingBall(70,80,20, Color.green, 500, myCanvas);
    BouncingBall ball3 = new BouncingBall(90,100,16, Color.red, 500, myCanvas);
    BouncingBall ball4 = new BouncingBall(30,30,20, Color.green, 500, myCanvas);
    ball.draw();
    ball2.draw();
    ball.draw();
    ball2.draw();
    // make them bounce
    boolean finished = false;
    while(!finished) {
    myCanvas.wait(50); // small delay
    ball.move();
    ball2.move();
    ball3.move();
    ball4.move();
    // stop once ball has travelled a certain distance on x axis
    if(ball.getXPosition() >= 550 && ball2.getXPosition() >= 550)
    finished = true;
    myCanvas.setFont(new Font("helvetica", Font.BOLD, 14));
    myCanvas.setForegroundColor(Color.red);
    myCanvas.drawString("We are having fun, ...\n\n", 20, 30);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.black);
    myCanvas.drawString("...drawing lines...", 60, 60);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawLine(200, 20, 300, 50);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.blue);
    myCanvas.drawLine(220, 100, 370, 40);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.green);
    myCanvas.drawLine(290, 10, 320, 120);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawString("...and shapes!", 110, 90);
    myCanvas.setForegroundColor(Color.red);
    myCanvas.drawString("to bring to focus creative ideas !", 310, 290);
    // the shape to draw and move
    int xPos = 10;
    Rectangle rect = new Rectangle(xPos + 40, 150, 30, 20);
    Rectangle rect2 = new Rectangle(xPos + 80, 120, 50, 25);
    Rectangle rect3 = new Rectangle(xPos+ 1200, 180, 30, 30);
    Rectangle rect4 = new Rectangle(xPos + 150, 220, 40, 15);
    myCanvas.fill(rect);
    myCanvas.fill(rect2);
    myCanvas.fill(rect3);
    myCanvas.fill(rect4);
    Circle circle = new Circle(xPos + 130, 30);
    // Circle circle2 = new Circle(xPos + 150, 50);
    // Circle circle3 = new Circle(xPos + 170, 30);
    // Circle circle4 = new Circle(xPos + 200, 40);
    // myCanvas.fill(circle);
    // myCanvas.fill(circle2);
    // myCanvas.fill(circle3);
    // myCanvas.fill(circle4);
    // move the rectangle and circles across the screen
    for(int i = 0; i < 200; i ++) {
    myCanvas.fill(rect);
    myCanvas.fill(rect2);
    myCanvas.fill(rect3);
    myCanvas.fill(rect4);
    myCanvas.wait(10);
    myCanvas.erase(rect);
    myCanvas.erase(rect2);
    myCanvas.erase(rect3);
    myCanvas.erase(rect4);
    xPos++;
    rect.setLocation(xPos, 150);
    rect2.setLocation(xPos, 120);
    rect3.setLocation(xPos, 180);
    rect4.setLocation(xPos, 220);
    // at the end of the move, draw once more so that it remains visible
    myCanvas.fill(rect);
    myCanvas.fill(rect2);
    myCanvas.fill(rect3);
    myCanvas.fill(rect4);
    package stan_bluej_ch5_p135;
    import java.awt.*;
    import java.awt.geom.*;
    * Class BouncingBall - a graphical ball that observes the effect of gravity. The ball
    * has the ability to move. Details of movement are determined by the ball itself. It
    * will fall downwards, accelerating with time due to the effect of gravity, and bounce
    * upward again when hitting the ground.
    * This movement can be initiated by repeated calls to the "move" method.
    * @author Bruce Quig
    * @author Michael Kolling (mik)
    * @author David J. Barnes
    * @version 1.1 (23-Jan-2002)
    public class BouncingBall
    private static final int gravity = 3; // effect of gravity
    private int ballDegradation = 2;
    private Ellipse2D.Double circle;
    private Color color;
    private int diameter;
    private int xPosition;
    private int yPosition;
    private final int groundPosition; // y position of ground
    private Canvas canvas;
    private int ySpeed = 1; // initial downward speed
    * Constructor for objects of class BouncingBall
    * @param xPos the horizontal coordinate of the ball
    * @param yPos the vertical coordinate of the ball
    * @param ballDiameter the diameter (in pixels) of the ball
    * @param ballColor the color of the ball
    * @param groundPos the position of the ground (where the wall will bounce)
    * @param drawingCanvas the canvas to draw this ball on
    public BouncingBall(int xPos, int yPos, int ballDiameter, Color ballColor,
    int groundPos, Canvas drawingCanvas)
    xPosition = xPos;
    yPosition = yPos;
    color = ballColor;
    diameter = ballDiameter;
    groundPosition = groundPos;
    canvas = drawingCanvas;
    * Draw this ball at its current position onto the canvas.
    public void draw()
    canvas.setForegroundColor(color);
    canvas.fillCircle(xPosition, yPosition, diameter);
    * Erase this ball at its current position.
    public void erase()
    canvas.eraseCircle(xPosition, yPosition, diameter);
    * Move this ball according to its position and speed and redraw.
    public void move()
    // remove from canvas at the current position
    erase();
    // compute new position
    ySpeed += gravity;
    yPosition += ySpeed;
    xPosition +=2;
    // check if it has hit the ground
    if(yPosition >= (groundPosition - diameter) && ySpeed > 0) {
    yPosition = (int)(groundPosition - diameter);
    ySpeed = -ySpeed + ballDegradation;
    // draw again at new position
    draw();
    * return the horizontal position of this ball
    public int getXPosition()
    return xPosition;
    * return the vertical position of this ball
    public int getYPosition()
    return yPosition;
    package stan_bluej_ch5_p135;
    import java.awt.*;
    import java.awt.geom.*;
    * Class BallDemo - provides two short demonstrations showing how to use the
    * Canvas class.
    * @author Michael Kolling and David J. Barnes
    * @version 1.0 (23-Jan-2002)
    public class BallDemo
    private Canvas myCanvas;
    * Create a BallDemo object. Creates a fresh canvas and makes it visible.
    public BallDemo()
    myCanvas = new Canvas("Ball Demo", 600, 500);
    myCanvas.setVisible(true);
    * This method demonstrates some of the drawing operations that are
    * available on a Canvas object.
    public void drawDemo()
    myCanvas.setFont(new Font("helvetica", Font.BOLD, 14));
    myCanvas.setForegroundColor(Color.red);
    myCanvas.drawString("We can draw text, ...", 20, 30);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.black);
    myCanvas.drawString("...draw lines...", 60, 60);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawLine(200, 20, 300, 50);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.blue);
    myCanvas.drawLine(220, 100, 370, 40);
    myCanvas.wait(500);
    myCanvas.setForegroundColor(Color.green);
    myCanvas.drawLine(290, 10, 320, 120);
    myCanvas.wait(1000);
    myCanvas.setForegroundColor(Color.gray);
    myCanvas.drawString("...and shapes!", 110, 90);
    myCanvas.setForegroundColor(Color.red);
    // the shape to draw and move
    int xPos = 10;
    Rectangle rect = new Rectangle(xPos, 150, 30, 20);
    // move the rectangle across the screen
    for(int i = 0; i < 200; i ++) {
    myCanvas.fill(rect);
    myCanvas.wait(10);
    myCanvas.erase(rect);
    xPos++;
    rect.setLocation(xPos, 150);
    // at the end of the move, draw once more so that it remains visible
    myCanvas.fill(rect);
    * Simulates two bouncing balls
    public void bounce()
    int ground = 400; // position of the ground line
    myCanvas.setVisible(true);
    // draw the ground
    myCanvas.drawLine(50, ground, 550, ground);
    // crate and show the balls
    BouncingBall ball = new BouncingBall(50, 50, 16, Color.blue, ground, myCanvas);
    ball.draw();
    BouncingBall ball2 = new BouncingBall(70, 80, 20, Color.red, ground, myCanvas);
    ball2.draw();
    // make them bounce
    boolean finished = false;
    while(!finished) {
    myCanvas.wait(50); // small delay
    ball.move();
    ball2.move();
    // stop once ball has travelled a certain distance on x axis
    if(ball.getXPosition() >= 550 && ball2.getXPosition() >= 550)
    finished = true;
    ball.erase();
    ball2.erase();
    package stan_bluej_ch5_p135;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.*;
    * Class Canvas - a class to allow for simple graphical
    * drawing on a canvas.
    * @author Michael Kolling (mik)
    * @author Bruce Quig
    * @version 1.8 (23.01.2002)
    public class Canvas
    private JFrame frame;
    private CanvasPane canvas;
    private Graphics2D graphic;
    private Color backgroundColor;
    private Image canvasImage;
    * Create a Canvas with default height, width and background color
    * (300, 300, white).
    * @param title title to appear in Canvas Frame
    public Canvas(String title)
    this(title, 600, 600, Color.white);
    * Create a Canvas with default background color (white).
    * @param title title to appear in Canvas Frame
    * @param width the desired width for the canvas
    * @param height the desired height for the canvas
    public Canvas(String title, int width, int height)
    this(title, width, height, Color.white);
    * Create a Canvas.
    * @param title title to appear in Canvas Frame
    * @param width the desired width for the canvas
    * @param height the desired height for the canvas
    * @param bgClour the desired background color of the canvas
    public Canvas(String title, int width, int height, Color bgColor)
    frame = new JFrame();
    canvas = new CanvasPane();
    frame.setContentPane(canvas);
    frame.setTitle(title);
    canvas.setPreferredSize(new Dimension(width, height));
    backgroundColor = bgColor;
    frame.pack();
    * Set the canvas visibility and brings canvas to the front of screen
    * when made visible. This method can also be used to bring an already
    * visible canvas to the front of other windows.
    * @param visible boolean value representing the desired visibility of
    * the canvas (true or false)
    public void setVisible(boolean visible)
    if(graphic == null) {
    // first time: instantiate the offscreen image and fill it with
    // the background color
    Dimension size = canvas.getSize();
    canvasImage = canvas.createImage(size.width, size.height);
    graphic = (Graphics2D)canvasImage.getGraphics();
    graphic.setColor(backgroundColor);
    graphic.fillRect(0, 0, size.width, size.height);
    graphic.setColor(Color.black);
    frame.show();
    * Provide information on visibility of the Canvas.
    * @return true if canvas is visible, false otherwise
    public boolean isVisible()
    return frame.isVisible();
    * Draw the outline of a given shape onto the canvas.
    * @param shape the shape object to be drawn on the canvas
    public void draw(Shape shape)
    graphic.draw(shape);
    canvas.repaint();
    * Fill the internal dimensions of a given shape with the current
    * foreground color of the canvas.
    * @param shape the shape object to be filled
    public void fill(Shape shape)
    graphic.fill(shape);
    canvas.repaint();
    * Fill the internal dimensions of the given circle with the current
    * foreground color of the canvas.
    public void fillCircle(int xPos, int yPos, int diameter)
    Ellipse2D.Double circle = new Ellipse2D.Double(xPos, yPos, diameter, diameter);
    fill(circle);
    * Fill the internal dimensions of the given rectangle with the current
    * foreground color of the canvas. This is a convenience method. A similar
    * effect can be achieved with the "fill" method.
    public void fillRectangle(int xPos, int yPos, int width, int height)
    fill(new Rectangle(xPos, yPos, width, height));
    * Erase the whole canvas.
    public void erase()
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    Dimension size = canvas.getSize();
    graphic.fill(new Rectangle(0, 0, size.width, size.height));
    graphic.setColor(original);
    canvas.repaint();
    * Erase the internal dimensions of the given circle. This is a
    * convenience method. A similar effect can be achieved with
    * the "erase" method.
    public void eraseCircle(int xPos, int yPos, int diameter)
    Ellipse2D.Double circle = new Ellipse2D.Double(xPos, yPos, diameter, diameter);
    erase(circle);
    * Erase the internal dimensions of the given rectangle. This is a
    * convenience method. A similar effect can be achieved with
    * the "erase" method.
    public void eraseRectangle(int xPos, int yPos, int width, int height)
    erase(new Rectangle(xPos, yPos, width, height));
    * Erase a given shape's interior on the screen.
    * @param shape the shape object to be erased
    public void erase(Shape shape)
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    graphic.fill(shape); // erase by filling background color
    graphic.setColor(original);
    canvas.repaint();
    * Erases a given shape's outline on the screen.
    * @param shape the shape object to be erased
    public void eraseOutline(Shape shape)
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    graphic.draw(shape); // erase by drawing background color
    graphic.setColor(original);
    canvas.repaint();
    * Draws an image onto the canvas.
    * @param image the Image object to be displayed
    * @param x x co-ordinate for Image placement
    * @param y y co-ordinate for Image placement
    * @return returns boolean value representing whether the image was
    * completely loaded
    public boolean drawImage(Image image, int x, int y)
    boolean result = graphic.drawImage(image, x, y, null);
    canvas.repaint();
    return result;
    * Draws a String on the Canvas.
    * @param text the String to be displayed
    * @param x x co-ordinate for text placement
    * @param y y co-ordinate for text placement
    public void drawString(String text, int x, int y)
    graphic.drawString(text, x, y);
    canvas.repaint();
    * Erases a String on the Canvas.
    * @param text the String to be displayed
    * @param x x co-ordinate for text placement
    * @param y y co-ordinate for text placement
    public void eraseString(String text, int x, int y)
    Color original = graphic.getColor();
    graphic.setColor(backgroundColor);
    graphic.drawString(text, x, y);
    graphic.setColor(original);
    canvas.repaint();
    * Draws a line on the Canvas.
    * @param x1 x co-ordinate of start of line
    * @param y1 y co-ordinate of start of line
    * @param x2 x co-ordinate of end of line
    * @param y2 y co-ordinate of end of line
    public void drawLine(int x1, int y1, int x2, int y2)
    graphic.drawLine(x1, y1, x2, y2);
    canvas.repaint();
    * Sets the foreground color of the Canvas.
    * @param newColor the new color for the foreground of the Canvas
    public void setForegroundColor(Color blue)
    graphic.setColor(Color.blue);
    * Returns the current color of the foreground.
    * @return the color of the foreground of the Canvas
    public Color getForegroundColor()
    return graphic.getColor();
    * Sets the background color of the Canvas.
    * @param newColor the new color for the background of the Canvas
    public void setBackgroundColor(Color newColor)
    backgroundColor = newColor;
    graphic.setBackground(newColor);
    * Returns the current color of the background
    * @return the color of the background of the Canvas
    public Color getBackgroundColor()
    return backgroundColor;
    * changes the current Font used on the Canvas
    * @param newFont new font to be used for String output
    public void setFont(Font newFont)
    graphic.setFont(newFont);
    * Returns the current font of the canvas.
    * @return the font currently in use
    public Font getFont()
    return graphic.getFont();
    * Sets the size of the canvas.
    * @param width new width
    * @param height new height
    public void setSize(int width, int height)
    canvas.setPreferredSize(new Dimension(width, height));
    Image oldImage = canvasImage;
    canvasImage = canvas.createImage(width, height);
    graphic = (Graphics2D)canvasImage.getGraphics();
    graphic.drawImage(oldImage, 0, 0, null);
    frame.pack();
    * Returns the size of the canvas.
    * @return The current dimension of the canvas
    public Dimension getSize()
    return canvas.getSize();
    * Waits for a specified number of milliseconds before finishing.
    * This provides an easy way to specify a small delay which can be
    * used when producing animations.
    * @param milliseconds the number
    public void wait(int milliseconds)
    try
    Thread.sleep(milliseconds);
    catch (InterruptedException e)
    // ignoring exception at the moment
    * Nested class CanvasPane - the actual canvas component contained in the
    * Canvas frame. This is essentially a JPanel with added capability to
    * refresh the image drawn on it.
    private class CanvasPane extends JPanel
    public void paint(Graphics g)
    g.drawImage(canvasImage, 0, 0, null);

    Dear Miciuli,
    I found the definition for the circle in the canvas class and used it to creates circles ! Thank you for jaring my brain into thinking !
    Stan
    Ellipse2D.Double circle = new Ellipse2D.Double(xPos, 70, 30 , 30);

  • Overview of Leave --- CREATE OBJECT: The class  was not found., error key:

    Dear Gurus,
    Iam facing this problem that, when i try to open the Leave Overview from the leave request screen. it gives the dump with message
    CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE   
    this also creates a dump in the back end.
    The same dump is appearing when i try to view the Check Documents for the same employee from PTARQ.
    Thanks in advance
    Ramnath

    Hi ,
    please find the following solution .it will definitely work .
    If you leave configuration is done.
    There was an incorrect data in your system. To do these please follow following process.
    delete this request using
    PTARQ> Delete documents (RPTARQDBDEl)
    Please read the report documentation before
    deleting the request but it should be safe as it is
    a development system.
    Please delete this with the above information or delete all
    the records for the approver.
    After this,, there will be some incorrect workitem in approver inbox.
    You need to clear that also by Tcode - SWWL.
    ALSO check the leave request workflow of that employee and if there is any error workflow lying in the workflow delete the leave request (which was created with error) Note down the id initiater ( which had error) and in the Test Environment for Leave request (PTARQ) gave the PERNR and delete the documents ( give the id iniater in the document status ).
    To check the error work flow go to SWIA and check for that Workflow (Leave) raised by the PERNR at that duration ( check in IT2001 for the duration) and give it here.
    After deleting it check in the portal for the leave request if any error is occuring when trying to apply for leave.

  • Error in File name or class name not found during Automation operation: 'CreateObj​ect'

    Hello Team,
    When I am trying to execute the below code i am getting the following error. Any help would be greatly appreciated.
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    If Not oFSO.FolderExists(SavePath) Then
    Set f = oFSO.CreateFolder(SavePath)
    Else
    End If
    53 4/11/2014 12:27:22 PM Error:
    Error in <NoName(4).VBS> (Line: 9, Column: 1):
    File name or class name not found during Automation operation: 'CreateObject'
    I have googled through the error and tried to re-register the scrrun.dll using regsvr32 eventhogh it is successfully registered, i am getting the following error. My PC is windows 7 32bit OS.
    any help is greatly appreciated.

    The following script class will write a log file entry. See if it will run for you.
    The script is using a class object that you might not have seen before. A little intro:  The top section is just for testing the class. Normally I just comment this out after the class is working well.  It should run right way. I would save the vbs file in the editor, That way when you are using autoactpath or currentscriptpath variables they will be able resolve the paths.
    Paul
    Attachments:
    LoggingCode_V2.VBS ‏5 KB

  • Error in Installation--The Java class is not found: SDTGui

    I am in the process of instlaling SAP in AIX machine
    When i start the Startsapinst,  i am getting the following error .
    Pls hlep
    <b>The Java class is not found: SDTGui</b>

    I am using humming bird software
    i have set the display.
    Xclock is running
    Pls help

  • JDBC - Class Statement not found...

    Hi,
    I'm trying to access Oracle from Java. I typed the oracle supplied sample code JDBCExample. First round at compiling the Java code I was getting an error saying the OracleDriver class was not found. Setting the ClassPath and LD_LIBRARY_PATH environment vars fixed that. But now, I get a compiler error message that says it can not find the class Statement. My line of code causing this is Statement stmt = conn.CreateStatement(); I do import the java.sql.* package.
    How can I resolve this?
    null

    If you are using SDK 1.2.x the you should also check your environment variable JAVA_HOME and be sure it is set also. If you are using SDK 1.1.x then make sure your java class libraries are in the classpath.

  • Problem with Player class: Error: (28) class Player not found

    Hi,
    I had this error while attempting to use the Player object of media package. I am using JDeveloper 3.2
    Error: (28) class Player not found in class lyee.Frame5.
    My program code has this shape.
    import java.awt.event.*;
    import java.applet.*;
    import java.net.*;
    import java.io.*;
    import javax.media.*;
    public class Frame5 extends JFrame {
    FlowLayout flowLayout = new FlowLayout();
    JPanel jPanel1 = new JPanel();
    Player lecteur;
    Could someone help me finding where the error is exactly. The Player object is in javax.media pakcage, right ? Is there any librarary missing ??
    Thank you
    Jaouhar

    If you haven't done so already, you have to install JMF -- Java Media Framework, which you can download from the Sun website ( http://java.sun.com ). After that, you have to add that library to your project, in your project settings dialog.

  • "CJS-30199 The CTC classes were not found after waiting for 900 seconds."

    Here's the snippet of the sapinst_dev.log
    I am trying to install Central Instance on a RedHat Enterprise 4 server (32bit). But stuck at
    this stage.
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    2007-05-10 20:19:48.093 FSPath(/usr/sap/LN1/DVEBMGS02/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/com/sap/ctc/util/ConfigMainExt.class).isExisting() done: false
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    2007-05-10 20:19:48.093 NWJavaInstance._waitForFile() - elapsed time = 910 timeout = 900
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.usageTypes.ctcSyncWaitTimeout:
    The CTC classes were not found after waiting for 900 seconds.
    ERROR      2007-05-10 20:19:48
               CJSlibModule::writeError_impl()
    CJS-30199  The CTC classes were not found after waiting for 900 seconds.
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2007-05-10 20:19:48 [iaxxgenimp.cpp:736]
               showDialog()
    FCO-00011  The step configCAF with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|15|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_CAF|ind|ind|ind|ind|1|0|configCAF was executed with status ERROR .
    Your help is much appreciated.
    Thanks and Regards,
    Satish/

    Hello Satish
    Please do following checklist:
    1. Check that the J2EE engine is up and running (e.g. log in with Admin)
    2. Check that the following application is running:
         Visual Admin => Cluster => Server => Services => Deploy
         Select "Application" and look for "sap.com/tclmctcutilbasic_ear
    3. Try to continue installation
    It could be helpful to apply the patch for CTC as per note # 938261
    before restarting.
    and also try to add more memory allocation.
    If issue persists,
    - I'd like to know which installation DVD/CD number being using ?
    - The contents of the LABEL.ASC file.
    - The installation guide reference and title used for this install ?
    - SAPINST version ?
    - Oracle version/patch level ?
    - Operating system version/patch level ?
    See also:
    Note # 851251 - SAP NetWeaver 2004s Installation on UNIX
    Thanks
    Kenny

  • CTC classes were not found

    Hello!
    I get this error message while NW_JAVA_700SP14_SR3 installation.
    ERROR 2008-08-06 16:38:01.234
    CJS-30199 The CTC classes were not found after waiting for 900 seconds.
    ERROR 2008-08-06 16:38:01.312
    FCO-00011 The step configSLDMainDataSupplier with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|6|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_SLD|ind|ind|ind|ind|0|0|configSLDMainDataSupplier was executed with status ERROR .
    Regards
    sas

    Hi,
    Have a look at the Note  " 1108852 - SAP NetWeaver 7.0 / Business Suite 2005 SR3: Windows ", which deals with the n/w 7.0 installation error.
    The close error which i found in the snote w.r.t your posting is as below
    16/MAR/06
    (x64, ABAP+Java, Java): The installation of AS Java usage types aborts during "Prepare to install minimal configuration" with the following error message:
    ERROR 2006-03-02 15:51:10CJS-30153  Java process server0 of instance J20/JC01 reached state STARTING after having state STARTING_APPS. Giving up.
    ERROR 2006-03-02 15:51:10FCO-00011  The step startJava with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Call_Offline_CTC|ind|ind|ind|ind|7|0|startJava was executed with status ERROR .
    To solve the problem, choose "Retry" to continue the installation.
    I hope it helps you.
    Rgds
    Radhakrishna D S

  • Error in OAF page (Definition CLOSE_PO_FLAG of type Attribute not found)

    Hi All,
    In OAF, When we go to receive a requisition order, on that page for a column called PO Close, below this column in the value text, I am getting the below error:
    Error
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Click here for exception details.
    About Previous Page
    When I click the here for exception details. I see the below error. What is this error. Any idea.
    =============
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition CLOSE_PO_FLAG of type Attribute not found
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2946)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2743)
         at oa_html._OA._jspService(_OA.java:101)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:94)
    ===========
    Help greatly appreciated.
    Thanks
    Aman

    Hi JulianE.
    Looks good. But strange .Please bounce the middletier once and set the permissions of this file to 7777
    Thanks
    Sandeep

  • SAPinst error:- The java class is not found:  com.sap.engine.offline.Offlin

    Hi,
    I am in the midst of Installing SOLMAN on RHEL5-ORACLE
    Have installed IBM JDK version 1.4.2_10
    During the CREATE SECURE STORE PHASE I am getting the following error:
    sapinst_dev log file O/P
    WARNING[E] 2008-06-09 18:04:43.225
               CJSlibModule::writeError_impl()
    CJS-30050  Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart.
    TRACE      2008-06-09 18:04:43.225 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    TRACE      2008-06-09 18:04:43.243 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 2529
    TRACE      2008-06-09 18:04:43.281 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 2530
    ERROR      2008-06-09 18:04:43.310 [sixxcstepexecute.cpp:951]
    FCO-00011  The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .
    TRACE      2008-06-09 18:04:43.317 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP Solution Manager 4.0 Support Release 4 > SAP Systems > Oracle > Central System > Central System. You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS. </p> </body></html>
    TRACE      2008-06-09 18:04:43.317 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    SAPINST.LOG file  O/P
    WARNING 2008-06-09 18:04:43.224
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s SMD -f /sapmnt/SMD/global/security/data/SecStore.properties -k /sapmnt/SMD/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1. Output:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart
    WARNING[E] 2008-06-09 18:04:43.225
    CJS-30050  Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart.
    ERROR 2008-06-09 18:04:43.310
    FCO-00011  The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .
    SecurStoreCreate log O/P
    The java class is not found:  com.sap.engine.offline.OfflineToolStart
    Pls suggest how to resolve this issue
    Pls help to resolve this issue
    Rgds,
    Abhijeet

    Hi All,
    I Found the Solution.
    The SAPinst tool was somehow not able to extracte the
    J2EEINSTALL.SAR files from the JAVA Components DVD.
    So I manually extracted the the file in the temporary install folder which the SAPinst creates in the /tmp filesystem (on LINUX by deafult) during the installation process.
    The following command is used (I used this on Red Hat LINUX 5.2) to extract the J2EEINSTALL.SAR file:-
    /sapmnt/SMD/exe/SAPCAR
    -xvf /dump/SR4_Java_Components/D51033521/DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR
    /sapmnt/SMD/exe/SAPCAR -->source directory of the file SAPCAR which is used to extarct CAR / SAR files on UNIX
    /dump/SR4_Java_Components/D51033521/DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR--> destination dir. where the SAPinst tool will read and execute the file.
    Rgds,
    Abhijeet K

  • Have Flex3, Matrix3D Class is not found by Flex.

    Hello to who is reading this post!
    I have Flex3 (Downloaded from Adobe), the Matrix3D Class is not found by Flex.... no where not even under flash.geom.*.
    Do you have any thoughts of what my problem could be?
    Thanks in advance!
    Herendi Kristóf Pál

    I've only seen this issue when there is a version mismatch between Flex and the Flash Player.
    http://blog.shortfusion.com/index.cfm/2008/12/27/Flex4Gumbo-Error-1046-Type-Not-Found-Matr ix3d--Easy-Fix
    http://www.flextras.com/blog/index.cfm/2009/12/7/Flex-4-Library-Project-Type-not-found-or- not-a-compiletime-constant-Matrix3D
    This is actually the 2nd time I've seen this question in the past week; the other person said that by changing the SDK from 3.0 to 3.5 the problem went away.  I wonder if Adobe changed something with the download recently.

Maybe you are looking for

  • How can I install an extension when it conflicts with an existing one that doesn't appear in the list of extensions?

    I'm trying to install Guide Guide for Photoshop CS 2014 using the Adobe Extension Manager CC but when clicking on the 3.1.2-guideguide.zxp I recieve the following error, "This extension cannot be installed, since it conflicts with a existing one. To

  • Word 2013 from PDF issues

    Can't edit the docx and it goes from being a 3.2 meg pdf file to a 32 meg docx. Any ideas? I can convert using online programs ,no issue. What's the point of having a pdf converter if I can't edit the document? PGM554

  • IPhone email-need to change the font style, not just the size

    My emails are showing in Black Arial, when I just want them to display in normal Arial font. I do not see where I can change the Font setting other than the size of it, I had it on Large but now have it on Small. On the iPhone the font appears in a r

  • Scheduling PS PP

    In PS and PP Intregartion We have a project in which a activity to which a material is attached with 1000 qty , Activity dates are 26.08.09  to 13. 11.09 We want to spilt the requirement with distribution key GLEI . Now the system distributes the qty

  • AutoCAD LT - Boot Camp - Parallels/Fusion

    I need to run AutoCAD on a new iMac 21.5" purchased this week, and am wondering how best to accomplish this? Is AutoCAD processor-intensive to the point that Boot Camp would be the preferred method, or would Fusion or Parallels work fine, without too