Problems compiling class within package

Hi, I have a package called jicmp, and within this package i have 3 classes, namely timeoutexception, icmppacket and jicmp. the first two compile fine, but when i try to compile jicmp, it complains. in jicmp i have the following methods:
public void send(icmppacket packet)
public icmppacket read()
and it doesnt like to use timeoutexception either. why is this? they are in the same package, and all have the package name at the top, and all are in the same directory..
Any help would be gratefully received
Thanks
Vanessa

Hi,
Did you creat a folder with same name as your package name.
If not, do it first. then compile your class with the following command.
exmample:
C://javac foldername.filename.java
to run:
C://java foldername.filename
it will work.

Similar Messages

  • How to compile class and package

    I am trying to compile the following 3 files.
    http://www.cs.umbc.edu/~stephens/crypto/CIPHERS/ElGamal.java
    http://www.cs.umbc.edu/~stephens/crypto/CIPHERS/BinaryHeap.java
    http://www.cs.umbc.edu/~stephens/crypto/CIPHERS/DLP.java
    I tried compiling them with a variety of ways but still cannot figure out the correct way of doing it.

    I finally figured out how to compile them. I had to change files so that I don't have to compile with a package.
    Message was edited by:
    webweaver

  • Compile class in package that imports other package

    hi,
    i prepared two packages asume with name x_pck and y_pck.
    a class in x_pck imports a class in y_pck. when i try to compile the class in x_package javac gives error such it can not find y_pck. so where do i have to put my packages to make javac see them?
    thanks...

    ok i found the solution.
    i use javac with parameter "-classpath" such like:
    javac -classpath path_of_y_pck path_of_class_in_x_pck

  • Problem compiling class: "oracle/jdbc/jolt/jdbc/client/Drive

    I have this message trying to make an ear file with JBoss for a J2EE Aplication. My application access the Oracle JDBC Driver. I've seen that the class OracleDirver has a relationship to this packet inside, but this packet is not in classes12.zip. I think that it can be a bug in the code of this class.
    Did anybody had the same problem?

    You need to set the THIRD_PARTY_JDBC_CLASSPATH to the location of the oracle jdbc drivers (classes12.zip etc). You can do this in a number of ways run the db_setup use kregedit to modify the registry or on the Solaris version edit the iasenv.ksh directly.

  • Problems compiling with packages

    Hi,
    I wonder if anyone could help me.
    I have had problems compiling using a package. I have altered the classpath in autoexec.bat with:
    SET CLASSPATH=%classpath%;C:\jdk1.3.1_02\classes;.
    the package class files are stored in C:\jdk1.3.1_02\classes\helliker\id3
    and I have imported the class with:
    import helliker.id3.*;
    I am getting the following error:
    C:\My Documents\Uni work\mp3 project\test\Driver.java:1: package helliker.id3 does not exist
    import helliker.id3.*;
    ^
    Can anybody help?
    Thanks,
    Dave

    Perhaps the version of Windows you are using does not use autoexec.bat. For example, in NT and XP, you set Classpath using ControlPanel/System/Advanced/Environment Variables.
    Perhaps there is a typo in your Classpath, for example an extra space.
    On a command line, try this:
    javac -classpath C:\jdk1.3.1_02\classes C:\My Documents\Uni work\mp3 project\test\Driver.java
    If that works, then definitely Classpath is not set as you think it is.

  • Running Class in package?

    I have problem running class in package. What do I write (win) to make the class in a packege run? If I remove it from the package I just write: java MyClass.

    If it is in package com.bananaco, for example, then at
    the command line you must type
    java com/bananaco/MyClassI'd refrain from calling it that way, as it leads to confusion.
    The standard way is to call it fully qualified
    java -cp <classpath> com.bananaco.MyClass
    under any JAVA release with the classpath set appropriately (rename <classpath> with yout path to directory where com is located in exmpale above).
    Take in mind that the directory structure should reflect the package structure (having MyClass.class under com/banaco in the class path)
    Oliver
    >
    That works for Java 2, but I sort of recall that for
    Java 1 you had to use
    java com.bananaco.MyClass
    instead. So try both. And if you get NoClassDefFound
    error, remember that the package has to be in
    your classpath, not the class.

  • Classes without packages not accepted by ejbc compilation ?

    Hey guys ...
    I noticed something which I found unusual...I mite be missing something out here
    When ejbc generates the Bean IMPL class , it does not put any import statements
    in the generated java file but references all the classes in the Bean with their
    absolute path ...
    Now ..I have a 3rd-party jar which does not have certain classes in packages...and
    I reference these classes within my Session Bean...the session bean compiles properly
    ..but when ejbc happens and the Impl class gets generated with the absolute path
    and no imports...the compiler expects to find all these 3rd-party classes without
    packages within the current session bean package itself which it will not..and
    hence throws all sorts of "cannot resolve symbol" errors...
    Does this mean that within my EJB beans I can never reference classes without
    packages or is there something I am missing..?
    Thanx,
    Krish

    Rob ,
    I agree with u that giving classes without package is not a good practise..but
    Itz got a history which believe it or not stems from another weblogic problem(related
    to webservices..)
    anywayz..that is another issue alltogether...
    I don't think this bug is fixed...coz I checked a WLS70 Impl and it is still generating
    the IMPL without the imports...
    But can u clarify..what u wud mean by "fixing the bug" ..does it mean that the
    Impl would start putting the imports..?
    Thanx,
    Krish
    Rob Woollen <[email protected]> wrote:
    I recall this bug being reported before. You might try the latest
    service pack and see if it's been fixed already. Otherwise, you'll have
    to contact [email protected]
    FWIW, it's quite disturbing that a 3rd party would give you a jar
    without a package.
    -- Rob
    Krishnan Venkataraman wrote:
    Hey guys ...
    I noticed something which I found unusual...I mite be missing
    something out here
    When ejbc generates the Bean IMPL class , it does not put any import
    statements
    in the generated java file but references all the classes in the Bean
    with their
    absolute path ...
    Now ..I have a 3rd-party jar which does not have certain classes in
    packages...and
    I reference these classes within my Session Bean...the session bean
    compiles properly
    ..but when ejbc happens and the Impl class gets generated with the
    absolute path
    and no imports...the compiler expects to find all these 3rd-party
    classes without
    packages within the current session bean package itself which it will
    not..and
    hence throws all sorts of "cannot resolve symbol" errors...
    Does this mean that within my EJB beans I can never reference classes
    without
    packages or is there something I am missing..?
    Thanx,
    Krish

  • Problem Accessing Class in my package from jsp file

    Hi,
    I am using Apache tomcat server and i have made package which contains a class for database connection. I have imported this package in my jsp file but when i run the jsp tomcat gives the class not found exception. i have placed the jsp file in /webapps/my_project/ folder and the package in the /webapps/my_project/WEB-INF/classes/ folder.
    Still its not working.
    Please help me out!!!!!!!!

    hi,
    Thanks for ur reply. You have guessed it right, i dont have a .jar file its a .class file in a package subfolder. I have tried out ur suggestion but it didnt work. The following error i shown when i run it.
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\Apache Tomcat 4.0\work\localhost\_\College\test$jsp.java:4: Package college_lib not found in import.
    import college_lib.*;
    ^
    1 error, 1 warning
    Here, College_lib is the package name which contains the class my class file
    Is there any problem with my Apache Tomcat4.0 or any other thing.
    Message was edited by:
    Despo

  • Problems compiling packages

    Hi there! I have problems when I use packages, if someone can help me i will be very thankful. This the code that I am using:
    //Stack.java
    package DataStructures;
    import DSExceptions.*;
    public interface Stack
    void push( Object x);
    void pop() throws Underflow;
    Object top() throws Underflow;
    Object topAndPop() throws Underflow;
    boolean isEmpty();
    void makeEmpty();
    //StackAr.java
    package DataStructures;
    import DSExceptions.*;
    public class StackAr implements Stack
    * Construct the stack.
    public StackAr( )
    this( DEFAULT_CAPACITY );
    Both files are in the same directory DataStructures, I can copile Stack.java but I can not compile StackAr.java, it has the next error:
    StackAr.java:24: cannot resolve symbol
    symbol : class Stack
    location: class DataStructures.StackAr
    public class StackAr implements Stack
    ^
    1 error
    What am I doing wrong? Thanks a lot for helping me.

    When you give a class a package, you need to import that package.
    You need to add the bolded text:
    package DataStructures;
    import DSExceptions.*;
    import DataStructures.*;
    public class StackAr implements Stack
    * Construct the stack.
    public StackAr( )
    this( DEFAULT_CAPACITY );
    Happy programming. :)

  • Problem compiling Abstract class

    Hi
    I have writting an abstract class Sort.java and another class BubbleSort.java. I am having problems compiling BubbleSort.java class.
    The following is the error message
    BubbleSort.java:8: missing method body, or declare abstract
         public int doSorting(int[] array);
    ^
    BubbleSort.java:11: return outside method
              return num;
    ^
    The following is the code
    public abstract class Sort
    public abstract int doSorting(int[] array);
    }// End of class
    public class BubbleSort extends Sort
    private int num = 2;
    public int doSorting(int[] array);
    num = num + 2;
    return num;
    } // end of class

    Remove the semi-colon.
    public int doSorting(int[] array); // <------- there

  • Problem on open Preference in CMC: Unable to compile class for JSP

    Hi all,
    I meet problem when opening Preference in CMC.
    When I click "Web Intelligence" or "Desktop Intelligence", the following message will be display:
    An error has occurred:
    Unable to compile class for JSP
    I have check for catalina.out in tomcat, following error comes out:
    java.io.FileNotFoundException: /opt/boe/bobje/tomcat/work/Catalina/localhost/AnalyticalReporting/org/apache/jsp/jsp/User_005fWebiPreferences/user_005fwebipreferences_jsp.java (No such file or directory)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
            at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:140)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
            at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
            at com.businessobjects.webutil.struts.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:32)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)
    Please help to indicate where is the problem. Many thanks.
    Regards,
    May

    Hi all,
    I meet problem when opening Preference in CMC.
    When I click "Web Intelligence" or "Desktop Intelligence", the following message will be display:
    An error has occurred:
    Unable to compile class for JSP
    I have check for catalina.out in tomcat, following error comes out:
    java.io.FileNotFoundException: /opt/boe/bobje/tomcat/work/Catalina/localhost/AnalyticalReporting/org/apache/jsp/jsp/User_005fWebiPreferences/user_005fwebipreferences_jsp.java (No such file or directory)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
            at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:140)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
            at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
            at com.businessobjects.webutil.struts.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:32)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)
    Please help to indicate where is the problem. Many thanks.
    Regards,
    May

  • Compiling class in a package

    Hi,
    for some reason i can't understand i am having a hard time compiling some of my classes in a particular package.
    Lets say my packages are
    classes\arm\matrix\util\
    classes\arm\pdm\
    I have numerous .class files in the util directory which are precompiled under the matrix\util dir structure.
    I have some classes in pdm folder and in their first line i gave
    package arm.pdm;
    I am trying to compile classes in arm\pdm
    My classes in arm\pdm can read the classes in the matrix\util directroy
    but they can't understand the classes in the same dir
    For example if i have --
    arm\pdm\P1.java and arm\pdm\P2.java
    so if i complie P2.java and am using P1.class in it and i get an error
    saying cannot resolve symbol P1.
    This is the command am using to compile the class
    c:\server\webapps\test\web-inf\classes\arm> javac -classpath . pdm\P2.java
    Please help. .....
    Any help would b greatly apprectiated
    thanks

    Hi,
    for some reason i can't understand i am having a hard
    time compiling some of my classes in a particular
    package.
    Lets say my packages are
    classes\arm\matrix\util\
    classes\arm\pdm\
    I have numerous .class files in the util directory
    which are precompiled under the matrix\util dir
    structure.
    I have some classes in pdm folder and in their first
    line i gave
    package arm.pdm;
    I am trying to compile classes in arm\pdm
    My classes in arm\pdm can read the classes in the
    matrix\util directroy
    but they can't understand the classes in the same dir
    For example if i have --
    arm\pdm\P1.java and arm\pdm\P2.java
    so if i complie P2.java and am using P1.class in it
    and i get an error
    saying cannot resolve symbol P1.
    This is the command am using to compile the class
    c:\server\webapps\test\web-inf\classes\arm> javac
    -classpath . pdm\P2.java
    Please help. .....
    Any help would b greatly apprectiatedDo you have the following file?
    c:\server\webapps\test\web-inf\classes\arm\arm\pdm\P1.class
    That is how your class path is set.
    Try one of the following for your class path
    -classpath ..
    -classpath c:\server\webapps\test\web-inf\classes

  • Unable to compile class for JSP.       package not found

    Hello folks,
    I was trying to build a simple web application using Eclipse IDE, tomcat 5.x server and ant to build and deploy the application.
    I referenced the following tutorial:
    http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html
    I was able to create a war file, deploy it in tomcat. When i invoke a simple jsp it works fine. However if I try to import any source pkg into jsp it throws error. Below is stack trace.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    C:\tomcat\work\Catalina\localhost\aweb\org\apache\jsp\web\Home_jsp.java:6:
    package com.ak.test does not exist
    import com.ak.test.*;
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
         org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)
         org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:343)
         org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Any clue what is the issue?

    Additional Info:
    Location of files
    ==================
    My jsp file is located at:
    C:\eclipse\workspace\aweb\web\Home.jsp
    my class is located in:
    C:\eclipse\workspace\aweb\WEB-INF\classes\com\ak\test
    Webapplication Dir Structure:C:\eclipse\workspace:
    aweb(webapplication name)
    +web
    -----+Home.jsp
    +src
    ------+com.ak.test.MyJava.java
    +WEB-INF
    ------+Classes
    --------+com.ak.test.MyJava.class
    ------+lib
    ----------struts.jar
    ------+web.xml
    ------+struts-config.xml
    -aweb.war(build.xml creates war file as per WAR format)
    Ant task which installs the webapplication in Tomcat:
    <target name="install" description="Installs the Web Application" depends="package">
    <echo message="Installing ${app.name} ..."/>
    <install url="${manager.url}" username="${username}" password="${password}" path="/${app.name}"
    config="file:${basedir}/war/META-INF/context.xml" war="file:${basedir}/${app.name}.war"/>
    </target>
    build.properties file
    app.name=aweb
    manager.url=http://localhost:8080/manager
    tomcat.home=C:/tomcat
    username=user
    password=user
    Contents of the jsp file
    =======================
    <%@ page import="com.ak.test.MyJava" %>
    <html>
    <head>
    <title>Home Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    </body>
    </html>

  • [svn] 1090: compiler: class renaming in the mxml package

    Revision: 1090
    Author: [email protected]
    Date: 2008-04-03 11:59:00 -0700 (Thu, 03 Apr 2008)
    Log Message:
    compiler: class renaming in the mxml package
    * flex2.compiler.mxml.builder:ApplicationBuilder to AbstractDocumentBuilder
    * flex2.compiler.mxml.builder:Builder to AbstractBuilder
    * flex2.compiler.mxml.dom:ApplicationNode to DocumentNode
    Bugs: n/a
    QA: No
    Doc: No
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ArrayBuilder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/InlineComponentBuild er.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/PrimitiveBuilder.jav a
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Scanner.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ValueNodeHandler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/DocumentInfo.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractDocumentBuil der.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DocumentNode.java
    Removed Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ApplicationBuilder.j ava
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/Builder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ApplicationNode.java

    Plz help me...

  • [svn] 1091: compiler: class renaming in the compiler package

    Revision: 1091
    Author: [email protected]
    Date: 2008-04-03 13:32:09 -0700 (Thu, 03 Apr 2008)
    Log Message:
    compiler: class renaming in the compiler package
    * flex2.compiler:Context to CompilerContext
    * flex2.compiler.util:Console to ConsoleLogger
    Bugs: n/a
    QA: No
    Doc: No
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/API.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PersistenceStore.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedExtension.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/StyleExtension.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/TypeAnalyzer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEv aluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractDocumentBuil der.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConsole.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerContext.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ConsoleLogger.java
    Removed Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Context.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Console.java

    Out of curiosity, do you have a directory called WEB-INF inside of
    MyPortal\portalApp\portlets\WFWeb? If so, can you try removing/renaming it?
    "Gavin" <[email protected]> wrote in message
    news:40581f2e$[email protected]..
    >
    I create a Application naming "MyPortal" in WorkShop.
    And create a Project naming "portalApp".
    In folder "portalApp", I create a folder "portlets"
    And create a PageFlow in folder "portlets", so I get a jpf naming"WFWebController.jpf"
    >
    >
    W:\bea\user_projects\applications\MyPortal\portalApp\portlets\WFWeb\WFWebCon
    troller.jpf
    >
    But I add some java code in the method of WFWebController.jpf
    when I run the WFWebController.jpf from workshop
    the compiler throws a ERROR message "A PageFlowController at the root ofthe web
    application must be in the default package."
    Have any solution about this ERROR ?
    Thanks,
    Gavin.

Maybe you are looking for