A strange java project transplantation problem

I am writing a java project using eclipse to crawl webpages.
After I got everyting about the project well on my machine,
I try to transplant it to the server(also Windows XP OS) which
uses the same JDK(jdk1.6.0_05) and development tool(eclipse).
However to my surprise on the server side eclipse hints there are syntactial errors.
And the errors seem very puzzling.
        Long currentTime=new Long(getCurrentTime());
Thread.sleep(1000); //Time to wait  
Long launchTime=new Long(getCurrentTime());
while(true)
        currentTime=Long.parseLong(getCurrentTime());
        if(currentTime>launchTime)
private static String getCurrentTime()
return new SimpleDateFormat("yyyyMMddHHmmss").format(new Date(System.currentTimeMillis()));
}for
currentTime=Long.parseLong(getCurrentTime());it hints
Type mismatch: Can not convert Long to Long.However getCurrentTime() retruns String
for
if(currentTime>launchTime)it hints
The operator > is undefined for the argument type(s) java.lang.Long, java.lang.LongTo me, it's quite strange.
What's wrong with it?
Thanks!

First I must say sorry for my late thanks to your above guys' enthusiastic helps and replies.
I have an outing last 2 days and it causes me unable to view this thread timely.
Thank evilknightthk. Your modified codes work. But I missed another error in my last reply.
That is
ArrayList<String> threadCluster=new ArrayList<String>();It also hints error:
for ArrayList
The type ArrayList is not generic; it can not be parameterized with arguments with <String>.for <String>
Syntax error, parameterized types are only available if source level is 5.0I checked the auto(un)boxing from the window-->preferences-->...
But seems it doesn't help, error are still there.
Thanks again for your guys. You all are very kind. :-)

Similar Messages

  • Java Project-----Code Problems

    hiya......having problems...finishing off this project....liberary account......full of classes and super's.....a few methods giving me problems (Borrow , REturn)....not sure what to do....and then a big main to run it all from and call everything....aaahhhh hheeellpp
    class Owner
         public String name;
         public String Address;
         public String town;
         public Owner next;
         public String Owner(String nam, String add, String t)
              name=nam;
              address=add;
              town=t;
         public Owner(Owner o)
              name = o.name;
              street = o.street;
              town = o.town;
         public void printOwnerDetails()
              System.out.println("Name : "+name);
              System.out.println("Address : "+address);
              System.out.println("Town : "+town);
    class OwnerLinkedList
         private Owner head;
         public OwnerLinkedList() { head = null; }
         public void insert(Owner o)
              Owner temp = new Owner(o);
              temp.next = head;
              head = temp;
         public String delete_first()
              if(head == null)
                   return null;
              String result = head.readName();
              head = head.next;
              return result;
         public String delete_last()
              if(head == null)
                   return null;
              if(head.next == null)
                   String result = head.readName();
                   head = null;
                   return result;
              Owner temp = head;
              while(temp.next.next != null)
                   temp = temp.next;
              String result = temp.next.readName();
              temp.next = null;
              return result;
         public void printList()
              Owner temp = head;
              while(temp != null)
                   temp.printOwnerDetails();
                   System.out.println();
                   temp = temp.next;
         public boolean searchList(String s)
              Owner temp = head;
              while(temp != null)
                   if(temp.name.equals(s))
                        return true;     
              else
                   temp = temp.next;
              return false;
    class Account
         public int numonloan;
         public int id_num;
    public Owner memberdetails;
         public int numweeks;
    public Account next;
         public Account(int loan, int i, Owner o, int week)
              int numonloan=0;
              int id_num=i;
              Owner memberdetails= o;
              int numweeks=0;
         public check_OnLoan( int numonloan, int id_num, owner memberdetails, int numweeks)
              numonloan=0;
              id_num=a.id_num;
              memberdetails=0;
              numweeks=0;
         public     return(){};
         public borrow(){};
         public void printAccountDetails()
              memberDetials.printOwnerDetails();
              System.out.println("id No : "+idno);
              numOfWeeks = 0;
              numOnLoan = 0;
    class AccountLinkedList
         private Account head;
         public LinkedList() { head = null; }
         public void insert(String s)
              Account temp = new Account(s);
              temp.next = head;
              head = temp;
         public String delete_first()
              if(head == null)
                   return null;
              String result = head.readName();
              head = head.next;
              return result;
         public String delete_last()
              if(head == null)
                   return null;
              if(head.next == null)
                   String result = head.readName();
                   head = null;
                   return result;
              Account temp = head;
              while(temp.next.next != null)
                   temp = temp.next;
              String result = temp.next.readName();
              temp.next = null;
              return result;
         public void printList()
              Account temp = head;
              while(temp != null)
                   System.out.println("Name: " +temp.readName());
                   temp = temp.next;
              System.out.println();
         public boolean searchList(String s)
              Account temp = head;
              while(temp != null)
                   if(temp.name.equals(s))
                        return true;     
              else
                   temp = temp.next;
              return false;
    class Lecturer extends Account
         private maxNumOnLoan;
         public Lectuer(int idno,Owner o1,int maxNumOnLoan)
              super.(idno,01);
              maxNumOnLoan=maxNumOnLoan;
         public borrow()
              if numweeks > 12
                   if numOnLoan ==14
                   System.out.println("You Cannot Get Out Another Book, Check Account Details");
         public printDetails(){super.()}
    public static void LectureAccount (OwnerLinkList ownerlist, LectureLinkList lecturelist)
         bufferedReader in = new BufferedReader (new InputStreamReader (System.in));
              String line =" ";
              String name =" ";
              String street =" ";
              String town =" ";
              int id= 0;
              int maxNumOnLoan=12;
         try{
         System.out.println("Enter Owner Name : ");
         name = in.readLine();
         System.out.println(" Enter Owner Street : ");
         street = in.readLine();
         System.out.println(" Enter Owner town : ");
         town = in.readline();
         System.out.println(" Enter id No: ");
         line = in.readLine();
         id = Integer.valueOf(line).intValue();
         catch(Exception e) {}
         Owner 01 = new Owner (name, street, town);
         ownerlist.insert(a1);
         System.out.print(" Owner "+name+ " inserted into Owner List");
         Lecture l1 = new Lecture(id,o1, maxNumOnLoan);
         Lecturelist.Insert (l1);
         System.out.print ("Lecture Information Stored In Lecture List);
    class LecturerLinkedList
         private Lecture head;
         public LinkedList() { head = null; }
         public void insert(String s)
              Lecture temp = new Account(s);
              temp.next = head;
              head = temp;
         public String delete_first()
              if(head == null)
                   return null;
              String result = head.readName();
              head = head.next;
              return result;
         public String delete_last()
              if(head == null)
                   return null;
              if(head.next == null)
                   String result = head.readName();
                   head = null;
                   return result;
              Node temp = head;
              while(temp.next.next != null)
                   temp = temp.next;
              String result = temp.next.readName();
              temp.next = null;
              return result;
         public void printList()
              Node temp = head;
              while(temp != null)
                   System.out.println("Name: " +temp.readName());
                   temp = temp.next;
              System.out.println();
         public boolean searchList(String s)
              Account temp = head;
              while(temp != null)
                   if(temp.name.equals(s))
                        return true;     
              else
                   temp = temp.next;
              return false;
    class Student extends Account
         private minNumWeeks;
         public Student(int idno,int minweek,Owner 01)
              o=own;
              super.(idno,01);
              minNumWeeks=minNumWeeks;
         public return(){}
         public printDetails(){super.()}
    public static void StudentAccount (OwnerLinkList OwnerList, StudentLinkList studentlist)
         bufferedReader in = new BufferedReader (new InputStreamReader (System.in));
              String line =" ";
              String name =" ";
              String street =" ";
              String town =" ";
              int id= 0;
              int minNumWeeks=4;
         try{
         System.out.println("Enter Owner Name : ");
         name = in.readLine();
         System.out.println(" Enter Owner Street : ");
         street = in.readLine();
         System.out.println(" Enter owner town : ");
         town = in.readline();
         System.out.println(" Enter id No: ");
         line = in.readLine();
         id = Integer.valueOf(line).intValue();
         catch(Exception e) {}
         Owner 01 = new Owner (name, street, town);
         ownerlist.insert(a1);
         System.out.print(" Owner "+name+ " inserted into Owner List");
         Student s1 = new Student(id,o1,minNumWeeks);
         Studentlist.Insert (s1);
         System.out.print ("Student Account Information Stored In Student List);
    class StudentLinkedList
         private Student head;
         public LinkedList() { head = null; }
         public void insert(String s)
              Student temp = new Student(s);
              temp.next = head;
              head = temp;
         public String delete_first()
              if(head == null)
                   return null;
              String result = head.readName();
              head = head.next;
              return result;
         public String delete_last()
              if(head == null)
                   return null;
              if(head.next == null)
                   String result = head.readName();
                   head = null;
                   return result;
              Student temp = head;
              while(temp.next.next != null)
                   temp = temp.next;
              String result = temp.next.readName();
              temp.next = null;
              return result;
         public void printList()
              Student temp = head;
              while(temp != null)
                   System.out.println("Name: " +temp.readName());
                   temp = temp.next;
              System.out.println();
         public boolean searchList(String s)
              Student temp = head;
              while(temp != null)
                   if(temp.name.equals(s))
                        return true;     
              else
                   temp = temp.next;
              return false;
    public class AccountTest
         public static void OpenGeneralAccount (OwnerLinkList OwnerList, AccountLinkList accountlist)
         bufferedReader in = new BufferedReader (new InputStreamReader (System.in));
              String line =" ";
              String name =" ";
              String street =" ";
              String town =" ";
              int id= 0;
         try{
         System.out.println("Enter Owner Name : ");
         name = in.readLine();
         System.out.println(" Enter Owner Street : ");
         street = in.readLine();
         System.out.println(" Enter owner town : ");
         town = in.readline();
         System.out.println(" Enter id No: ");
         line = in.readLine();
         id = Integer.valueOf(line).intValue();
         catch(Exception e) {}
         Owner 01 = new Owner (name, street, town);
         ownerlist.insert(a1);
         System.out.print(" Owner "+name+ " inserted into Owner List");
         Account a1 = new Account(id,o1);
         accountlist.Insert (a1);
         System.out.print ("General Account Information Stored In Account List);
    public static void PrintOwnerLinkList ( OwnerLinkList ownerlist)
         System.out.println("Printing Owner List..................");
         ownerlist.printList();
         System.out.println();
    public static void PrintAccountLinkList ( AccountLinkList accountlist);
         System.out.println("Printing Account List..................");
         accountlist.printList();
         System.out.println();
    public void main (String args[])
         OwnerLinkList ownerlist = new OwnerLinkList();
         AccountLinkList accountlist = new AccountLinkList();
         LecturerLinkList lecturelist = new LecturerLinkList();
         StudentLinkList studentlist = new StudentLinkList();
         BufferedReader in = new Buffereder(new InputStreamReader (System.in));
         String line;
         int menuchoice = 0;
         System.out.println();
         System.out.println("Library Main Menu");
         System.out.println("-----------------");
         System.out.println("1. Open General Account");
         System.out.println("2. Check Number Of Books On Loan");
         System.out.println("3. Borrow Book");

    main.......im very confused....only been doing java 3 months....well the problem is main getting it all hooked up with switch statement...to call the whole thing....eg 1: open account
    2: check books on loan
    i have bits and peices done of it.....but trying to get it to make sence......as you can see im very poor at java.....and need all the help i can get.....so any advice would be nice ....thanx

  • I m not able to create xml file in Java Project

    hi all,
    I have created one java project just to try with Ant Builder. I have created one class inside it. and now i m creating an XML file inside that project.
    But as soon as i try to create the File -> New -> File and give the .xml extention of the file this gives error into the project.
    Will you suggest me the solution for that?
    Thanks in advance.

    Assuming that you are facing this problem in NDS, here is the solution.
    Go to Windows--> Preferences --> WorkBench -->File Associations
    In the File Types list select *.xml
    This will display the default associated XML editor as
    XML Editor(default) in the bottom list box.
    Click on add button near the bottom list box and select Text Editor, click Ok.You will see one more entry in the list box as "Text Editor".
    Select this entry and click on the default button.
    Click Ok and close the preferences dialogue.
    Now create a new xml file.You wont see the error this time.
    Please note that this will treat all simple xml files you will create as TEXT Files and always open with Text Editor.You can override this behaviour with right click on the file and select appropriate editor from the "Open With" context menu.
    The error you are talking about is because the XML editor tries to check well-formedness and basic syntax rules for the file that you newly created, actually is a noce feature of the IDE.
    Rgds,
    Amol

  • [ot] A UML tool for a new Java project

    I am working on the new Java project and need a UML tool to get it start. I am wondering whether anyone one can recommend such tool or not. It can be either stand alone or as an Eclipse plug-in. It shall be able to handle at least 50 classes.
    Thanks.

    Is it any good? I haven't tried it but we're
    evaluating UML tools here and it's on my list to play
    with.
    PS.If you mean SDE....
    I have only used the personal edition at home, and the other versions have more functionality available
    My impressions, FWIW, are
    - easier to use than rational rose (I find this one which I have to use at work to be a pain), although, paradoxically enough, they are not that dissimilar in appearance
    - I was able to create some reasonably complex models without any problems
    - easy to install and start using - no great learning curve
    - I tried importing a model I had exported from rose and that did not work very well at all.
    - this applies to version 2.2

  • Web Service From Java class, serialization problem

    Hi,
    I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
    My class have 2 methods,
    public int add(int a, int b);
    public MyResponse doSomthing(MyRequest req);
    I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
    <b>
    Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
    </b>
    Any ideas how to resolve it?
    P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
    Thanks in advance,
    Victor.

    Hi Bhavik, thanks for response.
    as I already mentioned it implements Serializable, so it is not the problem.
    Thanks Avi but it didn't helps iether
    Victor

  • How to run a java project based on x86 Windows XP on Windows CE?

    I am a freshbird of J2ME and i am very confused these days.I beg you can look this topic thoughout.
    I used to configurate a Java Project File about SIP&VOIP successfully,and I can run it well on my PC .
    Now I want to migrate the project to a Mobile OS,and problems comes.
    I have installed the Windows CE 5.0 Evalution Edition on my machine(Windows XP SP2) and it works fine.I search it online for days ,and I download almost all related including CLDC(j2me_cldc-1_1-fcs-src-winunix.zip),MIDP(midp-2_0-fr-spec.zip<==Maybe this is not the right one beacuse it don't have a bin folder),and J2ME Wireless Tool KIt(j2me_wireless_toolkit-2_2-ml-windows.exe).
    I have configrate the enviroment-variable already , but I don't kown what to do next . Do you kown? I would be very thankfull.

    You need to completely rewrite the app to use the mobile APIs as they're very different from the PC ones, I suppose.

  • Getting an error in Java Project in SAP NetWeaver Developer Studio

    Hi,
    I am getting this error in my Java Project developed in SAP NetWeaver Developer Studio.
    Exception occurred during launch Reason: Source locator does not exist org.eclipse.jdt.debug.ui.javaSourceLocator
    Is this problem of not defining some External .jar file or problem with Eclipse?
    I am developing Java Project which connects with SAP Master Data Management.
    I am referring to a PDF named "How To identify identical master data records using SAP MDM 5.5
    Java APIu2019s".
    Regards
    Kaushik Banerjee

    This may be because of the metadata(registry) cache when it was written out by a second instance of NWDS.
    So the plug-in appears in the file system but NWDS doesn't see it in the metadata
    Delete the .metadata file from your workspace and then start up NWDS. It might work.
    Regards,
    PG
    Edited by: PG on Dec 16, 2008 3:18 PM

  • [Urgent] using javafx object in java project

    Suppose I here created a very simple java project and the main file is like below,
    public class test {
        public static void main(String[] args){
                System.out.println("Hello World!");
    }and in this particular java project, I need to use another javafx object which is defined as (the javafx and java file are in the same package),
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Circle;
    var stage: Stage = Stage {
        title: "Declaring Is Easy!"
        scene: Scene {
            width: 300
            height: 250
            content: [
                Circle {
                    centerX: 150  centerY: 120 radius: 80
                    fill: Color.MAROON
                    stroke: Color.INDIANRED
                    strokeWidth: 10.0
                }, //Circle
                Rectangle {
                    x: 25, y: 80 width: 250, height: 80
                    arcWidth: 20 arcHeight: 20
                    fill: Color.web("#6699ff")
                    stroke: Color.web("#003399")
              strokeWidth: 5.0
                } //Rectangle
            ] //Content
        } //Scene
    } //StageSo how could I achieve this?
    Regards.

    Thanks for your reply.
    But would you please elaborate on this sentence: create the fx class using Class.forName("....").newInstance()?
    Indeed I implemented an interface which was extended by the javafx class, and in the main java file I need to write following codes to use this object,
    Context context = FXLocal.getContext();
            FXClassType instance = context.findClass("packageName.JavaFXClass");
            ObjectValue obj = (ObjectValue)instance.newInstance();
            JavaInterface ji = (JavaInterface)obj.asObject();The problem that I encountered right now is, the exception was thrown at context.findClass("javatest.MyChart");, since it's not able for the compiler to find the JavaFXClass.class.
    I checked the folder build\classes\packageName and noticed that both my main JavaClass and JavaInterface have been compiled with .class file, while the JavaFXClass was not, which means the file JavaFXClass.class doesn't exist.
    What's the solution?

  • Using a java project in a web which is part of a ear

    hi
    i have an ear (jspkeepEAR) that includes a web project (jspkeep). The web project uses a java project (common).
    I don't want the EAR to know about the common, so i've added the common as a j2ee module to the web project.
    when publishing, i can see under
    C:\bea92\user_projects\w4WP_workspaces\Untitled\.metadata\.plugins\org.eclipse.core.resources\
    .projects\jspkeepEAR\beadep\workshop\jspkeepEAR
    the .beabuild.txt file:
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeepEAR/EarContent/APP-INF/classes = APP-INF/classes
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/WebContent = jspkeep.war
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/build/classes = jspkeep.war/WEB-INF/classes
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/build/jws/.src = jspkeep.war/WEB-INF/classes
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/common = jspkeep.war/WEB-INF/lib/common.jar
    the problem is, when i'm surfing to a servlet in the web, i get NoClassDefFoundError for classes in the common.
    I've also noticed that if i publish the web project by itself (and not as part of the ear), it works fine.
    any idea?
    thanks
    yair
    Edited by reformy at 12/12/2006 2:24 AM

    Hi Yair
    It appears that WLS only supports mapping a directory to a jar in APP-INF/lib/
    C\:/runtime-New_configuration/Common/bin = APP-INF/lib/Common.jar
    but NOT to a jar in WEB-INF/lib.
    Engineering will look into it sometime to fix it.
    Workaround Suggested:
    As a workaround, you can include the Java/Utility project as part of the EAR and set as dependent J2EE module to the Web project.
    Hope this helps.
    Vimala-

  • Bug in workshop Project Properties for a Java Project !!

    I have a Java project which i am trying to make work with junitee so
    that i can automate my test cases. I have installed junitee as a web
    application named 'junitee' and configured it no problem.
    I have my JUnit test cases in Java Project named 'UnitTest'. What i want
    to happen is that when i build my UnitTest project i want the resulting
    JAR file UnitTest.jar copied into the WEB-INF\lib of the junitee project.
    In order to do this i needed to change the project 'Build' options and
    select the "Copy JAR file from Libraires to Project as" and refer to the
    junitee web app as follows:-
    ../junitee/WEB-INF/lib/UnitTest.jar
    Unfortunately when i do this and select Ok to save my changes workshop
    gives me the following error:-
    The JAR name contains illegal characters. Please correct the name.
    However i have managed to get around this and make it work by manually
    modifying my .work file by hand and not through workshop. This works and
    achieves exactly what i want however it must be a bug in workshop to not
    allow this through the Project Properties window !.
    Else if it is deliberate then i cant see why as you should be able to
    copy a JAR file to any lcoation inside the project if you wish to. I
    hope this gets fixed in SP3.
    Martin

    .. I tried using iPhoto to export a QT file of an image slideshow....
    I would start here to play on the knobs&sliders ..
    what were your settings for export? "QT file" => that is many dozends of options of compression, codecs, resolutions, etc. pp ...
    the consumer apps FCE and iM are meant for TV display only => reduced res + reduced colors, quality reduced due to interlace (due to TV standards) ...-
    a Full Res, h264 encoded qt.mov should display your photos in shining quality ...

  • How to Up load a Java project in the Web Server

    Hello friends,
    Can u please help me to sort out this problem i want to upload my java project ie a web application with some database operations like add,delete,update.
    I took webspace in the webserver and from the client system i have to upload my Application please help me.
    Thanks
    Ramesh Nagu

    Hello friends,
    Can u please help me to sort out this problem i want to upload my java project ie a web application with some database operations like add,delete,update.
    I took webspace in the webserver and from the client system i have to upload my Application please help me.
    Thanks
    Ramesh Nagu

  • How to run a Java project in NWDS...

    Hi All,
    First of all , i dont know if i am writing in the right forum for this question.
    I am new in NWDS.
    My question is, how can i run my java project in NWDS without  having any portal available (we had some problems running projects in EP 2004 and so we will install a new version EP 2004s )?
    Thank you!
    Regard,
    Ari

    Hi Lohi,
    Thank you for your help.
    Yes i am creating Ear file by using the Java programs with NWDS .
    You mean to deploy mannualy with SDM inside my server?
    How can i than, utilize that into IE?
    Can i run ear without using EP.
    Sometimes i want to run my project in my house where i dont have acess in any SDM or everything else.
    Can you give me please more step by step instruction because i am new with these technologies.
    Thank you ,
    Ari

  • How to connect java project to sql server 2008 r2 database

    i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql server 2008 r2 installed on my system.please
    suggest me the step by step procedure to establish the connection

    Hi ENG,
    To establish a connection to SQL Server from a Java project, you have to download the JDBC driver for SQL Server from
    here.
    After extracting the jar files(like sqljdbc.jar) from the above link, add the driver to the netbeansIDE.
    Test establishing a connection with the below Java Class.
    import java.sql.*;
    public class Test {
    public static void main(String[] srg) {
    String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //load the jdbc driver
    String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=test"; //connection string to the db hosted on localhost
    String userName = "sa"; //user name
    String userPwd = "123456"; //password
    Connection dbConn;
    try {
    Class.forName(driverName);
    dbConn = DriverManager.getConnection(dbURL, userName, userPwd);
    System.out.println("Connection Successful!"); //print Connection Successful! if connection establishes
    } catch (Exception e) {
    e.printStackTrace();
    A demonstration video from Youtube for you reference.
    Connect NetBeans Project with Microsoft SQL Server 2008 - YouTube
    Since this is a question regarding Java, I suggest you post your subsequent questions to a java dedicated forum. It is appropriate and more experts will assist you.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Unable to resolve "Missing Required java Project : com.sap.dictionary"

    HI ,
      Iam praveen , working on web dynpro's , I imported a project template and repaired it and all the .jar files are included in the project . But still am getting some errors like the below...
    Error               Missing required Java project: com.sap.dictionary.services.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: com.tssap.sap.libs.logging.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: com.tssap.sap.libs.xmltoolkit.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: org.eclipse.core.resources.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: org.eclipse.ui.     com.sap.dictionary.runtime          Build path
    Error               The project was not built due to classpath errors (incomplete or involved in cycle).     com.sap.dictionary.runtime          
    can anyone help me in resolving these problems, i have been trying to resolve this problem , but failed. send me solution if any one can solve it
    -Praveen

    Hi praveen,
    your project refers to a dictionary that you haven't in the project. Besides, right click on the WD project and check all the external references to others projects. You must open the external projects pointed by your WD.
    Hope this help you,
    Vito

  • Mapping Workbench Java Project Export Exception

    Hello,
    We're using TopLink Workbench 9.0.4.1 build 040128
    We are experiencing exceptions when we try to export our Mapping Workbench Project as a java project file. (We have never had this problem before).
    I fear we may have somehow corrupted the TopLink mapping project file(s) when we were last editing them. We can open the project file and all mappings and tables look clean. However, when we try to export the java project file we get an exception (see the stack trace below).
    Is there any way to recover our project file? We had made a lot of changes before noticing the problem with the java project generation. It would be a lot of work to go back to our last good back-up copy and apply the updates all over again.
    Here's the stack trace from the Workbench when trying to export the java project file:
    java.lang.NullPointerException
         at oracle.toplink.workbench.persistence.MWProjectToRuntimeProjectConverter.convertAggregatePathToFieldIntoTranslationDictionaries(MWProjectToRuntimeProjectConverter.java:189)
         at oracle.toplink.workbench.persistence.MWProjectToRuntimeProjectConverter.convertMappings(MWProjectToRuntimeProjectConverter.java:715)
         at oracle.toplink.workbench.persistence.MWProjectToRuntimeProjectConverter.convert(MWProjectToRuntimeProjectConverter.java:74)
         at oracle.toplink.workbench.model.MWProject.exportJavaSource(MWProject.java:885)
         at oracle.toplink.workbench.model.MWProject.exportJavaSource(MWProject.java:848)
         at oracle.toplink.workbench.ui.ProjectSourceGenerationCoordinator.exportProjectSource(ProjectSourceGenerationCoordinator.java:162)
         at oracle.toplink.workbench.ui.MainView.exportSelectedProjectsToJavaSource(MainView.java:616)
         at oracle.toplink.workbench.ui.ActionManager$50.actionPerformed(ActionManager.java:1395)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Are there many aggregate mappings in your project? Or do you know of any aggregate mappings or mappings in aggregate descriptors that have changed since you last exported your java source successfully. It appears that something in an aggregate mapping has become corrupted and I'm just wondering if you can narrow down where the problem might have occured. If this is possible, then try remapping those aggregate mappings and then generating the java source again.
    If it is not possible or this does not solve the problem, you will need to send this project and the class files in to support.
    Thanks,
    Karen Moore

Maybe you are looking for

  • FAQ: Will my Elements 11 software be able to automatically sync and back up files to Revel?

    Q: Will my Elements software be able to automatically sync and back up files to Revel? A: Revel offers easy publishing from Elements to the iOS platform and the web. We look forward to adding more automated features in the future. Elements 11 is inte

  • TV Series Pages cause iTunes 10.4.1 to crash

    Whenever I connect to a TV Series page with more than 18 episodes in the iTunes store, iTunes 10.4.1 crashes without any error messages. Anyone seen this issue? I can duplicate the issue repeated using the any season of the TV Series "Bones", as well

  • Files/Clips from old iDVD image files

    I am an underwater photographer and I have a number of older projects that I created in FCP/iDVD. I have the iDVD image files, but not the original MOV files, as they were huge and were deleted to save space. I would like to create a compilation DVD

  • Help interpreting tkprof output

    in the index range scan I only get 13,000 physical reads, but in the total I get 66,500. Why such a big difference. This comes from a function that is called in the where clause of a query(I know its bad, I didn't write it and I have to improve it or

  • Variable based on attributes of another variable (using Exit & CMOD)

    Hello, Another coding question (while I get the previous one to work!) I have a query with amongst others, 2 variables. one is a require year variable in the query only ZREQYEAR another is a module ZMODULE ZMODULE have two attributes    Year of start